Messages in this thread | | | Date | Thu, 19 Apr 2012 21:54:49 -0700 | From | "H. Peter Anvin" <> | Subject | Re: [PATCH v1 1/5] scripts: Add sortextable to sort the kernel's exception table. |
| |
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
| |