aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-05-12 01:09:42 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-05-12 01:09:42 +0000
commitfa846918fc9361a1ae52efc503b44519f33293d2 (patch)
tree8c2214235d0949cc54279d882d6f359adf340680 /gcc
parentb3a7fdc3eadb551659dedf47c2a6faf0d569a278 (diff)
downloadgcc-fa846918fc9361a1ae52efc503b44519f33293d2.zip
gcc-fa846918fc9361a1ae52efc503b44519f33293d2.tar.gz
gcc-fa846918fc9361a1ae52efc503b44519f33293d2.tar.bz2
mksigtab.sh: recurse once when adding signals to SIGLIST
On MIPS, SIGABRT is defined like this: #define SIGIOT 6 #define SIGABRT SIGIOT This breaks addsig which tries to append __SIGIOT_ to SIGLIST. Signal number 6 is later added to the output and go complains about a duplicate signal number. Fix by recursing once when obtaining the signal number from gen-sysinfo.go if the signal is defined as an alias of another signal. Also modify the sed expression to 's/.* = //' which is equivalent to the original expression but is less misleading given that it might not match a number. Reviewed-on: https://go-review.googlesource.com/43252 From-SVN: r247948
Diffstat (limited to 'gcc')
-rw-r--r--gcc/go/gofrontend/MERGE2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE
index 27f4227..557e270 100644
--- a/gcc/go/gofrontend/MERGE
+++ b/gcc/go/gofrontend/MERGE
@@ -1,4 +1,4 @@
-fc3d6af694c518d73a126bcbd90d79982524f9f6
+3c1258156a2ae483c5cc523cb7a3c3374cbe7c2c
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.