]> 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>
Fri, 16 Aug 2013 19:13:10 +0000 (15:13 -0400)
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 4b5d1e1a8b0a96f8d0586154f2ca10d0e829c0b2..5390318fa2df83750a89d45c3377375ee9240bfd 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.