From f40617927c9aee865a56af32f38354ea99b63b36 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Tue, 30 Jun 2009 20:10:14 +0000 Subject: [PATCH] Avoid invalid unwind directives when building crti.o and crtn.o for ARM EABI. * sysdeps/arm/eabi/Makefile (CFLAGS-initfini.s): Add -fno-asynchronous-unwind-tables -fno-unwind-tables. (CFLAGS-pt-initfini.s): Ditto. --- ChangeLog.arm | 6 ++++++ sysdeps/arm/eabi/Makefile | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog.arm b/ChangeLog.arm index ebc4e30..47aa61d 100644 --- a/ChangeLog.arm +++ b/ChangeLog.arm @@ -1,3 +1,9 @@ +2009-06-30 Paul Brook + + * sysdeps/arm/eabi/Makefile (CFLAGS-initfini.s): Add + -fno-asynchronous-unwind-tables -fno-unwind-tables. + (CFLAGS-pt-initfini.s): Ditto. + 2009-06-25 Nathan Froyd * sysdeps/arm/eabi/aeabi_lcsts.c (__aeabi_stdin, __aeabi_stdout, diff --git a/sysdeps/arm/eabi/Makefile b/sysdeps/arm/eabi/Makefile index 890d1d9..05aede6 100644 --- a/sysdeps/arm/eabi/Makefile +++ b/sysdeps/arm/eabi/Makefile @@ -3,6 +3,7 @@ aeabi_constants = aeabi_lcsts aeabi_sighandlers aeabi_math aeabi_routines = aeabi_assert aeabi_localeconv aeabi_errno_addr \ aeabi_mb_cur_max aeabi_atexit aeabi_memclr aeabi_memcpy \ aeabi_memmove aeabi_memset +CFLAGS-initfini.s += -fno-asynchronous-unwind-tables -fno-unwind-tables sysdep_routines += $(aeabi_constants) $(aeabi_routines) static-only-routines += $(aeabi_constants) @@ -24,3 +25,7 @@ endif ifeq ($(subdir),math) $(objpfx)libm.so: $(elfobjdir)/ld.so endif + +ifeq ($(subdir),nptl) +CFLAGS-pt-initfini.s += -fno-asynchronous-unwind-tables -fno-unwind-tables +endif -- 2.7.4