All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 0/4] Enable orphan-handling=warn for VDSO
@ 2022-05-10  9:58 Joey Gouly
  2022-05-10  9:58 ` [PATCH v5 1/4] arm64: vdso: put ELF related sections in the linker script Joey Gouly
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Joey Gouly @ 2022-05-10  9:58 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: nd, catalin.marinas, joey.gouly, keescook, masahiroy,
	vincenzo.frascino, will

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.

Tested by running the VDSO self tests.
Tested building with LLVM LLD and Binutils LD linkers.

Changes from v4 [1]:
  - Add more sections that showed up when using binutils ld

Thanks,
Joey

[1]: https://lore.kernel.org/linux-arm-kernel/20220414104611.17748-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   | 16 ++++++++++++++++
 arch/arm64/kernel/vdso32/Makefile   |  1 +
 arch/arm64/kernel/vdso32/vdso.lds.S | 22 +++++++++++++++++++++-
 4 files changed, 45 insertions(+), 2 deletions(-)

-- 
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-06-23 19:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-10  9:58 [PATCH v5 0/4] Enable orphan-handling=warn for VDSO Joey Gouly
2022-05-10  9:58 ` [PATCH v5 1/4] arm64: vdso: put ELF related sections in the linker script Joey Gouly
2022-05-10 10:39   ` Vincenzo Frascino
2022-05-10  9:58 ` [PATCH v5 2/4] arm64: vdso: enable orphan handling for VDSO Joey Gouly
2022-05-10  9:58 ` [PATCH v5 3/4] arm64: vdso32: put ELF related sections in the linker script Joey Gouly
2022-05-10  9:58 ` [PATCH v5 4/4] arm64: vdso32: enable orphan handling for VDSO Joey Gouly
2022-06-23 17:53 ` [PATCH v5 0/4] Enable orphan-handling=warn " Will Deacon
2022-06-23 18:05   ` Joey Gouly
2022-06-23 19:34     ` Will Deacon
2022-06-23 19:31 ` Will Deacon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.