From 2f76e868a7aa887c38a30adb32f4139802f24445 Mon Sep 17 00:00:00 2001 From: Thorkil Naur Date: Fri, 5 Oct 2007 14:49:08 +0000 Subject: [PATCH] FIX validate for PPC Mac OS X - Linker.c --- rts/Linker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 1.7.10.4