Browse Source

* mips-linux: Enabled tf_safecall_exceptions (it just works, no reason to keep disabled) and also tf_pic_uses_got (so that checks elsewhere in compiler set pi_needs_got flag; actual functionality is not changed because currently MIPS just forces pi_needs_got unconditionally).

git-svn-id: trunk@29360 -
sergei 10 years ago
parent
commit
da8346079f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/systems/i_linux.pas

+ 2 - 2
compiler/systems/i_linux.pas

@@ -817,7 +817,7 @@ unit i_linux;
             name         : 'Linux for MIPSEB';
             name         : 'Linux for MIPSEB';
             shortname    : 'Linux';
             shortname    : 'Linux';
             flags        : [tf_needs_symbol_size,tf_needs_symbol_type,tf_files_case_sensitive,
             flags        : [tf_needs_symbol_size,tf_needs_symbol_type,tf_files_case_sensitive,
-                            tf_requires_proper_alignment,
+                            tf_requires_proper_alignment,tf_pic_uses_got,tf_safecall_exceptions,
                             tf_smartlink_sections,tf_smartlink_library,tf_has_winlike_resources];
                             tf_smartlink_sections,tf_smartlink_library,tf_has_winlike_resources];
             cpu          : cpu_mipseb;
             cpu          : cpu_mipseb;
             unit_env     : 'LINUXUNITS';
             unit_env     : 'LINUXUNITS';
@@ -882,7 +882,7 @@ unit i_linux;
             name         : 'Linux for MIPSEL';
             name         : 'Linux for MIPSEL';
             shortname    : 'Linux';
             shortname    : 'Linux';
             flags        : [tf_needs_symbol_size,tf_needs_symbol_type,tf_files_case_sensitive,
             flags        : [tf_needs_symbol_size,tf_needs_symbol_type,tf_files_case_sensitive,
-                            tf_requires_proper_alignment,
+                            tf_requires_proper_alignment,tf_pic_uses_got,tf_safecall_exceptions,
                             tf_smartlink_sections,tf_smartlink_library,tf_has_winlike_resources];
                             tf_smartlink_sections,tf_smartlink_library,tf_has_winlike_resources];
             cpu          : cpu_mipsel;
             cpu          : cpu_mipsel;
             unit_env     : 'LINUXUNITS';
             unit_env     : 'LINUXUNITS';