Re: [PATCH v1 1/5] scripts: Add sortextable to sort the kernel'sexception table.

From: H. Peter Anvin
Date: Fri Apr 20 2012 - 00:56:49 EST


On 04/19/2012 09:49 PM, H. Peter Anvin wrote:
>
> Ah, apparently it is possible to generate relocations relative to the
> start of the current section.
>

Nevermind... I'm wrong. The assembler will generate them but the linker
will produce garbage.

So I think using PC-relative relocations and have the postprocessor (or
the sort in the module loader) convert them to section-relative makes
sense...

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