]> Cypherpunks repositories - gostls13.git/commit
cmd/link: C is gone, remove check for Go calling C
authorDavid Crawshaw <crawshaw@golang.org>
Wed, 2 Mar 2016 15:01:01 +0000 (10:01 -0500)
committerDavid Crawshaw <crawshaw@golang.org>
Wed, 2 Mar 2016 16:34:56 +0000 (16:34 +0000)
commit1012892f1e6329d5581ad82a20ababa5548d8dc2
tree5febd981d5662f0660fb26da6c09c992133be7ce
parent8b360d5fdaa2508dd37b1e0098ad16c9486c3617
cmd/link: C is gone, remove check for Go calling C

It looks like the compiler still uses the Cfunc flag for functions
marked as //go:systemstack, but if I'm reading this right, that
doesn't apply here and the linker no longer needs Cfunc.

Change-Id: I63b9192c2f52f41401263c29dc8dfd8be8a901a1
Reviewed-on: https://go-review.googlesource.com/20105
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/link/internal/ld/lib.go
src/cmd/link/internal/ld/link.go
src/cmd/link/internal/ld/objfile.go
src/cmd/link/internal/ld/pobj.go