diff options
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/gnu/Makefile | 2 | ||||
-rw-r--r-- | sysdeps/gnu/unwind-resume.c | 2 | ||||
-rw-r--r-- | sysdeps/nptl/unwind-forcedunwind.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c | 2 |
4 files changed, 2 insertions, 6 deletions
diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile index 8d407f71e1..ba495ed236 100644 --- a/sysdeps/gnu/Makefile +++ b/sysdeps/gnu/Makefile @@ -79,9 +79,11 @@ endif ifeq ($(subdir),csu) routines += unwind-resume shared-only-routines += unwind-resume +CFLAGS-unwind-resume.c += -fexceptions -fasynchronous-unwind-tables endif ifeq ($(subdir),rt) librt-sysdep_routines += rt-unwind-resume librt-shared-only-routines += rt-unwind-resume +CFLAGS-rt-unwind-resume.c += -fexceptions -fasynchronous-unwind-tables endif diff --git a/sysdeps/gnu/unwind-resume.c b/sysdeps/gnu/unwind-resume.c index a23d19ae7f..5044a7182e 100644 --- a/sysdeps/gnu/unwind-resume.c +++ b/sysdeps/gnu/unwind-resume.c @@ -21,8 +21,6 @@ #include <unwind.h> #include <gnu/lib-names.h> -#pragma GCC optimize ("-fexceptions", "-fasynchronous-unwind-tables") - static void (*libgcc_s_resume) (struct _Unwind_Exception *exc) __attribute__ ((noreturn)); static _Unwind_Reason_Code (*libgcc_s_personality) diff --git a/sysdeps/nptl/unwind-forcedunwind.c b/sysdeps/nptl/unwind-forcedunwind.c index bbb366f1ae..9d7bdc5b90 100644 --- a/sysdeps/nptl/unwind-forcedunwind.c +++ b/sysdeps/nptl/unwind-forcedunwind.c @@ -23,8 +23,6 @@ #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) diff --git a/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c b/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c index 3f347a04b4..660d1488e1 100644 --- a/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c +++ b/sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c @@ -21,8 +21,6 @@ #include <unwind.h> #include <pthreadP.h> -#pragma GCC optimize ("-fexceptions", "-fasynchronous-unwind-tables") - static void *libgcc_s_handle; static void (*libgcc_s_resume) (struct _Unwind_Exception *exc) __attribute_used__; |