diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-01-30 08:45:49 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-02-01 12:29:26 -0500 |
commit | 88fba8a4b3c22e953a634b81dd0b67ec66eb5e72 (patch) | |
tree | 75a46332ad32cfeaf4f4d52b3b60fd452f2493b6 /rts/linker/PEi386.c | |
parent | 06185102bb06d6d56e00d40172a6a473fc228501 (diff) | |
download | haskell-88fba8a4b3c22e953a634b81dd0b67ec66eb5e72.tar.gz |
Fix a few Note inconsistencies
Diffstat (limited to 'rts/linker/PEi386.c')
-rw-r--r-- | rts/linker/PEi386.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/rts/linker/PEi386.c b/rts/linker/PEi386.c index f186da0af8..011e47a21b 100644 --- a/rts/linker/PEi386.c +++ b/rts/linker/PEi386.c @@ -59,7 +59,6 @@ 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 Import Address Table (IAT) also allows exports by ordinal number @@ -128,7 +127,6 @@ Note [Memory allocation] ~~~~~~~~~~~~~~~~~~~~~~~~ - Previously on Windows we would use VirtualAlloc to allocate enough space for loading the entire object file into memory and keep it there for the duration until the entire object file has been unloaded. @@ -166,7 +164,6 @@ Note [Section alignment] ~~~~~~~~~~~~~~~~~~~~~~~~ - The Windows linker aligns memory to it's section alignment requirement by aligning it during the copying to the private heap. We also ensure that the trampoline "region" we reserve is 8 bytes aligned. @@ -1996,7 +1993,7 @@ ocResolve_PEi386 ( ObjectCode* oc ) /* Note [ELF constant in PE file] - + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ For some reason, the PE files produced by GHC contain a linux relocation constant 17 (0x11) in the object files. As far as I (Phyx-) can tell this constant doesn't seem like it's coming from GHC, or at least I could not find |