Commit 80ccea85 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari
Browse files

rts: Fix references to Note [BFD import library]

Reviewers: austin, erikd, simonmar

Subscribers: rwbarton, thomie

Differential Revision: https://phabricator.haskell.org/D3884
parent f135fb2a
...@@ -32,7 +32,7 @@ typedef enum { ...@@ -32,7 +32,7 @@ typedef enum {
/* Indication of section kinds for loaded objects. Needed by /* Indication of section kinds for loaded objects. Needed by
the GC for deciding whether or not a pointer on the stack the GC for deciding whether or not a pointer on the stack
is a code pointer. is a code pointer.
See Note [BFD import libraries]. See Note [BFD import library].
*/ */
typedef typedef
enum { /* Section is code or readonly. e.g. .text or .r(o)data. */ enum { /* Section is code or readonly. e.g. .text or .r(o)data. */
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include "LinkerInternals.h" #include "LinkerInternals.h"
#include <stdbool.h> #include <stdbool.h>
/* See Note [BFD Import libraries]. */ /* See Note [BFD Import library]. */
typedef enum _SymbolKind { typedef enum _SymbolKind {
KIND_NORMAL = 0x01, KIND_NORMAL = 0x01,
KIND_WEAK = 0x02, KIND_WEAK = 0x02,
......
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
tools. See note below. tools. See note below.
Note [BFD import library] Note [BFD import library]
~~~~~~~~~~~~~~~~~~~~~~~~~
On Windows, compilers don't link directly to dynamic libraries. On Windows, compilers don't link directly to dynamic libraries.
The reason for this is that the exports are not always by symbol, the The reason for this is that the exports are not always by symbol, the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment