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

MorphOS: workaround to prevent removal of __abox__ during --gc-sections

git-svn-id: trunk@45375 -
marcus преди 5 години
родител
ревизия
5a9fc1c01c
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      rtl/morphos/si_prc.pp

+ 3 - 0
rtl/morphos/si_prc.pp

@@ -42,6 +42,9 @@ var
   newStack: Pointer;
   newStackAligned: Pointer;
 begin
+  // prevent removal of the __abox__ symbol by --gc-sections
+  abox_signature := 1;
+  //
   MOS_ExecBase:=realExecBase;
 
   newStack:=AllocVecTaskPooled(StkLen+16);