summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevon H. O'Dell <devon.odell@gmail.com>2010-01-13 17:50:12 -0800
committerDevon H. O'Dell <devon.odell@gmail.com>2010-01-13 17:50:12 -0800
commit583b7c488298069ff1ca3e25829a527b740a24d5 (patch)
treee0e4cb56d17cb676f65e44e1f066527a7f9d2b5f
parente9121302459b5281c3b3abfd8386e7d2adbcd453 (diff)
downloadgolang-583b7c488298069ff1ca3e25829a527b740a24d5.tar.gz
runtime: GS already set up by setldt in Linux/386; remove duplicate
R=rsc CC=golang-dev http://codereview.appspot.com/186146 Committer: Russ Cox <rsc@golang.org>
-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 f734a6833..49b829a6a 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)