Преглед на файлове

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 години
родител
ревизия
3509d277d0
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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 }