From 2e5448c3ab5d8ae24ce49593780fdf6ca978d280 Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Mon, 15 Jul 2013 12:45:46 +0000 Subject: store pc relative offset instead of descriptor in code section for position independent code on 64 bit linux --- cgaas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cgaas.c') diff --git a/cgaas.c b/cgaas.c index 8396daf..9d8b7ca 100644 --- a/cgaas.c +++ b/cgaas.c @@ -4961,7 +4961,7 @@ static void write_code (void) store_l (0); #ifdef LINUX if (pic_flag) - store_pc_rel_got_label_in_code_section (block->block_descriptor); + store_relative_label_offset_in_code_section (block->block_descriptor); else #endif store_label_in_code_section (block->block_descriptor); @@ -4972,7 +4972,7 @@ static void write_code (void) store_l (0); #ifdef LINUX if (pic_flag) - store_pc_rel_got_label_in_code_section (block->block_descriptor); + store_relative_label_offset_in_code_section (block->block_descriptor); else #endif store_label_in_code_section (block->block_descriptor); -- cgit v1.2.3