From a3a802d4504efd66c3cf3d9a354f6f6bf838c33d Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Wed, 7 Aug 2013 13:24:47 +0000 Subject: don't subtract 4 from offset of PC_RELATIVE_LONG_WORD_RELOCATION for position independent 64 bit linux code --- cgaas.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'cgaas.c') 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 -- cgit v1.2.3