Re: ./scripts/kallsyms.c question

From: Sam Ravnborg
Date: Sun Jul 09 2006 - 23:08:38 EST


On Sun, Jul 09, 2006 at 10:26:39PM -0400, Robin Getz wrote:
> The application kallsyms generate assembler source containing symbol
> information, where "symbol information" is in these pre-defined names:
>
> _stext, _etext, _sinittext, _einittext, _sextratext, _eextratext
>
> I am working with a processor (Blackfin) which uses these plus two others
> _stext_l1, and _etext_l1.
>
> I can add these in the same fashion as the existing (see below), but was
> wondering if this shouldn't be re-structured with a struct/loop rather than
> the existing n lines of if/else?
Keep the existing if/else - it is still readable.
But please add a comment describing that it is blackfin that requires
these two odd sections.

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/