Instead of using a custom script to detect and fail on undefined references, use --no-undefined for all VDSO linker invocations. Drop the now unused checkundef.sh scripts. These patches can be picked up by the architecture maintainers. Signed-off-by: Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx> --- Changes in v2: - Rebase unto current torvalds/master - Drop already applied patch for UM - Drop spurious "in" from patch subjects - Link to v1: https://lore.kernel.org/r/20241011-vdso-checkundef-v1-0-1a46e0352d20@xxxxxxxxxxxxx --- Thomas Weißschuh (2): x86: vdso: Always reject undefined references during linking sparc: vdso: Always reject undefined references during linking arch/sparc/vdso/Makefile | 7 +++---- arch/sparc/vdso/checkundef.sh | 10 ---------- arch/x86/entry/vdso/Makefile | 7 +++---- arch/x86/entry/vdso/checkundef.sh | 10 ---------- 4 files changed, 6 insertions(+), 28 deletions(-) --- base-commit: 848e076317446f9c663771ddec142d7c2eb4cb43 change-id: 20241011-vdso-checkundef-f6dd0612025b Best regards, -- Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>