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.
This commit is contained in:
parent
5a6ba634c6
commit
f40617927c
|
@ -1,3 +1,9 @@
|
||||||
|
2009-06-30 Paul Brook <paul@codesourcery.com>
|
||||||
|
|
||||||
|
* 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 <froydnj@codesourcery.com>
|
2009-06-25 Nathan Froyd <froydnj@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/arm/eabi/aeabi_lcsts.c (__aeabi_stdin, __aeabi_stdout,
|
* sysdeps/arm/eabi/aeabi_lcsts.c (__aeabi_stdin, __aeabi_stdout,
|
||||||
|
|
|
@ -3,6 +3,7 @@ aeabi_constants = aeabi_lcsts aeabi_sighandlers aeabi_math
|
||||||
aeabi_routines = aeabi_assert aeabi_localeconv aeabi_errno_addr \
|
aeabi_routines = aeabi_assert aeabi_localeconv aeabi_errno_addr \
|
||||||
aeabi_mb_cur_max aeabi_atexit aeabi_memclr aeabi_memcpy \
|
aeabi_mb_cur_max aeabi_atexit aeabi_memclr aeabi_memcpy \
|
||||||
aeabi_memmove aeabi_memset
|
aeabi_memmove aeabi_memset
|
||||||
|
CFLAGS-initfini.s += -fno-asynchronous-unwind-tables -fno-unwind-tables
|
||||||
|
|
||||||
sysdep_routines += $(aeabi_constants) $(aeabi_routines)
|
sysdep_routines += $(aeabi_constants) $(aeabi_routines)
|
||||||
static-only-routines += $(aeabi_constants)
|
static-only-routines += $(aeabi_constants)
|
||||||
|
@ -24,3 +25,7 @@ endif
|
||||||
ifeq ($(subdir),math)
|
ifeq ($(subdir),math)
|
||||||
$(objpfx)libm.so: $(elfobjdir)/ld.so
|
$(objpfx)libm.so: $(elfobjdir)/ld.so
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(subdir),nptl)
|
||||||
|
CFLAGS-pt-initfini.s += -fno-asynchronous-unwind-tables -fno-unwind-tables
|
||||||
|
endif
|
||||||
|
|
Loading…
Reference in New Issue