Sfoglia il codice sorgente

* use mov insteead of push ds, valgrind doesn't like the push

git-svn-id: trunk@1140 -
peter 20 anni fa
parent
commit
72b0603943
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      rtl/linux/i386/prt0.as

+ 2 - 2
rtl/linux/i386/prt0.as

@@ -60,8 +60,8 @@ _start:
         fldcw   ___fpucw
 
         /* Initialize gs for thread local storage */
-        pushw   %ds
-        popw    %gs
+        movw    %ds,%ax
+        movw    %ax,%gs
 
         xorl    %ebp,%ebp
         call    PASCALMAIN