mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-06 22:06:01 +02:00
amiga: use -mtype vlink argument instead of -sc -sd when doing section gc. this prevents merging the bss section into the data section and is more compatible with pre-v2.0 OS versions. needs vlink 0.16b or newer
git-svn-id: trunk@44559 -
This commit is contained in:
parent
96a368fdf9
commit
3509d277d0
@ -361,7 +361,7 @@ begin
|
|||||||
if UseVLink then
|
if UseVLink then
|
||||||
begin
|
begin
|
||||||
if create_smartlink_sections then
|
if create_smartlink_sections then
|
||||||
GCSectionsStr:='-gc-all -sc -sd';
|
GCSectionsStr:='-gc-all -mtype';
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ Call linker }
|
{ Call linker }
|
||||||
|
Loading…
Reference in New Issue
Block a user