]> Cypherpunks repositories - gostls13.git/commit
liblink, cmd/ld, runtime: remove stackguard1
authorShenghou Ma <minux@golang.org>
Mon, 29 Dec 2014 06:08:40 +0000 (01:08 -0500)
committerKeith Randall <khr@golang.org>
Mon, 29 Dec 2014 07:36:07 +0000 (07:36 +0000)
commitab0535ae3fb45ba734d47542cc4845f27f708d1b
tree0357ccba7c596a90470785ebd189416d15b6d74e
parent3b76b017cabb0ea29a184670e081edfe11afb8de
liblink, cmd/ld, runtime: remove stackguard1

Now that we've removed all the C code in runtime and the C compilers,
there is no need to have a separate stackguard field to check for C
code on Go stack.

Remove field g.stackguard1 and rename g.stackguard0 to g.stackguard.
Adjust liblink and cmd/ld as necessary.

Change-Id: I54e75db5a93d783e86af5ff1a6cd497d669d8d33
Reviewed-on: https://go-review.googlesource.com/2144
Reviewed-by: Keith Randall <khr@golang.org>
27 files changed:
include/link.h
src/cmd/ld/lib.c
src/cmd/ld/lib.h
src/cmd/ld/pobj.c
src/liblink/obj5.c
src/liblink/obj6.c
src/liblink/obj8.c
src/liblink/obj9.c
src/liblink/objfile.c
src/runtime/asm_386.s
src/runtime/asm_amd64.s
src/runtime/asm_amd64p32.s
src/runtime/asm_arm.s
src/runtime/asm_ppc64x.s
src/runtime/lock_futex.go
src/runtime/lock_sema.go
src/runtime/malloc.go
src/runtime/proc1.go
src/runtime/runtime1.go
src/runtime/runtime2.go
src/runtime/stack1.go
src/runtime/stack2.go
src/runtime/sys_plan9_386.s
src/runtime/sys_plan9_amd64.s
src/runtime/sys_solaris_amd64.s
src/runtime/sys_windows_386.s
src/runtime/sys_windows_amd64.s