Browse Source

iphonesim target: requires proper alignment

Just like the native iOS targets

(cherry picked from commit 334cf9c19de59791448fc5ac70a8c19d33bbd94e)
Jonas Maebe 3 years ago
parent
commit
29d0a2a70a
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/systems/i_darwin.pas

+ 2 - 2
compiler/systems/i_darwin.pas

@@ -187,7 +187,7 @@ const
         name         : 'Darwin/iPhoneSim for i386';
         name         : 'Darwin/iPhoneSim for i386';
         shortname    : 'iPhoneSim';
         shortname    : 'iPhoneSim';
         flags        : [tf_p_ext_support,tf_files_case_sensitive,tf_smartlink_sections,tf_dwarf_relative_addresses,tf_dwarf_only_local_labels,
         flags        : [tf_p_ext_support,tf_files_case_sensitive,tf_smartlink_sections,tf_dwarf_relative_addresses,tf_dwarf_only_local_labels,
-                        tf_pic_uses_got,tf_pic_default,tf_has_winlike_resources,tf_use_hlcfi,tf_supports_symbolorderfile];
+                        tf_pic_uses_got,tf_pic_default,tf_has_winlike_resources,tf_use_hlcfi,tf_supports_symbolorderfile,tf_requires_proper_alignment];
         cpu          : cpu_i386;
         cpu          : cpu_i386;
         unit_env     : 'BSDUNITS';
         unit_env     : 'BSDUNITS';
         extradefines : 'UNIX;BSD;HASUNIX;DARWIN'; // also define darwin for code compatibility
         extradefines : 'UNIX;BSD;HASUNIX;DARWIN'; // also define darwin for code compatibility
@@ -384,7 +384,7 @@ const
         name         : 'Darwin/iPhoneSim for x86_64';
         name         : 'Darwin/iPhoneSim for x86_64';
         shortname    : 'iPhoneSim';
         shortname    : 'iPhoneSim';
         flags        : [tf_p_ext_support,tf_files_case_sensitive,tf_smartlink_sections,tf_dwarf_relative_addresses,tf_dwarf_only_local_labels,
         flags        : [tf_p_ext_support,tf_files_case_sensitive,tf_smartlink_sections,tf_dwarf_relative_addresses,tf_dwarf_only_local_labels,
-                        tf_pic_default,tf_has_winlike_resources,tf_use_hlcfi,tf_supports_symbolorderfile];
+                        tf_pic_default,tf_has_winlike_resources,tf_use_hlcfi,tf_supports_symbolorderfile,tf_requires_proper_alignment];
         cpu          : cpu_x86_64;
         cpu          : cpu_x86_64;
         unit_env     : 'BSDUNITS';
         unit_env     : 'BSDUNITS';
         extradefines : 'UNIX;BSD;HASUNIX;DARWIN'; // also define darwin for code compatibility
         extradefines : 'UNIX;BSD;HASUNIX;DARWIN'; // also define darwin for code compatibility