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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
config | Loading commit data... | |
go | Loading commit data... | |
runtime | Loading commit data... | |
testsuite | Loading commit data... | |
LICENSE | Loading commit data... | |
MERGE | Loading commit data... | |
Makefile.am | Loading commit data... | |
Makefile.in | Loading commit data... | |
PATENTS | Loading commit data... | |
README | Loading commit data... | |
README.gcc | Loading commit data... | |
VERSION | Loading commit data... | |
aclocal.m4 | Loading commit data... | |
config.h.in | Loading commit data... | |
configure | Loading commit data... | |
configure.ac | Loading commit data... | |
godeps.sh | Loading commit data... | |
libgo.imp | Loading commit data... | |
match.sh | Loading commit data... | |
merge.sh | Loading commit data... | |
mkrsysinfo.sh | Loading commit data... | |
mksigtab.sh | Loading commit data... | |
mksysinfo.sh | Loading commit data... | |
mvifdiff.sh | Loading commit data... | |
sysinfo.c | Loading commit data... |