go/src/liblink
Russ Cox 5e8c922625 liblink, cmd/ld: reenable nosplit checking and test
The new code is adapted from the Go 1.2 nosplit code,
but it does not have the bug reported in issue 7623:

g% go run nosplit.go
g% go1.2 run nosplit.go
BUG
rejected incorrectly:
        main 0 call f; f 120

        linker output:
        # _/tmp/go-test-nosplit021064539
        main.main: nosplit stack overflow
                120	guaranteed after split check in main.main
                112	on entry to main.f
                -8	after main.f uses 120

g%

Fixes #6931.
Fixes #7623.

LGTM=iant
R=golang-codereviews, iant, ality
CC=golang-codereviews, r
https://golang.org/cl/88190043
2014-04-16 22:08:00 -04:00
..
Makefile
asm5.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
asm6.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
asm8.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
data.c liblink: remove arch-specific constants from file format 2014-04-14 15:54:20 -04:00
go.c
ld.c liblink: don't search for an import file with an absolute path 2013-12-18 10:33:47 -08:00
list5.c cmd/cc, cmd/gc, cmd/ld: consolidate print format routines 2014-02-12 14:29:11 -05:00
list6.c liblink: introduce TLS register on 386 and amd64 2014-04-15 13:45:39 -04:00
list8.c liblink: introduce TLS register on 386 and amd64 2014-04-15 13:45:39 -04:00
obj.c build: remove tmp dir names from objects, support GOROOT_FINAL again 2014-04-15 20:46:46 -04:00
obj5.c liblink: remove arch-specific constants from file format 2014-04-14 15:54:20 -04:00
obj6.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
obj8.c liblink: introduce TLS register on 386 and amd64 2014-04-15 13:45:39 -04:00
objfile.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
pass.c cmd/ld: move instruction selection + layout into compilers, assemblers 2013-12-16 12:51:58 -05:00
pcln.c liblink, cmd/ld: reenable nosplit checking and test 2014-04-16 22:08:00 -04:00
sym.c liblink: fix incorrect hash collision in lookup 2014-04-16 11:53:14 -04:00