From: Devon H. O'Dell Date: Thu, 14 Jan 2010 01:50:12 +0000 (-0800) Subject: runtime: GS already set up by setldt in Linux/386; remove duplicate X-Git-Tag: weekly.2010-01-27~104 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1564b984a5983999ab97ec08a3e723ba25c17af9;p=gostls13.git runtime: GS already set up by setldt in Linux/386; remove duplicate R=rsc CC=golang-dev https://golang.org/cl/186146 --- diff --git a/src/pkg/runtime/linux/386/sys.s b/src/pkg/runtime/linux/386/sys.s index f734a68338..49b829a6ae 100644 --- a/src/pkg/runtime/linux/386/sys.s +++ b/src/pkg/runtime/linux/386/sys.s @@ -146,9 +146,6 @@ TEXT clone(SB),7,$0 POPL AX POPL AX POPAL - SHLL $3, DI // segment# is ldt*8 + 7 (different 7 than above) - ADDL $7, DI - MOVW DI, GS // Now segment is established. Initialize m, g. get_tls(AX)