This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [MIPS] Handle CFLAGS with -funwind-tables.
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Tom de Vries <Tom_deVries at mentor dot com>
- Cc: libc-ports at sources dot redhat dot com
- Date: Wed, 4 Jan 2012 12:07:36 +0000 (UTC)
- Subject: Re: [MIPS] Handle CFLAGS with -funwind-tables.
- References: <4F043B1E.8060903@mentor.com>
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