]> gcc.gnu.org Git - gcc.git/commit
compiler, runtime: support and use single argument go:linkname
authorIan Lance Taylor <ian@gcc.gnu.org>
Sat, 31 Aug 2019 03:01:15 +0000 (03:01 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Sat, 31 Aug 2019 03:01:15 +0000 (03:01 +0000)
commitc70ff9f9be0c7360a37519ec68ac4dd41e8d0a3c
tree2a189fbed2324d7708bfe231203bd294028057c9
parente7c8f75569e792f81a4f4ceee4e1b20f2544e7a4
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

From-SVN: r275239
39 files changed:
gcc/go/gofrontend/MERGE
gcc/go/gofrontend/gogo.cc
gcc/go/gofrontend/gogo.h
gcc/go/gofrontend/lex.cc
gcc/go/gofrontend/lex.h
libgo/go/runtime/alg.go
libgo/go/runtime/cgocall.go
libgo/go/runtime/chan.go
libgo/go/runtime/ffi.go
libgo/go/runtime/hash32.go
libgo/go/runtime/hash64.go
libgo/go/runtime/iface.go
libgo/go/runtime/lock_futex.go
libgo/go/runtime/lock_sema.go
libgo/go/runtime/malloc.go
libgo/go/runtime/map.go
libgo/go/runtime/map_fast32.go
libgo/go/runtime/map_fast64.go
libgo/go/runtime/map_faststr.go
libgo/go/runtime/mbarrier.go
libgo/go/runtime/mem_gccgo.go
libgo/go/runtime/mgc_gccgo.go
libgo/go/runtime/mgcmark.go
libgo/go/runtime/netpoll.go
libgo/go/runtime/os_gccgo.go
libgo/go/runtime/panic.go
libgo/go/runtime/panic32.go
libgo/go/runtime/print.go
libgo/go/runtime/proc.go
libgo/go/runtime/runtime.go
libgo/go/runtime/runtime1.go
libgo/go/runtime/runtime2.go
libgo/go/runtime/select.go
libgo/go/runtime/signal_unix.go
libgo/go/runtime/slice.go
libgo/go/runtime/string.go
libgo/go/runtime/stubs.go
libgo/go/runtime/type.go
libgo/go/runtime/utf8.go
This page took 0.059741 seconds and 5 git commands to generate.