diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-05-04 14:10:41 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-02-09 09:57:23 -0500 |
commit | f438358f77081b62eeb7565b2aed11d149c2e0e5 (patch) | |
tree | 5d7158180e75c0d8e6c53700ceef1892635e0d28 | |
parent | 1a8236dcac0e7d5aa5148d96da46b0f204b20140 (diff) | |
download | glibc-f438358f77081b62eeb7565b2aed11d149c2e0e5.tar glibc-f438358f77081b62eeb7565b2aed11d149c2e0e5.tar.gz glibc-f438358f77081b62eeb7565b2aed11d149c2e0e5.tar.bz2 glibc-f438358f77081b62eeb7565b2aed11d149c2e0e5.zip |
workaround crash when handling signals in static PIEs
work around ... not entirely sure what is going on here.
2011-03-01 squeezy <vina@mailserver.eu>
* sysdeps/unix/sysv/linux/x86_64/sigaction.c fix the __restore_rt symbol
http://bugs.gentoo.org/283470
-rw-r--r-- | sysdeps/unix/sysv/linux/x86_64/sigaction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/x86_64/sigaction.c b/sysdeps/unix/sysv/linux/x86_64/sigaction.c index efc837fdb4..344ca108ec 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sigaction.c +++ b/sysdeps/unix/sysv/linux/x86_64/sigaction.c @@ -37,7 +37,7 @@ /* Using the hidden attribute here does not change the code but it helps to avoid warnings. */ -extern void restore_rt (void) asm ("__restore_rt") attribute_hidden; +extern void restore_rt (void) asm ("__restore_rt") __attribute__((__visibility__("hidden"))); /* If ACT is not NULL, change the action for SIG to *ACT. |