diff options
author | Nicholas Piggin | 2022-09-16 14:07:51 +1000 |
---|---|---|
committer | Michael Ellerman | 2022-09-26 20:58:17 +1000 |
commit | f21ba4499a15b76ad6013ca0a60873dbcf164c7b (patch) | |
tree | c74a51f7b85fc4d0c19c60a2dfe76fbb6d868096 /mm/kfence | |
parent | 1faa1235c1a00614bc4849a8dbd0790363c9a22f (diff) |
powerpc/build: move got, toc, plt, branch_lt sections to read-only
This moves linker-related tables from .data to read-only area.
Relocations are performed at early boot time before memory is protected,
after which there should be no modifications required.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
[mpe: Don't use SPECIAL as reported by lkp@intel.com]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220916040755.2398112-4-npiggin@gmail.com
Diffstat (limited to 'mm/kfence')
0 files changed, 0 insertions, 0 deletions