Skip to content

Commit

Permalink
Fix get TLS
Browse files Browse the repository at this point in the history
  • Loading branch information
vizee committed Jul 22, 2017
1 parent 9a7c06e commit 20dba8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/hack_amd64.s
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "textflag.h"

TEXT ·TLS(SB), NOSPLIT, $8
MOVQ TLS, AX
MOVQ (TLS), AX
MOVQ AX, ret+0(FP)
RET

Expand Down

0 comments on commit 20dba8a

Please sign in to comment.