summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-05-27 15:35:03 +0200
committerPaolo Capriotti <p.capriotti@gmail.com>2012-06-09 17:32:20 +0100
commitb3dd20721470d5f2e0b5fec795dbe31e01d2cdcd (patch)
tree117f3d7e27511d9960f3cefa19ca0e09d12413ea
parentdff06f8e0ec0cd7a7d88e4d0f114661cfca95b81 (diff)
downloadhaskell-b3dd20721470d5f2e0b5fec795dbe31e01d2cdcd.tar.gz
Don't use 64-bit support functions on MIPS N32.
It uses native 64-bit instructions instead of these, despite having 32-bit pointers.
-rw-r--r--rts/Linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Linker.c b/rts/Linker.c
index d7ab54e76b..de9d5ce244 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -1290,7 +1290,7 @@ typedef struct _RtsSymbolVal {
// 64-bit support functions in libgcc.a
-#if defined(__GNUC__) && SIZEOF_VOID_P <= 4
+#if defined(__GNUC__) && SIZEOF_VOID_P <= 4 && !defined(_ABIN32)
#define RTS_LIBGCC_SYMBOLS \
SymI_NeedsProto(__divdi3) \
SymI_NeedsProto(__udivdi3) \