1
0
mirror of https://github.com/golang/go synced 2024-11-12 09:20:22 -07:00

runtime: GS already set up by setldt in Linux/386; remove duplicate

R=rsc
CC=golang-dev
https://golang.org/cl/186146
This commit is contained in:
Devon H. O'Dell 2010-01-13 17:50:12 -08:00 committed by Russ Cox
parent 12518e441b
commit 1564b984a5

View File

@ -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)