powerpc: suppress some linker warnings in recent linker versions
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Oct 2022 05:57:21 +0000 (16:57 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 24 Nov 2022 12:31:49 +0000 (23:31 +1100)
commit579aee9fc594af94c242068c011b0233563d4bbf
treef6aa25c86303ba134122c2dd946cc628597c492a
parent2cb1dfac6f792f9e4a092793215f0d26e9f8d5b2
powerpc: suppress some linker warnings in recent linker versions

This is a follow on from commit

  0d362be5b142 ("Makefile: link with -z noexecstack --no-warn-rwx-segments")

for arch/powerpc/boot to address wanrings like:

  ld: warning: opal-calls.o: missing .note.GNU-stack section implies executable stack
  ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker
  ld: warning: arch/powerpc/boot/zImage.epapr has a LOAD segment with RWX permissions

This fixes issue https://github.com/linuxppc/issues/issues/417

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221010165721.106267e6@canb.auug.org.au
arch/powerpc/boot/wrapper