[PATCH v2 0/2] Enable orphan-handling=warn for VDSO

Joey Gouly joey.gouly at arm.com
Thu Apr 7 03:13:02 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 v1[1]:
  - Include vmlinux.ld.h directly, to use macros
  - Include DWARF sections in linker script

Thanks,
Joey

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

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

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

-- 
2.17.1




More information about the linux-arm-kernel mailing list