diff --git a/ChangeLog.mips b/ChangeLog.mips index 8e60fb276a..4bb1a4db5e 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,8 @@ +2012-01-03 Tom de Vries + + * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c. + * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables. + 2011-12-22 Joseph Myers * sysdeps/unix/sysv/linux/mips/Makefile (no_syscall_list_h) diff --git a/sysdeps/mips/Makefile b/sysdeps/mips/Makefile index 9d01522a37..b7e5e6192b 100644 --- a/sysdeps/mips/Makefile +++ b/sysdeps/mips/Makefile @@ -11,4 +11,8 @@ ifeq ($(subdir),rt) librt-sysdep_routines += rt-sysdep endif +ifeq ($(subdir),debug) +CFLAGS-backtrace.c += -funwind-tables +endif + ASFLAGS-.os += $(pic-ccflag) diff --git a/sysdeps/mips/backtrace.c b/sysdeps/mips/backtrace.c new file mode 100644 index 0000000000..297029456d --- /dev/null +++ b/sysdeps/mips/backtrace.c @@ -0,0 +1 @@ +#include