Bladeren bron

morphos: in SDK 3.14, the binutils is finally upgraded to 2.32 (from 2.9.1), which makes section smartlinking working with binutils, and also has finally properly working stabs relocations for lineinfo, etc. so it's the default again both cross and native compilations

git-svn-id: trunk@43313 -
Károly Balogh 5 jaren geleden
bovenliggende
commit
421b06affe
2 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen
  1. 1 1
      compiler/options.pas
  2. 2 2
      compiler/systems/i_morph.pas

+ 1 - 1
compiler/options.pas

@@ -3307,7 +3307,7 @@ begin
 {$if defined(atari) or defined(hasamiga)}
 {$if defined(atari) or defined(hasamiga)}
    { enable vlink as default linker on Atari, Amiga, and MorphOS, but not for cross compilers (for now) }
    { enable vlink as default linker on Atari, Amiga, and MorphOS, but not for cross compilers (for now) }
    if (target_info.system in [system_m68k_amiga,system_m68k_atari,
    if (target_info.system in [system_m68k_amiga,system_m68k_atari,
-                              system_powerpc_amiga,system_powerpc_morphos]) and
+                              system_powerpc_amiga]) and
       not LinkerSetExplicitly then
       not LinkerSetExplicitly then
      include(init_settings.globalswitches,cs_link_vlink);
      include(init_settings.globalswitches,cs_link_vlink);
 {$endif}
 {$endif}

+ 2 - 2
compiler/systems/i_morph.pas

@@ -62,8 +62,8 @@ unit i_morph;
             Cprefix      : '';
             Cprefix      : '';
             newline      : #10;
             newline      : #10;
             dirsep       : '/';
             dirsep       : '/';
-            assem        : as_powerpc_gas_legacy;
-            assemextern  : as_powerpc_gas_legacy;
+            assem        : as_gas;
+            assemextern  : as_gas;
             link         : ld_none;
             link         : ld_none;
             linkextern   : ld_morphos;
             linkextern   : ld_morphos;
             ar           : ar_gnu_ar;
             ar           : ar_gnu_ar;