diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-05-04 14:10:41 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2014-02-08 09:20:52 -0500 |
commit | cca855811394c527a7de8dc45abc7d65dd9e1745 (patch) | |
tree | 40d2187d68c3b0819b955ceeb788df19cbdda878 | |
parent | 9ef157813274d285e99c238f433b9be92b48ac88 (diff) | |
download | glibc-cca855811394c527a7de8dc45abc7d65dd9e1745.tar glibc-cca855811394c527a7de8dc45abc7d65dd9e1745.tar.gz glibc-cca855811394c527a7de8dc45abc7d65dd9e1745.tar.bz2 glibc-cca855811394c527a7de8dc45abc7d65dd9e1745.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 ab2398580f..3f48a26435 100644 --- a/sysdeps/unix/sysv/linux/x86_64/sigaction.c +++ b/sysdeps/unix/sysv/linux/x86_64/sigaction.c @@ -39,7 +39,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. |