소스 검색

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

git-svn-id: trunk@1140 -
peter 20 년 전
부모
커밋
72b0603943
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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