[PATCH v2 0/2] vDSO: Always reject undefined references during linking

Thomas Weißschuh posted 2 patches 11 months, 1 week ago
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(-)
[PATCH v2 0/2] vDSO: Always reject undefined references during linking
Posted by Thomas Weißschuh 11 months, 1 week ago
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@linutronix.de>
---
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@linutronix.de

---
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@linutronix.de>