Re: [PATCH v2] kallsyms: add support for relative offsets in kallsyms address table

2016-01-21 Thread Ard Biesheuvel
On 21 January 2016 at 11:48, Ard Biesheuvel wrote: > Similar to how relative extables are implemented, it is possible to emit > the kallsyms table in such a way that it contains offsets relative to some > anchor point in the kernel image rather than absolute addresses. The benefit > is that such t

[PATCH v2] kallsyms: add support for relative offsets in kallsyms address table

2016-01-21 Thread Ard Biesheuvel
Similar to how relative extables are implemented, it is possible to emit the kallsyms table in such a way that it contains offsets relative to some anchor point in the kernel image rather than absolute addresses. The benefit is that such table entries are no longer subject to dynamic relocation whe