Browse Source

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 -
Károly Balogh 5 years ago
parent
commit
3509d277d0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/systems/t_amiga.pas

+ 1 - 1
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 }