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:
Károly Balogh 2020-04-04 11:08:45 +00:00
parent 96a368fdf9
commit 3509d277d0

View File

@ -361,7 +361,7 @@ begin
if UseVLink then
begin
if create_smartlink_sections then
GCSectionsStr:='-gc-all -sc -sd';
GCSectionsStr:='-gc-all -mtype';
end;
{ Call linker }