Re: [PATCH] CONFIG_UNWIND_INFO

From: Sam Ravnborg
Date: Sat Jan 14 2006 - 09:01:39 EST


On Sat, Jan 14, 2006 at 04:56:35AM -0800, Andrew Morton wrote:
>
> > Index: linux/Makefile
> > ===================================================================
> > --- linux.orig/Makefile
> > +++ linux/Makefile
> > @@ -502,6 +502,10 @@ CFLAGS += $(call add-align,CONFIG_CC_AL
> > CFLAGS += $(call add-align,CONFIG_CC_ALIGN_LOOPS,-loops)
> > CFLAGS += $(call add-align,CONFIG_CC_ALIGN_JUMPS,-jumps)
> >
> > +ifdef CONFIG_UNWIND_INFO
> > +CFLAGS += -fasynchronous-unwind-tables
> > +endif
Is this option available on all gcc's for all archs?
Otherwise you have to do:
CFLAGS += $(call cc-option,-fasynchronous-unwind-tables,)

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/