Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
fix compile error in arm asm code and remove useless file
Browse files Browse the repository at this point in the history
  • Loading branch information
huandu committed Nov 17, 2015
1 parent a1b36c9 commit 0c5ec31
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 17 deletions.
4 changes: 2 additions & 2 deletions info_386.s
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

TEXT ·getg(SB), NOSPLIT, $0-4
get_tls(CX)
MOVL g(CX), AX
MOVL AX, ret+0(FP)
MOVL g(CX), AX
MOVL AX, ret+0(FP)
RET
4 changes: 2 additions & 2 deletions info_amd64.s
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

TEXT ·getg(SB), NOSPLIT, $0-8
get_tls(CX)
MOVQ g(CX), AX
MOVQ AX, ret+0(FP)
MOVQ g(CX), AX
MOVQ AX, ret+0(FP)
RET
3 changes: 2 additions & 1 deletion info_arm.s
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
#include "textflag.h"

TEXT ·getg(SB), NOSPLIT, $0-4
MOVW g, ret+0(FP)
MOVW g, R8
MOVW R8, ret+0(FP)
RET
12 changes: 0 additions & 12 deletions info_arm64.s

This file was deleted.

0 comments on commit 0c5ec31

Please sign in to comment.