r255347 - in /trunk: gcc/go/gofrontend/MERGE li...

ian@gcc.gnu.org ian@gcc.gnu.org
Sat Dec 2 00:46:00 GMT 2017


Author: ian
Date: Sat Dec  2 00:46:00 2017
New Revision: 255347

URL: https://gcc.gnu.org/viewcvs?rev=255347&root=gcc&view=rev
Log:
    runtime: export cgoCheck functions
    
    The functions cgoCheckPointer and cgoCheckResult are called by code
    generated by cgo. That means that we need to export them using
    go:linkname, as otherwise they are local symbols. The cgo code
    currently uses weak references to only call the symbols if they are
    defined, which is why it has been working--the cgo code has not been
    doing any checks.
    
    Reviewed-on: https://go-review.googlesource.com/80295

Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/libgo/go/runtime/cgocall.go



More information about the Gcc-cvs mailing list