aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/linux
diff options
context:
space:
mode:
authorDevon H. O'Dell <devon.odell@gmail.com>2010-01-13 17:50:12 -0800
committerRuss Cox <rsc@golang.org>2010-01-13 17:50:12 -0800
commit1564b984a5983999ab97ec08a3e723ba25c17af9 (patch)
treed0821c1713e3e9f9ac430afe9c8d50253e4c68eb /src/pkg/runtime/linux
parent12518e441b77ce261ff0125c85687fa04cd215cc (diff)
downloadgo-1564b984a5983999ab97ec08a3e723ba25c17af9.tar.xz
runtime: GS already set up by setldt in Linux/386; remove duplicate
R=rsc CC=golang-dev https://golang.org/cl/186146
Diffstat (limited to 'src/pkg/runtime/linux')
-rw-r--r--src/pkg/runtime/linux/386/sys.s3
1 files changed, 0 insertions, 3 deletions
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)