summaryrefslogtreecommitdiff
path: root/cgaas.c
diff options
context:
space:
mode:
authorJohn van Groningen2013-08-07 13:24:47 +0000
committerJohn van Groningen2013-08-07 13:24:47 +0000
commita3a802d4504efd66c3cf3d9a354f6f6bf838c33d (patch)
tree659ed18c123b3e3254862bbe6710143a050c7a73 /cgaas.c
parentuse 64 instead of 32 bit address in indirect call for position independent co... (diff)
don't subtract 4 from offset of PC_RELATIVE_LONG_WORD_RELOCATION for position independent 64 bit linux code
Diffstat (limited to 'cgaas.c')
-rw-r--r--cgaas.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cgaas.c b/cgaas.c
index b87e812..2806837 100644
--- a/cgaas.c
+++ b/cgaas.c
@@ -6542,8 +6542,6 @@ static void relocate_code (void)
{
instruction_offset=relocation->relocation_offset;
v=label->label_offset;
-
- v -= 4;
# ifdef FUNCTION_LEVEL_LINKING
v -= label->label_object_label->object_label_offset;
@@ -6697,7 +6695,6 @@ static void relocate_data (void)
int v;
v = label->label_offset;
- v -= 4;
# ifdef FUNCTION_LEVEL_LINKING
v -= label->label_object_label->object_label_offset;
# endif