arm64: vdso*: place got/plt sections in .rodata
authorJoey Gouly <joey.gouly@arm.com>
Tue, 28 Jun 2022 15:13:07 +0000 (16:13 +0100)
committerWill Deacon <will@kernel.org>
Tue, 28 Jun 2022 16:41:44 +0000 (17:41 +0100)
commit4274929c7ee6f442c3f89c5da64d112a9de4a6ba
tree80d9aaff391ba22a52da3a69e6920a111e85392d
parent5c4fb60816ea55f66a046cc3662ca379aed52f7b
arm64: vdso*: place got/plt sections in .rodata

The vDSO will not contain absolute relocations, so place these
sections in .rodata.

Signed-off-by: Joey Gouly <joey.gouly@arm.com>
Link: https://lore.kernel.org/linux-arm-kernel/00abb0c5-6360-0004-353f-e7a88b3bd22c@arm.com/
Cc: Will Deacon <will@kernel.org>
Cc: Vincenzo Frascino <vincenzo.frascino@arm.com>
Link: https://lore.kernel.org/r/20220628151307.35561-3-joey.gouly@arm.com
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/vdso/vdso.lds.S
arch/arm64/kernel/vdso32/vdso.lds.S