Re: [PATCH 1/6] kbuild: Remove relocations from kallsyms table

From: H. Peter Anvin
Date: Tue Feb 18 2014 - 09:29:44 EST


On 02/18/2014 06:24 AM, Andi Kleen wrote:
> From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
>
> Remove the ELF relocations from the kallsyms_address[] table.
> Instead we just store offsets to _text and relocate that while
> accessing the kallsyms table. This is done with a new
> kallsyms_offsets[] table. With these changes .tmp_kallsyms*.o
> becomes relocation free.
>
> In theory this would also allow to shrink the kallsyms table
> on 64bit by using offsets.
>

Why not do that, then?

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