summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn van Groningen2013-07-23 12:50:12 +0000
committerJohn van Groningen2013-07-23 12:50:12 +0000
commit956f841e99e7e5dacc325a50be9b8185db83cc20 (patch)
treea04b8b727957f376552fefb36082cb5c0633bf50
parentstore 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgaas.h b/cgaas.h
index d9631fc..e2077c2 100644
--- a/cgaas.h
+++ b/cgaas.h
@@ -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);