aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-12-16 14:31:24 -0800
committerRoland McGrath <roland@hack.frob.com>2014-12-16 14:31:24 -0800
commitc324fcfe75c3976ae0b16943df00710e1d0d74f7 (patch)
tree5c1165c36c9697c408c4a4b3cac6a0bf7f2a0a39 /sysdeps/nptl
parent380292ba8b97c82a8ede3ed35f6a3c42b7b47466 (diff)
downloadglibc-c324fcfe75c3976ae0b16943df00710e1d0d74f7.zip
glibc-c324fcfe75c3976ae0b16943df00710e1d0d74f7.tar.gz
glibc-c324fcfe75c3976ae0b16943df00710e1d0d74f7.tar.bz2
Use pragmas rather than makefiles for necessary options for unwind code.
Diffstat (limited to 'sysdeps/nptl')
-rw-r--r--sysdeps/nptl/unwind-forcedunwind.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/nptl/unwind-forcedunwind.c b/sysdeps/nptl/unwind-forcedunwind.c
index 9d7bdc5..bbb366f 100644
--- a/sysdeps/nptl/unwind-forcedunwind.c
+++ b/sysdeps/nptl/unwind-forcedunwind.c
@@ -23,6 +23,8 @@
#include <sysdep.h>
#include <gnu/lib-names.h>
+#pragma GCC optimize ("-fexceptions", "-fasynchronous-unwind-tables")
+
static void *libgcc_s_handle;
static void (*libgcc_s_resume) (struct _Unwind_Exception *exc);
static _Unwind_Reason_Code (*libgcc_s_personality)