Re: [tip:x86/urgent] x86: Add back _end symbol that is missing fromSymbol.map

From: H. Peter Anvin
Date: Sun Nov 08 2009 - 11:37:04 EST


On 11/08/2009 03:38 AM, Sam Ravnborg wrote:
>
> I'm afraid this will break a RELOCTABLE i386 kernel.
>
> We fixed this up some time ago where we had to
> move the symbol definition inside a section
> to prevent the symbol being absolute.
>

It's also possible to have a whitelist of "known relative" symbols in
reloc.c, just as we have a blacklist of "known absolute" symbols.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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