From 88e826b117436db5a4c52fb0b211d7a665b63b8d Mon Sep 17 00:00:00 2001 From: John van Groningen Date: Mon, 30 May 2016 13:14:25 +0000 Subject: set default alignment of data segment to 8 instead of 4 --- cgaas.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cgaas.c') 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); -- cgit v1.2.3