projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c6396d
)
FIX validate for PPC Mac OS X - Linker.c
author
Thorkil Naur
<naur@post11.tele.dk>
Fri, 5 Oct 2007 14:49:08 +0000
(14:49 +0000)
committer
Thorkil Naur
<naur@post11.tele.dk>
Fri, 5 Oct 2007 14:49:08 +0000
(14:49 +0000)
rts/Linker.c
patch
|
blob
|
history
diff --git
a/rts/Linker.c
b/rts/Linker.c
index
913afe3
..
496922a
100644
(file)
--- 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,