[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Patches] [MIPS] Use ia64 backtrace.c.
- To: "Joseph S. Myers" <joseph@xxxxxxxxxxxxxxxx>
- Subject: [Patches] [MIPS] Use ia64 backtrace.c.
- From: Tom de Vries <Tom_deVries@xxxxxxxxxx>
- Date: Tue, 3 Jan 2012 17:48:53 +0100
Joseph,
this is the eglibc version of the approved
http://sourceware.org/ml/libc-ports/2011-12/msg00052.html, which additionally
enables -funwind-tables for tst-backtrace{2,3,4,5,6}, which allows them to pass.
Thanks,
- Tom
2012-01-03 Tom de Vries <tom@xxxxxxxxxxxxxxxx>
* sysdeps/mips/backtrace.c: New file, including ia64 backtrace.c.
* sysdeps/mips/Makefile: Compile backtrace.c with -funwind-tables.
Compile tst-backtrace{2,3,4,5,6} with -funwind-tables.
Index: src/glibc-ports-mainline/sysdeps/mips/backtrace.c
===================================================================
--- /dev/null (new file)
+++ src/glibc-ports-mainline/sysdeps/mips/backtrace.c (revision 0)
@@ -0,0 +1 @@
+#include <sysdeps/ia64/backtrace.c>
Index: src/glibc-ports-mainline/sysdeps/mips/Makefile
===================================================================
--- src/glibc-ports-mainline/sysdeps/mips/Makefile (revision 16334)
+++ src/glibc-ports-mainline/sysdeps/mips/Makefile (working copy)
@@ -11,4 +11,13 @@ ifeq ($(subdir),rt)
librt-sysdep_routines += rt-sysdep
endif
+ifeq ($(subdir),debug)
+CFLAGS-backtrace.c += -funwind-tables
+CFLAGS-tst-backtrace2.c += -funwind-tables
+CFLAGS-tst-backtrace3.c += -funwind-tables
+CFLAGS-tst-backtrace4.c += -funwind-tables
+CFLAGS-tst-backtrace5.c += -funwind-tables
+CFLAGS-tst-backtrace6.c += -funwind-tables
+endif
+
ASFLAGS-.os += $(pic-ccflag)
_______________________________________________
Patches mailing list
Patches@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/patches