|
runtime: convert assembly files for C to Go transition
The main change is that #include "zasm_GOOS_GOARCH.h"
is now #include "go_asm.h" and/or #include "go_tls.h".
Also, because C StackGuard is now Go _StackGuard,
the assembly name changes from const_StackGuard to
const__StackGuard.
In asm_$GOARCH.s, add new function getg, formerly
implemented in C.
The renamed atomics now have Go wrappers, to get
escape analysis annotations right. Those wrappers
are in CL 174860043.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+124 lines, -49 lines) |
Patch |
 |
M |
src/runtime/asm.s
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
src/runtime/asm_386.s
|
View
|
1
|
6 chunks |
+13 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/runtime/asm_amd64.s
|
View
|
1
|
6 chunks |
+12 lines, -5 lines |
0 comments
|
Download
|
 |
M |
src/runtime/asm_amd64p32.s
|
View
|
1
|
5 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
 |
M |
src/runtime/asm_arm.s
|
View
|
1
2
|
2 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/race_amd64.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/rt0_windows_amd64.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_darwin_386.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_darwin_amd64.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_dragonfly_386.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_dragonfly_amd64.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_freebsd_386.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_freebsd_amd64.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_freebsd_arm.s
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/runtime/sys_linux_386.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_linux_amd64.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_linux_arm.s
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/runtime/sys_nacl_386.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_nacl_amd64p32.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_nacl_arm.s
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/runtime/sys_netbsd_386.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_netbsd_amd64.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_netbsd_arm.s
|
View
|
1
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
src/runtime/sys_openbsd_386.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_openbsd_amd64.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_plan9_386.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_plan9_amd64.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_solaris_amd64.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_windows_386.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/sys_windows_amd64.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/thunk.s
|
View
|
1
|
2 chunks |
+15 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/thunk_solaris_amd64.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/thunk_windows.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/tls_arm.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
src/runtime/vlop_arm.s
|
View
|
1
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
Total messages: 4
|