summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rts/LinkerInternals.h2
-rw-r--r--rts/RtsSymbolInfo.h2
-rw-r--r--rts/linker/PEi386.c1
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