Use IA64 backtrace on MIPS.

This commit is contained in:
Tom de Vries 2012-01-03 16:20:45 +00:00 committed by Joseph Myers
parent 8a70b2dcab
commit 04d4502636
3 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-01-03 Tom de Vries <tom@codesourcery.com>
* sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
* sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
2011-12-22 Joseph Myers <joseph@codesourcery.com> 2011-12-22 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h) * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h)

View File

@ -11,4 +11,8 @@ ifeq ($(subdir),rt)
librt-sysdep_routines += rt-sysdep librt-sysdep_routines += rt-sysdep
endif endif
ifeq ($(subdir),debug)
CFLAGS-backtrace.c += -funwind-tables
endif
ASFLAGS-.os += $(pic-ccflag) ASFLAGS-.os += $(pic-ccflag)

1
sysdeps/mips/backtrace.c Normal file
View File

@ -0,0 +1 @@
#include <sysdeps/ia64/backtrace.c>