]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
workaround crash when handling signals in static PIEs
authorMike Frysinger <vapier@gentoo.org>
Sat, 4 May 2013 18:10:41 +0000 (14:10 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 8 Feb 2014 14:20:52 +0000 (09:20 -0500)
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

sysdeps/unix/sysv/linux/x86_64/sigaction.c

index ab2398580f44bb6f209a96a93b87dd46537abf4d..3f48a264352ce3e24b381e9462a3db3ab54a776a 100644 (file)
@@ -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.