Prechádzať zdrojové kódy

- no longer pass "-read_only_relocs suppress" to the darwin linker when
compiling shared libraries as we no longer generate relocations in
read-only sections

git-svn-id: trunk@9323 -

Jonas Maebe 17 rokov pred
rodič
commit
d8d393e802
1 zmenil súbory, kde vykonal 0 pridanie a 7 odobranie
  1. 0 7
      compiler/systems/t_bsd.pas

+ 0 - 7
compiler/systems/t_bsd.pas

@@ -545,13 +545,6 @@ begin
         LinkRes.Add(')');
         LinkRes.Add(')');
       end;
       end;
    end;
    end;
-  { ignore the fact that our relocations are in non-writable sections, }
-  { will be fixed once we have pic support                             }
-  if isdll and IsDarwin Then
-    begin
-      LinkRes.Add('-read_only_relocs');
-      LinkRes.Add('suppress');
-    end;
 { Write and Close response }
 { Write and Close response }
   linkres.writetodisk;
   linkres.writetodisk;
   linkres.Free;
   linkres.Free;