diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-05-04 14:10:41 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-05-04 14:10:41 -0400 |
commit | 84d20d3d7c273f6cd09c48fac362183b4640d19f (patch) | |
tree | c81961ec86e284a7c43bccc53e6dd5033d029f3c | |
parent | 4cc4f2bb67e11fc34f2174e02885c68efbea19e8 (diff) | |
download | glibc-84d20d3d7c273f6cd09c48fac362183b4640d19f.tar.gz glibc-84d20d3d7c273f6cd09c48fac362183b4640d19f.tar.xz glibc-84d20d3d7c273f6cd09c48fac362183b4640d19f.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 53a8134b6a..2181f4bd7a 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. |