2011-12-20 Tom de Vries * sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c. * sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables. diff --git a/sysdeps/mips/Makefile b/sysdeps/mips/Makefile index 9d01522..b7e5e61 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 0000000..2970294 --- /dev/null +++ b/sysdeps/mips/backtrace.c @@ -0,0 +1 @@ +#include