summaryrefslogtreecommitdiff
path: root/cgcode.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgcode.c')
-rw-r--r--cgcode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/cgcode.c b/cgcode.c
index be2316e..b5065f1 100644
--- a/cgcode.c
+++ b/cgcode.c
@@ -9644,7 +9644,11 @@ static void code_record_descriptor (LABEL *label,int string_code_label_id,char t
#endif
#ifdef GEN_OBJ
+# ifdef MACH_O64
+ store_label_offset_in_data_section (string_label);
+# else
store_label_in_data_section (string_label);
+# endif
#endif
if (assembly_flag)
#ifdef MACH_O64