summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2020-09-24 04:00:45 +0000
committerMoritz Angermann <moritz.angermann@gmail.com>2020-09-24 04:00:45 +0000
commit95713a6ecce4551240da7c96b6176f980af75cae (patch)
treed3912b3b3a63aff433edbd102af7e0d0e9cf287c
parentb21bb6931f3650d48a64d5bdb12b82a102106904 (diff)
downloadhaskell-wip/angerman/ghc-8.6.5-iohk.tar.gz
fixup! [linker/rtsSymbols] More linker symbolswip/angerman/ghc-8.6.5-iohk
-rw-r--r--rts/Linker.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index 14010a1ebb..8650654877 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -1056,13 +1056,11 @@ mmapForLinker (size_t bytes, uint32_t prot, uint32_t flags, int fd, int offset)
IF_DEBUG(linker, debugBelch("mmapForLinker: start\n"));
size = roundUpToPage(bytes);
-#if !defined(ALWAYS_PIC) && defined(x86_64_HOST_ARCH)
mmap_again:
if (mmap_32bit_base != 0) {
map_addr = mmap_32bit_base;
}
-#endif
IF_DEBUG(linker,
debugBelch("mmapForLinker: \tprotection %#0x\n",