diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-03-19 19:23:33 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-03-22 19:14:01 +0100 |
commit | 91e21d25187d24bdd48875fb2544ec195ca2104a (patch) | |
tree | 826d8e12eb944a1e274f48b30e3ede3b983f8109 /libc/string/strsignal.c | |
parent | 8be3a69f1881cb87189164821c631fb398ea2b11 (diff) |
hppa: fix runtime issues
Sync clone()/vfork() with GNU C Library.
Allow CFI and fix strsignal() / tcsetattr().
Diffstat (limited to 'libc/string/strsignal.c')
-rw-r--r-- | libc/string/strsignal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/strsignal.c b/libc/string/strsignal.c index 0fbbf8504..0c1ba02c9 100644 --- a/libc/string/strsignal.c +++ b/libc/string/strsignal.c @@ -36,7 +36,7 @@ extern const char _string_syssigmsgs[] attribute_hidden; -#if defined(__alpha__) || defined(__mips__) || defined(__hppa__) || defined(__sparc__) +#if defined(__alpha__) || defined(__mips__) || defined(__sparc__) static const unsigned char sstridx[] = { 0, SIGHUP, @@ -89,7 +89,7 @@ char *strsignal(int signum) 'U', 'n', 'k', 'n', 'o', 'w', 'n', ' ', 's', 'i', 'g', 'n', 'a', 'l', ' ' }; -#if defined(__alpha__) || defined(__mips__) || defined(__hppa__) || defined(__sparc__) +#if defined(__alpha__) || defined(__mips__) || defined(__sparc__) /* Need to translate signum to string index. */ for (i = 0; i < sizeof(sstridx)/sizeof(sstridx[0]); i++) { if (sstridx[i] == signum) { |