[commit: ghc] master: rts: Fix references to Note [BFD import library] (80ccea8)
git at git.haskell.org
git at git.haskell.org
Fri Aug 25 21:56:37 UTC 2017
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/80ccea855569e1e296829989f892f4a01c8543c5/ghc
>---------------------------------------------------------------
commit 80ccea855569e1e296829989f892f4a01c8543c5
Author: Ben Gamari <bgamari.foss at gmail.com>
Date: Thu Aug 24 12:48:31 2017 -0400
rts: Fix references to Note [BFD import library]
Reviewers: austin, erikd, simonmar
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3884
>---------------------------------------------------------------
80ccea855569e1e296829989f892f4a01c8543c5
rts/LinkerInternals.h | 2 +-
rts/RtsSymbolInfo.h | 2 +-
rts/linker/PEi386.c | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h
index 05fa770..2e84917 100644
--- a/rts/LinkerInternals.h
+++ b/rts/LinkerInternals.h
@@ -32,7 +32,7 @@ typedef enum {
/* Indication of section kinds for loaded objects. Needed by
the GC for deciding whether or not a pointer on the stack
is a code pointer.
- See Note [BFD import libraries].
+ See Note [BFD import library].
*/
typedef
enum { /* Section is code or readonly. e.g. .text or .r(o)data. */
diff --git a/rts/RtsSymbolInfo.h b/rts/RtsSymbolInfo.h
index 9873ff3..08f14a5 100644
--- a/rts/RtsSymbolInfo.h
+++ b/rts/RtsSymbolInfo.h
@@ -11,7 +11,7 @@
#include "LinkerInternals.h"
#include <stdbool.h>
-/* See Note [BFD Import libraries]. */
+/* See Note [BFD Import library]. */
typedef enum _SymbolKind {
KIND_NORMAL = 0x01,
KIND_WEAK = 0x02,
diff --git a/rts/linker/PEi386.c b/rts/linker/PEi386.c
index 011b0a8..37d58af 100644
--- a/rts/linker/PEi386.c
+++ b/rts/linker/PEi386.c
@@ -58,6 +58,7 @@
tools. See note below.
Note [BFD import library]
+ ~~~~~~~~~~~~~~~~~~~~~~~~~
On Windows, compilers don't link directly to dynamic libraries.
The reason for this is that the exports are not always by symbol, the
More information about the ghc-commits
mailing list