Browse Source

* disable TLS segment initialization, it breaks threading

git-svn-id: trunk@1470 -
peter 20 years ago
parent
commit
7f6d44006e
1 changed files with 3 additions and 3 deletions
  1. 3 3
      rtl/linux/i386/prt0.as

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

@@ -59,9 +59,9 @@ _start:
         fwait
         fldcw   ___fpucw
 
-        /* Initialize gs for thread local storage */
-        movw    %ds,%ax
-        movw    %ax,%gs
+#        /* Initialize gs for thread local storage */
+#        movw    %ds,%ax
+#        movw    %ax,%gs
 
         xorl    %ebp,%ebp
         call    PASCALMAIN