From: Thorkil Naur Date: Fri, 5 Oct 2007 14:49:08 +0000 (+0000) Subject: FIX validate for PPC Mac OS X - Linker.c X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=2f76e868a7aa887c38a30adb32f4139802f24445 FIX validate for PPC Mac OS X - Linker.c --- diff --git a/rts/Linker.c b/rts/Linker.c index 913afe3..496922a 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,