From 3509d277d0fb53e9c65e70a05a1ec1ca5469cf7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A1roly=20Balogh?= Date: Sat, 4 Apr 2020 11:08:45 +0000 Subject: [PATCH] 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 - --- compiler/systems/t_amiga.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/systems/t_amiga.pas b/compiler/systems/t_amiga.pas index 4b2bd594ef..e094f8933c 100644 --- a/compiler/systems/t_amiga.pas +++ b/compiler/systems/t_amiga.pas @@ -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 }