Ver código fonte

- remove sectiontype2options overload for mach-O, because the relevant sections have the correct flags in the base method already

git-svn-id: trunk@44925 -
svenbarth 5 anos atrás
pai
commit
0cc592e9ee
1 arquivos alterados com 0 adições e 12 exclusões
  1. 0 12
      compiler/ogmacho.pas

+ 0 - 12
compiler/ogmacho.pas

@@ -75,7 +75,6 @@ type
         procedure CreateDebugSections; override;
         function sectionname(atype:TAsmSectiontype; const aname:string; aorder:TAsmSectionOrder):string;override;
         function sectiontype2align(atype:TAsmSectiontype):longint;override;
-        class function sectiontype2options(atype:TAsmSectiontype):TObjSectionOptions;override;
         procedure writereloc(data:aint; len:aword; p:TObjSymbol; reltype:TObjRelocationType);override;
       public
       end;
@@ -344,17 +343,6 @@ uses
     end;
 
 
-  class function TmachoObjData.sectiontype2options(atype: TAsmSectiontype): TObjSectionOptions;
-    begin
-      case atype of
-        sec_objc_meth_var_names,
-        sec_objc_class_names: Result:=[oso_data, oso_load];
-      else
-        Result:=inherited sectiontype2options(atype);
-      end
-    end;
-
-
   { TMachoAssembler }
 
   constructor TMachoAssembler.create(info: pasminfo; smart: boolean);