diff options
author | John van Groningen | 2013-07-23 12:50:12 +0000 |
---|---|---|
committer | John van Groningen | 2013-07-23 12:50:12 +0000 |
commit | 956f841e99e7e5dacc325a50be9b8185db83cc20 (patch) | |
tree | a04b8b727957f376552fefb36082cb5c0633bf50 | |
parent | store offset instead of address of module string, for position independent co... (diff) |
store offset instead of address of module string, for position independent code on 64 bit linux
-rw-r--r-- | cgaas.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -7,6 +7,9 @@ void store_word_in_data_section (UWORD i); void store_long_word_in_data_section (ULONG i); void define_data_label (LABEL *label); void store_label_in_data_section (LABEL *label); +#if defined (MACH_O64) || defined (LINUX) +void store_label_offset_in_data_section (LABEL *label); +#endif void store_label_offset_in_data_section (int label_id); void store_descriptor_in_data_section (LABEL *label); void store_descriptor_in_code_section (int label_id); |