powerpc/vdso: Block R_PPC_REL24 relocations
authorMichael Ellerman <mpe@ellerman.id.au>
Fri, 18 Dec 2020 11:16:17 +0000 (22:16 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 21 Dec 2020 11:06:25 +0000 (22:06 +1100)
commit42ed6d56ade21f367f27aa5915cc397510cfdef5
tree4abc2937f218022ef6ee2a40bc069b3de890d171
parent9014eab6a38c60fd185bc92ed60f46cf99a462ab
powerpc/vdso: Block R_PPC_REL24 relocations

Add R_PPC_REL24 relocations to the list of relocations we do NOT
support in the VDSO.

These are generated in some cases and we do not support relocating
them at runtime, so if they appear then the VDSO will not work at
runtime, therefore it's preferable to break the build if we see them.

Fixes: ab037dd87a2f ("powerpc/vdso: Switch VDSO to generic C implementation.")
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201218111619.1206391-1-mpe@ellerman.id.au
arch/powerpc/kernel/vdso32/Makefile
arch/powerpc/kernel/vdso64/Makefile