I goofed on the shell quoting in mksigtab.sh, causing various system-specific signals to be entered incorrectly in the runtime signal table. This patch fixes the problem. The test for this is misc/cgo/testcarchive in the master repo, which we don't yet run for gccgo. Bootstrapped and ran Go testsuite on x86_64-pc-linux-gnu. Committed to mainline.
Ian
Index: gcc/go/gofrontend/MERGE =================================================================== --- gcc/go/gofrontend/MERGE (revision 245745) +++ gcc/go/gofrontend/MERGE (working copy) @@ -1,4 +1,4 @@ -893f0e4a707c6f10eb14842b18954486042f0fb3 +0bcc1bc98dca48af40d9f54f4eacbbafaa30beb1 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. Index: libgo/mksigtab.sh =================================================================== --- libgo/mksigtab.sh (revision 245745) +++ libgo/mksigtab.sh (working copy) @@ -56,7 +56,7 @@ echo ' _SIGSYS: {_SigThrow, "SIGSYS: # Handle signals that are not supported on all systems. checksig() { - if grep 'const $1 = ' gen-sysinfo.go >/dev/null 2>&1; then + if grep "const $1 = " gen-sysinfo.go >/dev/null 2>&1; then echo " $1: $2," fi }