This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [MIPS] Handle CFLAGS with -funwind-tables.


On Wed, 4 Jan 2012, Tom de Vries wrote:

> The fix is also present in glibc-ports/sysdeps/arm/eabi/Makefile.

Thanks, I have applied this.  I suspect really this (and the 
-funwind-tables for backtrace) ought to be in generic code in libc rather 
than replicated for various targets.  csu/Makefile already uses $(patsubst 
-f%,-fno-%,$(exceptions)), but -fno-exceptions is the default for C and 
not enough to disable unwind tables (so, the suggestion would be to use 
-fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables 
unconditionally for these files, and -funwind-tables unconditionally for 
backtrace).

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]