]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/build: move .data.rel.ro, .sdata2 to read-only
authorNicholas Piggin <npiggin@gmail.com>
Fri, 16 Sep 2022 04:07:52 +0000 (14:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Sep 2022 10:58:17 +0000 (20:58 +1000)
commit97a0e7b619117d9a4e999f9122ebb9cf34d16c80
tree591b86eddc3b68e5555e30b7d97d93d5d35722b4
parent0ce1b89d2c3952b7eb78477a93529796f0b2e316
powerpc/build: move .data.rel.ro, .sdata2 to read-only

.sdata2 is a readonly small data section for ppc32, and .data.rel.ro
is data that needs relocating but is read-only after that so these
can both be moved to the read only memory region.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220916040755.2398112-5-npiggin@gmail.com
arch/powerpc/kernel/vmlinux.lds.S