Re: [PATCH] Pass -g to assembler under CONFIG_DEBUG_INFO

From: Adrian Bunk
Date: Fri Jul 13 2007 - 21:09:26 EST


On Wed, Jul 11, 2007 at 04:53:08PM -0700, Andrew Morton wrote:
> On Wed, 11 Jul 2007 16:40:29 -0700 (PDT)
> Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> >
> >
> > On Wed, 11 Jul 2007, Andrew Morton wrote:
> > >
> > > OK, thanks. So I ended up with the below as a probably-2.6.23 thing:
> > > ...
> > > +AFLAGS += $(call as-option, -gdwarf)
> >
> > "-gdwarf2?"
> >
>
> yep, that's what the kgdb tree was using - I'll fix it up.

Since even gcc 3.2 already supports -gdwarf-2, you can drop
the as-option check.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
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/