summaryrefslogtreecommitdiff
path: root/libraries/ghc-boot/GHC/Platform.hs
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ghc-boot/GHC/Platform.hs')
-rw-r--r--libraries/ghc-boot/GHC/Platform.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/ghc-boot/GHC/Platform.hs b/libraries/ghc-boot/GHC/Platform.hs
index 8e4ae5f4b9..341b551fc5 100644
--- a/libraries/ghc-boot/GHC/Platform.hs
+++ b/libraries/ghc-boot/GHC/Platform.hs
@@ -106,6 +106,7 @@ data Arch
| ArchPPC_64
{ ppc_64ABI :: PPC_64ABI
}
+ | ArchS390X
| ArchSPARC
| ArchSPARC64
| ArchARM
@@ -145,6 +146,7 @@ stringEncodeArch = \case
ArchPPC_64 { ppc_64ABI = abi } -> case abi of
ELF_V1 -> "powerpc64"
ELF_V2 -> "powerpc64le"
+ ArchS390X -> "s390x"
ArchSPARC -> "sparc"
ArchSPARC64 -> "sparc64"
ArchARM { armISA = isa, armISAExt = _, armABI = _ } -> "arm" ++ vsuf