Re: [PATCH 1/2] powerpc/vdso64: link vdso64 with linker

From: Christophe Leroy
Date: Wed Sep 02 2020 - 14:02:37 EST




Le 02/09/2020 à 19:41, Nick Desaulniers a écrit :
On Wed, Sep 2, 2020 at 5:14 AM Michael Ellerman <mpe@xxxxxxxxxxxxxx> wrote:

Nick Desaulniers <ndesaulniers@xxxxxxxxxx> writes:
Fixes: commit f2af201002a8 ("powerpc/build: vdso linker warning for orphan sections")

I think I'll just revert that for v5.9 ?

SGTM; you'll probably still want these changes with some modifications
at some point; vdso32 did have at least one orphaned section, and will
be important for hermetic builds. Seeing crashes in supported
versions of the tools ties our hands at the moment.


Keeping the tool problem aside with binutils 2.26, do you have a way to really link an elf32ppc object when building vdso32 for PPC64 ?

Christophe