From: Catalin Marinas <catalin.marinas@arm.com>
To: Joey Gouly <joey.gouly@arm.com>
Cc: linux-arm-kernel@lists.infradead.org, nd@arm.com,
keescook@chromium.org, masahiroy@kernel.org,
vincenzo.frascino@arm.com, will@kernel.org
Subject: Re: [PATCH v4 0/4] Enable orphan-handling=warn for VDSO
Date: Wed, 27 Apr 2022 19:20:34 +0100 [thread overview]
Message-ID: <YmmJct/DZmV4i4G/@arm.com> (raw)
In-Reply-To: <20220414104611.17748-1-joey.gouly@arm.com>
Hi Joey,
On Thu, Apr 14, 2022 at 11:46:07AM +0100, Joey Gouly wrote:
> 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.
Building the 5.18-rc3 kernel with these patches, I get lots of:
aarch64-linux-ld: warning: orphan section `.rela.got' from `arch/arm64/kernel/vdso/vgettimeofday.o' being placed in section `.rela.dyn'
aarch64-linux-ld: warning: orphan section `.got' from `arch/arm64/kernel/vdso/vgettimeofday.o' being placed in section `.got'
aarch64-linux-ld: warning: orphan section `.got.plt' from `arch/arm64/kernel/vdso/vgettimeofday.o' being placed in section `.got.plt'
aarch64-linux-ld: warning: orphan section `.plt' from `arch/arm64/kernel/vdso/vgettimeofday.o' being placed in section `.plt'
aarch64-linux-ld: warning: orphan section `.rela.plt' from `arch/arm64/kernel/vdso/vgettimeofday.o' being placed in section `.rela.dyn'
arm-linux-gnueabihf-ld: warning: orphan section `.glue_7' from `linker stubs' being placed in section `.glue_7'
arm-linux-gnueabihf-ld: warning: orphan section `.glue_7t' from `linker stubs' being placed in section `.glue_7t'
arm-linux-gnueabihf-ld: warning: orphan section `.vfp11_veneer' from `linker stubs' being placed in section `.vfp11_veneer'
arm-linux-gnueabihf-ld: warning: orphan section `.v4_bx' from `linker stubs' being placed in section `.v4_bx'
arm-linux-gnueabihf-ld: warning: orphan section `.rel.got' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.rel.dyn'
arm-linux-gnueabihf-ld: warning: orphan section `.got.plt' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.got.plt'
arm-linux-gnueabihf-ld: warning: orphan section `.plt' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.plt'
arm-linux-gnueabihf-ld: warning: orphan section `.iplt' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.iplt'
arm-linux-gnueabihf-ld: warning: orphan section `.rel.iplt' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.rel.dyn'
arm-linux-gnueabihf-ld: warning: orphan section `.igot.plt' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.igot.plt'
arm-linux-gnueabihf-ld: warning: orphan section `.rel.text' from `arch/arm64/kernel/vdso32/note.o' being placed in section `.rel.dyn'
Do they need fixing or there's something wrong with my toolchain?
--
Catalin
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-04-27 18:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-14 10:46 [PATCH v4 0/4] Enable orphan-handling=warn for VDSO Joey Gouly
2022-04-14 10:46 ` [PATCH v4 1/4] arm64: vdso: put ELF related sections in the linker script Joey Gouly
2022-04-14 10:46 ` [PATCH v4 2/4] arm64: vdso: enable orphan handling for VDSO Joey Gouly
2022-04-14 10:46 ` [PATCH v4 3/4] arm64: vdso32: put ELF related sections in the linker script Joey Gouly
2022-04-14 17:22 ` Kees Cook
2022-04-19 11:00 ` Vincenzo Frascino
2022-04-14 10:46 ` [PATCH v4 4/4] arm64: vdso32: enable orphan handling for VDSO Joey Gouly
2022-04-14 17:22 ` Kees Cook
2022-04-19 11:01 ` Vincenzo Frascino
2022-04-19 11:10 ` [PATCH v4 0/4] Enable orphan-handling=warn " Vincenzo Frascino
2022-04-19 12:16 ` Joey Gouly
2022-04-19 12:53 ` Vincenzo Frascino
2022-04-27 18:20 ` Catalin Marinas [this message]
2022-04-28 16:11 ` Joey Gouly
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=YmmJct/DZmV4i4G/@arm.com \
--to=catalin.marinas@arm.com \
--cc=joey.gouly@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 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.