|
cmd/5a, cmd/5c, cmd/6a, cmd/6c, cmd/8a, cmd/8c, cmd/cc: support for Native Client
From the original description in CL 15770043
The main change here is to consult $GOARCH.
In 6c, when GOOS=nacl, some of the more complex addressing modes must be disabled, and the BP and R15 registers must not be used.
See golang.org/s/go13nacl for design overview.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+96 lines, -19 lines) |
Patch |
 |
M |
src/cmd/5a/lex.c
|
View
|
1
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/5c/swt.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/5c/txt.c
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/cmd/6a/lex.c
|
View
|
1
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/6c/reg.c
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/6c/sgen.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/6c/swt.c
|
View
|
1
|
4 chunks |
+21 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/6c/txt.c
|
View
|
1
|
8 chunks |
+26 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/cmd/8a/lex.c
|
View
|
1
|
2 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/8c/swt.c
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
src/cmd/8c/txt.c
|
View
|
1
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/cmd/cc/cc.h
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/cmd/cc/lex.c
|
View
|
1
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
Total messages: 6
|