Bläddra i källkod

* Fixed stacksize for Wii

git-svn-id: trunk@17035 -
Legolas 14 år sedan
förälder
incheckning
5fc349eda7
2 ändrade filer med 2 tillägg och 3 borttagningar
  1. 1 1
      compiler/systems/i_wii.pas
  2. 1 2
      compiler/systems/t_wii.pas

+ 1 - 1
compiler/systems/i_wii.pas

@@ -86,7 +86,7 @@ unit i_wii;
                 maxCrecordalign : 8
               );
             first_parm_offset : 8;
-            stacksize    : 32*1024*1024;
+            stacksize    : 131072;  // 128 kb 
             abi : abi_powerpc_sysv;
           );
 

+ 1 - 2
compiler/systems/t_wii.pas

@@ -562,9 +562,8 @@ begin
 
 { Call linker }
   SplitBinCmd(Info.ExeCmd[1],binstr,cmdstr);
-  Replace(cmdstr,'$OPT',Info.ExtraOptions);
-
   Replace(cmdstr,'$EXE',(maybequoted(ScriptFixFileName(ChangeFileExt(current_module.exefilename^,'.elf')))));
+  Replace(cmdstr,'$OPT',Info.ExtraOptions);
   Replace(cmdstr,'$RES',(maybequoted(ScriptFixFileName(outputexedir+Info.ResName))));
   Replace(cmdstr,'$STATIC',StaticStr);
   Replace(cmdstr,'$STRIP',StripStr);