Преглед изворни кода

* Fix compilation of sparc/cpuelf unit

git-svn-id: trunk@22209 -
pierre пре 13 година
родитељ
комит
926d39e604
1 измењених фајлова са 3 додато и 2 уклоњено
  1. 3 2
      compiler/sparc/cpuelf.pas

+ 3 - 2
compiler/sparc/cpuelf.pas

@@ -71,7 +71,7 @@ implementation
                                TElfAssemblerSparc
 ****************************************************************************}
 
-  constructor TElfAssembleri386.create(smart:boolean);
+  constructor TElfAssemblerSparc.create(smart:boolean);
     begin
       inherited Create(smart);
       CObjOutput:=TElfObjOutputSparc;
@@ -89,7 +89,8 @@ implementation
          idtxt  : 'ELF';
          asmbin : '';
          asmcmd : '';
-         supported_targets : [];
+         supported_targets : [system_sparc_linux, system_sparc_solaris,
+                              system_sparc_embedded];
 //            flags : [af_outputbinary,af_smartlink_sections];
          flags : [af_outputbinary,af_supports_dwarf];
          labelprefix : '.L';