go/src/liblink
Russ Cox 15b76ad94b runtime: assume precisestack, copystack, StackCopyAlways, ScanStackByFrames
Commit to stack copying for stack growth.

We're carrying around a surprising amount of cruft from older schemes.
I am confident that precise stack scans and stack copying are here to stay.

Delete fallback code for when precise stack info is disabled.
Delete fallback code for when copying stacks is disabled.
Delete fallback code for when StackCopyAlways is disabled.
Delete Stktop chain - there is only one stack segment now.
Delete M.moreargp, M.moreargsize, M.moreframesize, M.cret.
Delete G.writenbuf (unrelated, just dead).
Delete runtime.lessstack, runtime.oldstack.
Delete many amd64 morestack variants.
Delete initialization of morestack frame/arg sizes (shortens split prologue!).

Replace G's stackguard/stackbase/stack0/stacksize/
syscallstack/syscallguard/forkstackguard with simple stack
bounds (lo, hi).

Update liblink, runtime/cgo for adjustments to G.

LGTM=khr
R=khr, bradfitz
CC=golang-codereviews, iant, r
https://golang.org/cl/137410043
2014-09-09 13:39:57 -04:00
..
Makefile liblink: create new library based on linker code 2013-12-08 22:49:37 -05:00
asm5.c build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
asm6.c build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
asm8.c build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00
data.c liblink: remove arch-specific constants from file format 2014-04-14 15:54:20 -04:00
go.c liblink: create new library based on linker code 2013-12-08 22:49:37 -05:00
ld.c liblink: support big-endian properly 2014-08-06 00:25:41 -04:00
list5.c liblink, cmd/dist, cmd/5l: introduce %^ and move C_* constants. 2014-08-06 00:31:22 -04:00
list6.c liblink: remove some gotos + other fixes 2014-07-21 17:38:48 -04:00
list8.c liblink: remove some gotos + other fixes 2014-07-21 17:38:48 -04:00
obj.c cmd/gc: record line number for auto-generated wrappers as <autogenerated>:1 2014-05-12 11:59:55 -04:00
obj5.c runtime: assume precisestack, copystack, StackCopyAlways, ScanStackByFrames 2014-09-09 13:39:57 -04:00
obj6.c runtime: assume precisestack, copystack, StackCopyAlways, ScanStackByFrames 2014-09-09 13:39:57 -04:00
obj8.c runtime: assume precisestack, copystack, StackCopyAlways, ScanStackByFrames 2014-09-09 13:39:57 -04:00
objfile.c cmd/ld: diagnose Go calling C 2014-08-31 22:49:14 -04:00
pass.c cmd/ld: move instruction selection + layout into compilers, assemblers 2013-12-16 12:51:58 -05:00
pcln.c liblink: fix precedence bug in pcdata comparison 2014-07-16 19:26:36 -04:00
sym.c build: adjustments for move from src/pkg to src 2014-09-08 00:06:45 -04:00