This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r242060 - in /trunk: gcc/go/gofrontend/MERGE gc...


Author: ian
Date: Thu Nov 10 22:53:23 2016
New Revision: 242060

URL: https://gcc.gnu.org/viewcvs?rev=242060&root=gcc&view=rev
Log:
    runtime: copy signal code from Go 1.7 runtime
    
    Add a little shell script to auto-generate runtime.sigtable from the
    known signal names.
    
    Force the main package to always import the runtime package.  Otherwise
    some runtime package global variables may never be initialized.
    
    Set the syscallsp and syscallpc fields of g when entering a syscall, so
    that the runtime package knows when a g is executing a syscall.
    
    Fix runtime.funcPC to avoid dead store elimination of the interface
    value when the function is inlined.
    
    Reviewed-on: https://go-review.googlesource.com/33025

Added:
    trunk/libgo/go/runtime/panic.go
    trunk/libgo/go/runtime/signal1_unix.go
    trunk/libgo/go/runtime/signal_gccgo.go
    trunk/libgo/go/runtime/signal_sighandler.go
    trunk/libgo/go/runtime/signal_unix.go
    trunk/libgo/go/runtime/sigpanic_unix.go
    trunk/libgo/go/runtime/sigqueue.go
    trunk/libgo/mksigtab.sh
Removed:
    trunk/libgo/runtime/signal_unix.c
    trunk/libgo/runtime/signal_unix.h
    trunk/libgo/runtime/sigqueue.goc
Modified:
    trunk/gcc/go/gofrontend/MERGE
    trunk/gcc/go/gofrontend/expressions.cc
    trunk/gcc/go/gofrontend/gogo.cc
    trunk/gcc/go/gofrontend/gogo.h
    trunk/gcc/go/gofrontend/parse.cc
    trunk/libgo/Makefile.am
    trunk/libgo/Makefile.in
    trunk/libgo/go/runtime/runtime2.go
    trunk/libgo/go/runtime/signal2_unix.go
    trunk/libgo/go/runtime/signal_sigtramp.go
    trunk/libgo/go/runtime/stubs.go
    trunk/libgo/mkrsysinfo.sh
    trunk/libgo/runtime/go-signal.c
    trunk/libgo/runtime/panic.c
    trunk/libgo/runtime/proc.c
    trunk/libgo/runtime/runtime.h
    trunk/libgo/runtime/thread-linux.c
    trunk/libgo/runtime/yield.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]