Re: [PATCH] Fix kallsyms dependency

From: Russell King
Date: Sun Aug 08 2004 - 10:55:40 EST


On Sun, Aug 08, 2004 at 05:46:10PM +0200, Sam Ravnborg wrote:
> On Sun, Aug 08, 2004 at 12:32:30PM +0100, Russell King wrote:
> > Hi,
> >
> > It appears that kallsyms data is not updated if the kallsyms program is
> > changed. The following patch adds an appropriate dependency.
>
> Added, and implemented your suggestion in scripts/Makefile
> with a few other CONFIG selections.
>
> Btw. any specific reason to hack kallsyms? Just curious if something
> shows up in this area.

Yes - later ARM binutils adds extra symbols like "$a" and "$d" to the
symbol table as "mapping symbols" (binutils terminology). It's not
clear whether these will continue to be visible via normal tools or
not, and I was considering getting kallsyms to filter them out.

Depending on the outcome of the binutils side depends whether or not
I end up modifying kallsyms to ignore these symbols and whether we
end up saying "binutils earlier than <todays latest and greatest
release> can not be used for ARM."

If a release of binutils is imminent which solves both the mapping
symbol visibility problem and the undefined symbol issue, then I
suspect its just all round easier to prevent the ARM kernel being
built with older binutils versions.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core
-
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/