linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] link vdso with linker
@ 2020-09-01 22:25 Nick Desaulniers
  2020-09-01 22:25 ` [PATCH 1/2] powerpc/vdso64: link vdso64 " Nick Desaulniers
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Nick Desaulniers @ 2020-09-01 22:25 UTC (permalink / raw)
  To: Michael Ellerman, Nicholas Piggin
  Cc: Benjamin Herrenschmidt, Paul Mackerras, Joe Lawrence,
	Christophe Leroy, linuxppc-dev, linux-kernel, clang-built-linux,
	Kees Cook, Fangrui Song, Nick Desaulniers

Kees Cook is working on series that adds --orphan-section=warn to arm,
arm64, and x86.  I noticed that ppc vdso were still using cc-ldoption
for these which I removed.  It seems this results in that flag being
silently dropped.

I'm very confident with the first patch, but the second needs closer
review around the error mentioned below the fold related to the .got
section.

Nick Desaulniers (2):
  powerpc/vdso64: link vdso64 with linker
  powerpc/vdso32: link vdso64 with linker

 arch/powerpc/include/asm/vdso.h         | 17 ++---------------
 arch/powerpc/kernel/vdso32/Makefile     |  7 +++++--
 arch/powerpc/kernel/vdso32/vdso32.lds.S |  3 ++-
 arch/powerpc/kernel/vdso64/Makefile     |  8 ++++++--
 arch/powerpc/kernel/vdso64/vdso64.lds.S |  1 -
 5 files changed, 15 insertions(+), 21 deletions(-)

-- 
2.28.0.402.g5ffc5be6b7-goog


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

end of thread, other threads:[~2022-03-02 16:48 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-01 22:25 [PATCH 0/2] link vdso with linker Nick Desaulniers
2020-09-01 22:25 ` [PATCH 1/2] powerpc/vdso64: link vdso64 " Nick Desaulniers
2020-09-02 12:14   ` Michael Ellerman
2020-09-02 17:41     ` Nick Desaulniers
2020-09-02 18:02       ` Christophe Leroy
2021-04-22 22:44         ` Nick Desaulniers
2021-04-23  7:40           ` Christophe Leroy
2021-04-23 17:18           ` Christophe Leroy
2022-03-02 16:48   ` Christophe Leroy
2020-09-01 22:25 ` [PATCH 2/2] powerpc/vdso32: " Nick Desaulniers
2020-09-02  2:58   ` Kees Cook
2020-09-02  6:46   ` Christophe Leroy
2020-09-02 14:14     ` Segher Boessenkool
2020-09-02 15:43       ` Christophe Leroy
2020-09-02 16:57         ` Segher Boessenkool
2020-09-02  7:56   ` Christophe Leroy
2020-09-02 10:16   ` Christophe Leroy
2020-09-02  5:21 ` [PATCH 0/2] link vdso " Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).