From 8887102fc4ed8ed1089c1aafd19bab424ad706f3 Mon Sep 17 00:00:00 2001 From: Moritz Angermann Date: Fri, 13 Nov 2020 02:51:54 +0000 Subject: AArch64/arm64 adjustments This addes the necessary logic to support aarch64 on elf, as well as aarch64 on mach-o, which Apple calls arm64. We change architecture name to AArch64, which is the official arm naming scheme. --- compiler/GHC/CmmToC.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/GHC/CmmToC.hs') diff --git a/compiler/GHC/CmmToC.hs b/compiler/GHC/CmmToC.hs index 0da229130b..d1f722febd 100644 --- a/compiler/GHC/CmmToC.hs +++ b/compiler/GHC/CmmToC.hs @@ -1158,7 +1158,7 @@ cLoad platform expr rep bewareLoadStoreAlignment ArchMipseb = True bewareLoadStoreAlignment ArchMipsel = True bewareLoadStoreAlignment (ArchARM {}) = True - bewareLoadStoreAlignment ArchARM64 = True + bewareLoadStoreAlignment ArchAArch64 = True bewareLoadStoreAlignment ArchSPARC = True bewareLoadStoreAlignment ArchSPARC64 = True -- Pessimistically assume that they will also cause problems -- cgit v1.2.1