mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 08:09:28 +02:00
- 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 -
This commit is contained in:
parent
f6e9d133ab
commit
d8d393e802
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user