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/powerpc/kernel/vdso/getcpu-32.o: missing .note.GNU-stack > section implies executable stack > /opt/gcc-12.2.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/12.2.0/../../../../powerpc64-linux/bin/ld: > NOTE: This behaviour is deprecated and will be removed in a future version > of the linker > > To avoid that, explicitely tell the linker we don't > want executable stack. > > [...]
Applied to powerpc/next. [1/1] powerpc/vdso: link with -z noexecstack https://git.kernel.org/powerpc/c/1d53c0192b15f42129a3dbbbfa05637bcf781a3e cheers