[PATCH v2 5/9] powerpc/vmlinux.lds: Align __init_begin to 16M
Nicholas Piggin
npiggin at gmail.com
Sun Jun 4 14:22:14 AEST 2017
On Sat, 3 Jun 2017 17:18:39 +1000
Balbir Singh <bsingharora at gmail.com> wrote:
> For CONFIG_STRICT_KERNEL_RWX align __init_begin to 16M.
> We use 16M since its the larger of 2M on radix and 16M
> on hash for our linear mapping. The plan is to have
> .text, .rodata and everything upto __init_begin marked
> as RX. Note we still have executable read only data.
> We could further align read only data to another 16M
> boundary, but then the linker starts using stubs and
> that breaks our assembler code in head_64.S
Is this still the case with powerpc next?
Thanks,
Nick
More information about the Linuxppc-dev
mailing list