Use -fno-unwind-tables for *initfini* on MIPS.

This commit is contained in:
Tom de Vries 2012-01-04 12:03:20 +00:00 committed by Joseph Myers
parent a80fb81672
commit 32a6153180
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-01-04 Tom de Vries <tom@codesourcery.com>
* sysdeps/mips/Makefile: Compile initfini.c, pt-initfini.c with
-fno-unwind-tables.
2012-01-03 Tom de Vries <tom@codesourcery.com>
* sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.

View File

@ -15,4 +15,12 @@ ifeq ($(subdir),debug)
CFLAGS-backtrace.c += -funwind-tables
endif
ifeq ($(subdir),csu)
CFLAGS-initfini.s += -fno-unwind-tables
endif
ifeq ($(subdir),nptl)
CFLAGS-pt-initfini.s += -fno-unwind-tables
endif
ASFLAGS-.os += $(pic-ccflag)