diff options
author | John van Groningen | 2013-07-31 12:00:03 +0000 |
---|---|---|
committer | John van Groningen | 2013-07-31 12:00:03 +0000 |
commit | 5a754c103953dcbfb06ec0c65bb09fae3ba89796 (patch) | |
tree | 357978f33b3c355a57c1d2bd462c2426ab9c738c /cgaas.c | |
parent | use 64 bit code addresses in descriptors, for position independent code on linux (diff) |
don't use 12 bytes to store an 8 byte descriptor when generating position independent code on linux
Diffstat (limited to 'cgaas.c')
-rw-r--r-- | cgaas.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2341,7 +2341,13 @@ void store_label_offset_in_data_section (LABEL *label) void store_descriptor_in_data_section (LABEL *label) { store_label_plus_offset_in_data_section (label,2); + +#ifndef MACH_O64 +# ifdef LINUX + if (!pic_flag) +# endif store_long_word_in_data_section (0); +#endif } static void as_branch_label (struct label *label,int relocation_kind) |