aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/platforms/512x
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-09-02 17:25:24 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-09-05 17:28:25 +1000
commit1d53c0192b15f42129a3dbbbfa05637bcf781a3e (patch)
tree9ccf1c8288f0ca33ef861a2de4bc9fa40b1ee5ba /arch/powerpc/platforms/512x
parent7245fc5bb7a966852d5bd7779d1f5855530b461a (diff)
powerpc/vdso: link with -z noexecstack
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, explicitly tell the linker we don't want executable stack. For more explanations, see commit ffcf9c5700e4 ("x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments") Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/b95f2e3216a574837dd61208444e9515c3423da4.1662132312.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'arch/powerpc/platforms/512x')
0 files changed, 0 insertions, 0 deletions