Re: [PATCH v2] powerpc/vdso: link with -z noexecstack

2022-09-09 Thread Michael Ellerman
On Fri, 2 Sep 2022 17:25:24 +0200, Christophe Leroy wrote: > With recent binutils, the following warning appears: > > VDSO32L arch/powerpc/kernel/vdso/vdso32.so.dbg > /opt/gcc-12.2.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/12.2.0/../../../../powerpc64-linux/bin/ld: > warning: arch

Re: [PATCH v2] powerpc/vdso: link with -z noexecstack

2022-09-06 Thread Christophe Leroy
Le 07/09/2022 à 06:36, Nicholas Piggin a écrit : > On Sat Sep 3, 2022 at 1:25 AM AEST, Christophe Leroy wrote: >> With recent binutils, the following warning appears: >> >>VDSO32L arch/powerpc/kernel/vdso/vdso32.so.dbg >> /opt/gcc-12.2.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/1

Re: [PATCH v2] powerpc/vdso: link with -z noexecstack

2022-09-06 Thread Nicholas Piggin
On Sat Sep 3, 2022 at 1:25 AM AEST, Christophe Leroy wrote: > With recent binutils, the following warning appears: > > VDSO32L arch/powerpc/kernel/vdso/vdso32.so.dbg > /opt/gcc-12.2.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/12.2.0/../../../../powerpc64-linux/bin/ld: > warning: arch

[PATCH v2] powerpc/vdso: link with -z noexecstack

2022-09-02 Thread Christophe Leroy
With recent binutils, the following warning appears: VDSO32L arch/powerpc/kernel/vdso/vdso32.so.dbg /opt/gcc-12.2.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/12.2.0/../../../../powerpc64-linux/bin/ld: warning: arch/powerpc/kernel/vdso/getcpu-32.o: missing .note.GNU-stack section im