diff options
author | Ian Lynagh <igloo@earth.li> | 2011-10-19 21:49:26 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-10-19 21:49:26 +0100 |
commit | bc876206b80f060ad1bbbaa681d1171d1980cdfc (patch) | |
tree | 32f4bf6615260cf5ce940468474ae0520859cd58 /compiler/utils | |
parent | 7dd60dddc194cd2f32d3685f396e8d09fcb2ce42 (diff) | |
download | haskell-bc876206b80f060ad1bbbaa681d1171d1980cdfc.tar.gz |
A little more CPP removal
Diffstat (limited to 'compiler/utils')
-rw-r--r-- | compiler/utils/Platform.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/utils/Platform.hs b/compiler/utils/Platform.hs index e99d70600f..2d38971fed 100644 --- a/compiler/utils/Platform.hs +++ b/compiler/utils/Platform.hs @@ -42,6 +42,9 @@ data Arch | ArchARM { armISA :: ArmISA , armISAExt :: [ArmISAExt] } + | ArchAlpha + | ArchMipseb + | ArchMipsel deriving (Read, Show, Eq) @@ -83,6 +86,9 @@ target32Bit p = case platformArch p of ArchPPC_64 -> False ArchSPARC -> True ArchARM _ _ -> True + ArchMipseb -> True + ArchMipsel -> True + ArchAlpha -> False -- | This predicates tells us whether the OS supports ELF-like shared libraries. |