소스 검색

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 년 전
부모
커밋
421b06affe
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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)}
    { 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,
-                              system_powerpc_amiga,system_powerpc_morphos]) and
+                              system_powerpc_amiga]) and
       not LinkerSetExplicitly then
      include(init_settings.globalswitches,cs_link_vlink);
 {$endif}

+ 2 - 2
compiler/systems/i_morph.pas

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