Re: ARM undefined symbols. Again.

Paulo Marques
2005-02-25T21:19:50Z

Sam Ravnborg wrote:
> On Fri, Feb 25, 2005 at 08:54:56PM +0000, Paulo Marques wrote:
>
>>The patch (against 2.6.11-rc5) is attached, should you decide to use it.
>
> How does the patch help rmk with respect to the tools issue?

From the thread I gathered that the problem Russell King was having was
caused by the fact that kallsyms used "weak" symbols.

He proposed a solution where he created an empty assembly file with just
the symbols defined to make the symbols exist already on the first pass.
This way they wouldn't have to be defined as weak anymore.

His patch created the assembly file using "echo's" from the Makefile. I
just suggested that it would be better to do it from scripts/kallsyms.c
directly, so that it would be easier to maintain in case new symbols
need to be added in the future.

That's what this patch does.

By the way, I'm not really sure about my changes to the Makefile,
although they comply with Linus Confidence Level 3(*). I think you're
the one with the best understanding on the kbuild process to comment on
them.

--
Paulo Marques - www.grupopie.com

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke (1729 - 1797)

(*) It works