Skip to content

Commit

Permalink
Merge pull request #3 from vxcontrol/gcc-unexpected-eof-bug
Browse files Browse the repository at this point in the history
Fixed unexpected EOF on compile process under gcc >=6 version
  • Loading branch information
taowen committed Jun 10, 2019
2 parents 8d32499 + f3f2c20 commit 8455878
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion goid_386.s
Expand Up @@ -10,4 +10,5 @@ TEXT ·getg(SB), NOSPLIT, $0-4
get_tls(CX)
MOVL g(CX), AX
MOVL AX, ret+0(FP)
RET
RET

1 change: 1 addition & 0 deletions goid_amd64.s
Expand Up @@ -10,3 +10,4 @@ TEXT ·getg(SB), NOSPLIT, $0-8
MOVQ g(CX), AX
MOVQ AX, ret+0(FP)
RET

3 changes: 2 additions & 1 deletion goid_arm.s
Expand Up @@ -8,4 +8,5 @@
TEXT ·getg(SB), NOSPLIT, $0-4
MOVW g, R8
MOVW R8, ret+0(FP)
RET
RET

1 change: 1 addition & 0 deletions goid_arm64.s
Expand Up @@ -9,3 +9,4 @@ TEXT ·getg(SB), NOSPLIT, $0-8
MOVD g, R8
MOVD R8, ret+0(FP)
RET

0 comments on commit 8455878

Please sign in to comment.