summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn van Groningen2013-08-08 11:25:59 +0000
committerJohn van Groningen2013-08-08 11:25:59 +0000
commit5f9330a3a2220707518dda9b66ac290e9506c163 (patch)
tree1a28cef489a75dc528b9d282908cd71e873a3d2e
parentfor the PC_RELATIVE_LONG_WORD_RELOCATION, (diff)
use offset 0 instead of -4 of PC_RELATIVE_LONG_WORD_RELOCATION
-rw-r--r--cgaas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgaas.c b/cgaas.c
index 653b952..f1ef694 100644
--- a/cgaas.c
+++ b/cgaas.c
@@ -6573,7 +6573,7 @@ static void relocate_code (void)
# endif
} else {
instruction_offset=relocation->relocation_offset;
- v= -4;
+ v=0;
# ifdef ELF_RELA
relocation->relocation_addend+=v;
continue;