[PATCH 0/3] vdso: Always reject undefined references in during linking

From: Thomas Weißschuh
Date: Fri Oct 11 2024 - 05:19:07 EST


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>
---
Thomas Weißschuh (3):
x86: vdso: Always reject undefined references in during linking
um: vdso: Always reject undefined references in during linking
sparc: vdso: Always reject undefined references in 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 ----------
arch/x86/um/vdso/Makefile | 5 ++---
arch/x86/um/vdso/checkundef.sh | 11 -----------
6 files changed, 8 insertions(+), 42 deletions(-)
---
base-commit: 8cf0b93919e13d1e8d4466eb4080a4c4d9d66d7b
change-id: 20241011-vdso-checkundef-f6dd0612025b

Best regards,
--
Thomas Weißschuh <thomas.weissschuh@xxxxxxxxxxxxx>