OpenCloudOS-Kernel/arch/powerpc/kernel/vdso
Christophe Leroy af4d5630d9 powerpc/vdso: Don't discard rela sections
[ Upstream commit 6114139c3bdde992f4a19264e4f9bfc100d8d776 ]

After building the VDSO, there is a verification that it contains
no dynamic relocation, see commit aff69273af ("vdso: Improve
cmd_vdso_check to check all dynamic relocations").

This verification uses readelf -r and doesn't work if rela sections
are discarded.

Fixes: 8ad57add77 ("powerpc/build: vdso linker warning for orphan sections")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/45c3e6fc76cad05ad2cac0f5b5dfb4fae86dc9d6.1724153239.git.christophe.leroy@csgroup.eu
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-09-12 11:11:44 +02:00
..
.gitignore
Makefile Kbuild updates for v6.5 2023-07-01 09:24:31 -07:00
cacheflush.S powerpc/vdso: Fix __kernel_sync_dicache sequence with coherent icache 2022-07-27 21:36:04 +10:00
datapage.S
gen_vdso32_offsets.sh
gen_vdso64_offsets.sh
getcpu.S
gettimeofday.S powerpc: add CFUNC assembly label annotation 2023-04-20 12:54:24 +10:00
note.S
sigtramp32.S
sigtramp64.S
vdso32.lds.S powerpc/vdso: Don't discard rela sections 2024-09-12 11:11:44 +02:00
vdso64.lds.S powerpc/vdso: Don't discard rela sections 2024-09-12 11:11:44 +02:00
vgettimeofday.c