Browse Source

* Use ELF assembler for i386/Solaris target

git-svn-id: trunk@14208 -
pierre 15 năm trước cách đây
mục cha
commit
791c165af9
2 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 2 1
      compiler/ogelf.pas
  2. 1 1
      compiler/systems/i_sunos.pas

+ 2 - 1
compiler/ogelf.pas

@@ -1203,7 +1203,8 @@ implementation
             idtxt  : 'ELF';
             asmbin : '';
             asmcmd : '';
-            supported_targets : [system_i386_linux,system_i386_beos,system_i386_freebsd,system_i386_haiku,system_i386_Netware,system_i386_netwlibc];
+            supported_targets : [system_i386_linux,system_i386_beos,system_i386_freebsd,system_i386_haiku,system_i386_Netware,system_i386_netwlibc,
+	    system_i386_solaris];
             flags : [af_outputbinary,af_smartlink_sections,af_supports_dwarf];
             labelprefix : '.L';
             comment : '';

+ 1 - 1
compiler/systems/i_sunos.pas

@@ -61,7 +61,7 @@ unit i_sunos;
             Cprefix      : '';
             newline      : #10;
             dirsep       : '/';
-            assem        : as_ggas;
+            assem        : as_i386_elf32;
             assemextern  : as_ggas;
             link         : nil;
             linkextern   : nil;