Explorar o código

- 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 %!s(int64=17) %!d(string=hai) anos
pai
achega
d8d393e802
Modificáronse 1 ficheiros con 0 adicións e 7 borrados
  1. 0 7
      compiler/systems/t_bsd.pas

+ 0 - 7
compiler/systems/t_bsd.pas

@@ -545,13 +545,6 @@ begin
         LinkRes.Add(')');
       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 }
   linkres.writetodisk;
   linkres.Free;