diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-11-13 17:58:52 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-11-13 18:14:59 +0000 |
commit | 9756690fe7aa26aee6955d0b720377d53170c542 (patch) | |
tree | 8de7207c87af86c9cab385edb306a22916c381fd /aclocal.m4 | |
parent | 958faee6f3069c349a2a60a925679249a6dc9475 (diff) | |
download | haskell-9756690fe7aa26aee6955d0b720377d53170c542.tar.gz |
Tell the compiler about alpha, mipseb and mipsel again; fixes #7339
This reverts the compiler parts of
commit 7b594a5d7ac29972db39228e9c8b7f384313f39b
Author: David Terei <davidterei@gmail.com>
Date: Mon Nov 21 12:05:18 2011 -0800
Remove registerised code for dead architectures: mips, ia64, alpha,
hppa1, m68k
In particular, we want to know whether bewareLoadStoreAlignment should
return True or False for them.
It also reverts
commit 3fc68b5c356b39b2b52a86d953367d0021c13262
Author: Simon Marlow <marlowsd@gmail.com>
Date: Wed Jan 4 11:44:02 2012 +0000
Remove missing archs (mipseb, mipsel, alpha) (#5734)
It doesn't hurt to map these to ArchUnknown since we don't need to
know anything specific about them, and adding them would be a pain
(there are a bunch of places where we have to case-match on all the
arches to avoid warnings).
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4 index 722abcd775..6ccddda35c 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -173,7 +173,16 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS], GET_ARM_ISA() test -z "[$]2" || eval "[$]2=\"ArchARM {armISA = \$ARM_ISA, armISAExt = \$ARM_ISA_EXT, armABI = \$ARM_ABI}\"" ;; - alpha|mips|mipseb|mipsel|hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sparc64|vax) + alpha) + test -z "[$]2" || eval "[$]2=ArchAlpha" + ;; + mips|mipseb) + test -z "[$]2" || eval "[$]2=ArchMipseb" + ;; + mipsel) + test -z "[$]2" || eval "[$]2=ArchMipsel" + ;; + hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sparc64|vax) test -z "[$]2" || eval "[$]2=ArchUnknown" ;; *) |