[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Patches] [MIPS] Use ia64 backtrace.c.



On 03/01/12 23:05, Joseph S. Myers wrote:
> On Tue, 3 Jan 2012, Tom de Vries wrote:
> 
>> 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.
> 
> The best approach for this sort of thing is to send the EGLIBC patch after 
> a regular bulk merge from FSF has brought the FSF changes into EGLIBC, to 
> avoid conflicting with such merges.  Could you send a patch relative to 
> EGLIBC after my most recent merge, so including only the changes that are 
> genuinely local to EGLIBC?
> 

Here it is.

Btw, forgot to mention: I tested the patch on MIPS qemu (mips-linux-gnu) with
host i686-pc-linux-gnu.

Thanks,
- Tom
2012-01-04  Tom de Vries  <tom@xxxxxxxxxxxxxxxx>

	* sysdeps/mips/Makefile: Compile tst-backtrace{2,3,4,5,6} with
	-funwind-tables.

Index: sysdeps/mips/Makefile
===================================================================
--- sysdeps/mips/Makefile (revision 16507)
+++ sysdeps/mips/Makefile (working copy)
@@ -13,6 +13,11 @@ 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