libgo: only add signum to siglist if it doesn't exist yet
commitace4928a29b79ac6aa0c84d6fd78f5dce5fa6190
authorSören Tempel <soeren+git@soeren-tempel.net>
Fri, 15 Apr 2022 09:04:15 +0000 (15 11:04 +0200)
committerIan Lance Taylor <iant@golang.org>
Mon, 18 Apr 2022 22:17:16 +0000 (18 15:17 -0700)
tree64aa57e81be8fd8f39d9e9395929dd11c976f55c
parent208b7d85d73cbd166e207f0e062cccbdfbf52bb3
libgo: only add signum to siglist if it doesn't exist yet

This fixes a build issue on musl libc where the same signal number
is used for SIGIO and SIGPOLL.  This causes a compilation error since
the signal numbers must be unique for the signal table.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/400595
gcc/go/gofrontend/MERGE
libgo/mksigtab.sh