[Git][ghc/ghc][wip/angerman/out-of-range-reloc] Drop aarch64_target check from rts/Linker.c

Moritz Angermann gitlab at gitlab.haskell.org
Mon Jul 6 03:05:41 UTC 2020



Moritz Angermann pushed to branch wip/angerman/out-of-range-reloc at Glasgow Haskell Compiler / GHC


Commits:
b91af6d1 by Moritz Angermann at 2020-07-06T11:05:26+08:00
Drop aarch64_target check from rts/Linker.c

- - - - -


1 changed file:

- rts/Linker.c


Changes:

=====================================
rts/Linker.c
=====================================
@@ -188,7 +188,7 @@ int ocTryLoad( ObjectCode* oc );
  *
  * MAP_32BIT not available on OpenBSD/amd64
  */
-#if defined(MAP_32BIT) && (defined(x86_64_HOST_ARCH) || (defined(aarch64_TARGET_ARCH) || defined(aarch64_HOST_ARCH)))
+#if defined(MAP_32BIT) && (defined(x86_64_HOST_ARCH) || defined(aarch64_HOST_ARCH))
 #define MAP_LOW_MEM
 #define TRY_MAP_32BIT MAP_32BIT
 #else



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b91af6d1ae1e8cd27121b34430796aa298164ecf

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b91af6d1ae1e8cd27121b34430796aa298164ecf
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200705/3b4401a4/attachment.html>


More information about the ghc-commits mailing list