summaryrefslogtreecommitdiff
path: root/cgaas.c
diff options
context:
space:
mode:
Diffstat (limited to 'cgaas.c')
-rw-r--r--cgaas.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgaas.c b/cgaas.c
index e1fe2ca..9469e98 100644
--- a/cgaas.c
+++ b/cgaas.c
@@ -8196,7 +8196,7 @@ void assemble_code (void)
#endif
#ifdef G_MACH_O64
- data_section_begin = (code_buffer_offset+7) & -8;
+ data_section_begin = (code_buffer_offset+((1<<data_object_section_align_p2)-1)) & -(1<<data_object_section_align_p2);
#endif
relocate_code();