projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
makeSolvedByInst is only called on wanteds
[ghc-hetmet.git]
/
rts
/
Linker.c
diff --git
a/rts/Linker.c
b/rts/Linker.c
index
70aae3b
..
ee7a9c9
100644
(file)
--- a/
rts/Linker.c
+++ b/
rts/Linker.c
@@
-4690,9
+4690,7
@@
static int relocateSection(
}
else
{
}
else
{
- value = sections[reloc->r_symbolnum-1].offset
- - sections[reloc->r_symbolnum-1].addr
- + (uint64_t) image;
+ value = relocateAddress(oc, nSections, sections, reloc->r_address);
}
IF_DEBUG(linker, debugBelch("relocateSection: value = %p\n", (void *)value));
}
IF_DEBUG(linker, debugBelch("relocateSection: value = %p\n", (void *)value));