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
|
| Previous by Date: | Re: [PATCH v1 1/5] scripts: Add sortextable to sort the kernel's exception table., H. Peter Anvin |
|---|---|
| Next by Date: | Re: [PATCH v1 1/5] scripts: Add sortextable to sort the kernel's exception table., Sam Ravnborg |
| Previous by Thread: | Re: [PATCH v1 1/5] scripts: Add sortextable to sort the kernel's exception table., H. Peter Anvin |
| Next by Thread: | Re: [PATCH v1 1/5] scripts: Add sortextable to sort the kernel's exception table., Sam Ravnborg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |