mbox series

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

Message ID 20220413101832.4594-1-joey.gouly@arm.com (mailing list archive)
Headers show
Series Enable orphan-handling=warn for VDSO | expand

Message

Joey Gouly April 13, 2022, 10:18 a.m. UTC
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(-)