r275239 - in /trunk: gcc/go/gofrontend/MERGE gc...
ian@gcc.gnu.org
ian@gcc.gnu.org
Sat Aug 31 03:01:00 GMT 2019
Author: ian
Date: Sat Aug 31 03:01:15 2019
New Revision: 275239
URL: https://gcc.gnu.org/viewcvs?rev=275239&root=gcc&view=rev
Log:
compiler, runtime: support and use single argument go:linkname
The gc compiler has started permitting go:linkname comments with a
single argument to mean that a function should be externally visible
outside the package. Implement this in the Go frontend.
Change the libgo runtime package to use it, rather than repeating the
name just to export a function.
Remove a couple of unnecessary go:linkname comments on declarations.
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/192197
Modified:
trunk/gcc/go/gofrontend/MERGE
trunk/gcc/go/gofrontend/gogo.cc
trunk/gcc/go/gofrontend/gogo.h
trunk/gcc/go/gofrontend/lex.cc
trunk/gcc/go/gofrontend/lex.h
trunk/libgo/go/runtime/alg.go
trunk/libgo/go/runtime/cgocall.go
trunk/libgo/go/runtime/chan.go
trunk/libgo/go/runtime/ffi.go
trunk/libgo/go/runtime/hash32.go
trunk/libgo/go/runtime/hash64.go
trunk/libgo/go/runtime/iface.go
trunk/libgo/go/runtime/lock_futex.go
trunk/libgo/go/runtime/lock_sema.go
trunk/libgo/go/runtime/malloc.go
trunk/libgo/go/runtime/map.go
trunk/libgo/go/runtime/map_fast32.go
trunk/libgo/go/runtime/map_fast64.go
trunk/libgo/go/runtime/map_faststr.go
trunk/libgo/go/runtime/mbarrier.go
trunk/libgo/go/runtime/mem_gccgo.go
trunk/libgo/go/runtime/mgc_gccgo.go
trunk/libgo/go/runtime/mgcmark.go
trunk/libgo/go/runtime/netpoll.go
trunk/libgo/go/runtime/os_gccgo.go
trunk/libgo/go/runtime/panic.go
trunk/libgo/go/runtime/panic32.go
trunk/libgo/go/runtime/print.go
trunk/libgo/go/runtime/proc.go
trunk/libgo/go/runtime/runtime.go
trunk/libgo/go/runtime/runtime1.go
trunk/libgo/go/runtime/runtime2.go
trunk/libgo/go/runtime/select.go
trunk/libgo/go/runtime/signal_unix.go
trunk/libgo/go/runtime/slice.go
trunk/libgo/go/runtime/string.go
trunk/libgo/go/runtime/stubs.go
trunk/libgo/go/runtime/type.go
trunk/libgo/go/runtime/utf8.go
More information about the Gcc-cvs
mailing list