[PATCH v3 0/4] Enable orphan-handling=warn for VDSO

Joey Gouly joey.gouly at arm.com
Wed Apr 13 03:18:28 PDT 2022


Hi all,

This small series enables the orphan-handling linker flag for the VDSO.
This could catch subtle errors if features that use special sections are
introduced into the VDSO implementation.

Changes from v2 [1]:
  - Include vdso compat support

Thanks,
Joey

[1]: https://lore.kernel.org/linux-arm-kernel/20220407101304.539-1-joey.gouly@arm.com/

Joey Gouly (4):
  arm64: vdso: put ELF related sections in the linker script
  arm64: vdso: enable orphan handling for VDSO
  arm64: vdso32: put ELF related sections in the linker script
  arm64: vdso32: enable orphan handling for VDSO

 arch/arm64/kernel/vdso/Makefile     | 8 +++++++-
 arch/arm64/kernel/vdso/vdso.lds.S   | 4 ++++
 arch/arm64/kernel/vdso32/Makefile   | 1 +
 arch/arm64/kernel/vdso32/vdso.lds.S | 4 ++++
 4 files changed, 16 insertions(+), 1 deletion(-)

-- 
2.17.1




More information about the linux-arm-kernel mailing list