diff options
author | Thorkil Naur <naur@post11.tele.dk> | 2007-10-05 14:49:08 +0000 |
---|---|---|
committer | Thorkil Naur <naur@post11.tele.dk> | 2007-10-05 14:49:08 +0000 |
commit | 2f76e868a7aa887c38a30adb32f4139802f24445 (patch) | |
tree | 9c3b218737588965a11856ce9f942bed3e89fbee /rts/Linker.c | |
parent | 0c6396db699de40cf55493f52760d60876fc0826 (diff) | |
download | haskell-2f76e868a7aa887c38a30adb32f4139802f24445.tar.gz |
FIX validate for PPC Mac OS X - Linker.c
Diffstat (limited to 'rts/Linker.c')
-rw-r--r-- | rts/Linker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Linker.c b/rts/Linker.c index 913afe3387..496922a33c 100644 --- a/rts/Linker.c +++ b/rts/Linker.c @@ -4249,7 +4249,7 @@ static int relocateSection( #ifdef powerpc_HOST_ARCH // In the .o file, this should be a relative jump to NULL // and we'll change it to a relative jump to the symbol - ASSERT(-word == reloc->r_address); + ASSERT(word + reloc->r_address == 0); jumpIsland = (unsigned long) &makeSymbolExtra(oc, reloc->r_symbolnum, |