Re: "N" symbols and System.map

H. Peter Anvin
2009-05-04T21:26:23Z

Andreas Schwab wrote:
> Sam Ravnborg <sam@ravnborg.org> writes:
>
>> Andreas - can you explain what is happning here?
>
> My best guess would be that it has to do with the fact that the _end
> symbol is attached to the .end section which is located before the debug
> sections, but the .end section is empty, so the symbol has the same
> address as the following debug section. The ppc linker script does not
> attach the _end symbol to any section, so it becomes an absolute symbol.
>

Yes; we used to do that in x86 too, but it messes up the post-processing
for the relocatable kernel.

-hpa