Browse Source

--- Merging r14208 into '.':
U compiler/ogelf.pas
U compiler/systems/i_sunos.pas

# revisions: 14208
------------------------------------------------------------------------
r14208 | pierre | 2009-11-18 11:50:11 +0100 (Wed, 18 Nov 2009) | 1 line
Changed paths:
M /trunk/compiler/ogelf.pas
M /trunk/compiler/systems/i_sunos.pas

* Use ELF assembler for i386/Solaris target
------------------------------------------------------------------------

git-svn-id: branches/fixes_2_4@14729 -

marco 15 years ago
parent
commit
6abb2bf28e
2 changed files with 3 additions and 2 deletions
  1. 2 1
      compiler/ogelf.pas
  2. 1 1
      compiler/systems/i_sunos.pas

+ 2 - 1
compiler/ogelf.pas

@@ -1127,7 +1127,8 @@ implementation
             idtxt  : 'ELF';
             idtxt  : 'ELF';
             asmbin : '';
             asmbin : '';
             asmcmd : '';
             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];
             flags : [af_outputbinary,af_smartlink_sections,af_supports_dwarf];
             labelprefix : '.L';
             labelprefix : '.L';
             comment : '';
             comment : '';

+ 1 - 1
compiler/systems/i_sunos.pas

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