diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2017-08-24 12:48:31 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-08-25 17:23:48 -0400 |
commit | 80ccea855569e1e296829989f892f4a01c8543c5 (patch) | |
tree | 900ad73f1388fcd41ef3ece1ae7e8628ca3d6184 /rts | |
parent | f135fb2ae31462d7451e304bbc06cfbb6c2566ea (diff) | |
download | haskell-80ccea855569e1e296829989f892f4a01c8543c5.tar.gz |
rts: Fix references to Note [BFD import library]
Reviewers: austin, erikd, simonmar
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3884
Diffstat (limited to 'rts')
-rw-r--r-- | rts/LinkerInternals.h | 2 | ||||
-rw-r--r-- | rts/RtsSymbolInfo.h | 2 | ||||
-rw-r--r-- | rts/linker/PEi386.c | 1 |
3 files changed, 3 insertions, 2 deletions
diff --git a/rts/LinkerInternals.h b/rts/LinkerInternals.h index 05fa7701d5..2e8491789d 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 9873ff3481..08f14a54c5 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 011b0a8314..37d58afb59 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 |