summaryrefslogtreecommitdiff
path: root/cgaas.c
diff options
context:
space:
mode:
authorJohn van Groningen2016-05-30 13:14:25 +0000
committerJohn van Groningen2016-05-30 13:14:25 +0000
commit88e826b117436db5a4c52fb0b211d7a665b63b8d (patch)
treeef10165ffb9ae148ec629cf13f4354a81621c422 /cgaas.c
parentfix previous commit: (diff)
set default alignment of data segment to 8 instead of 4
Diffstat (limited to 'cgaas.c')
-rw-r--r--cgaas.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/cgaas.c b/cgaas.c
index 9d233c2..e1fe2ca 100644
--- a/cgaas.c
+++ b/cgaas.c
@@ -381,7 +381,7 @@ void initialize_assembler (FILE *output_file_d)
#endif
#ifdef G_MACH_O64
- data_object_section_align_p2=2;
+ data_object_section_align_p2=3;
#endif
}
@@ -3999,8 +3999,6 @@ static void as_f_i (int code1,int code2,DOUBLE *r_p,int d_freg)
data_object_label->object_section_align_p2=3;
if ((data_buffer_p-current_data_buffer->data-data_object_label->object_label_offset) & 4)
#else
- if (data_object_section_align_p2<3)
- data_object_section_align_p2=3;
if ((data_buffer_p-current_data_buffer->data) & 4)
#endif
store_long_word_in_data_section (0);