Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from vxcontrol/gcc-unexpected-eof-bug
Fixed unexpected EOF on compile process under gcc >=6 version
- Loading branch information
Showing
4 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,5 @@ TEXT ·getg(SB), NOSPLIT, $0-4 | |
get_tls(CX) | ||
MOVL g(CX), AX | ||
MOVL AX, ret+0(FP) | ||
RET | ||
RET | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ TEXT ·getg(SB), NOSPLIT, $0-8 | |
MOVQ g(CX), AX | ||
MOVQ AX, ret+0(FP) | ||
RET | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ | |
TEXT ·getg(SB), NOSPLIT, $0-4 | ||
MOVW g, R8 | ||
MOVW R8, ret+0(FP) | ||
RET | ||
RET | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ TEXT ·getg(SB), NOSPLIT, $0-8 | |
MOVD g, R8 | ||
MOVD R8, ret+0(FP) | ||
RET | ||
|