Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Joey Gouly <joey.gouly@arm.com>
To: <linux-arm-kernel@lists.infradead.org>
Cc: <nd@arm.com>, <catalin.marinas@arm.com>, <joey.gouly@arm.com>,
	<keescook@chromium.org>, <masahiroy@kernel.org>,
	<vincenzo.frascino@arm.com>,  <will@kernel.org>
Subject: [PATCH v5 0/4] Enable orphan-handling=warn for VDSO
Date: Tue, 10 May 2022 10:58:30 +0100	[thread overview]
Message-ID: <20220510095834.32394-1-joey.gouly@arm.com> (raw)

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

             reply	other threads:[~2022-05-10 10:01 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-10  9:58 Joey Gouly [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220510095834.32394-1-joey.gouly@arm.com \
    --to=joey.gouly@arm.com \
    --cc=catalin.marinas@arm.com \
    --cc=keescook@chromium.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=masahiroy@kernel.org \
    --cc=nd@arm.com \
    --cc=vincenzo.frascino@arm.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox