[PATCH] powerpc/boot: Check for ld-option support
Madhavan Srinivasan
maddy at linux.ibm.com
Mon Apr 21 19:41:28 AEST 2025
On Tue, 01 Apr 2025 06:12:18 +0530, Madhavan Srinivasan wrote:
> Commit 579aee9fc594 ("powerpc: suppress some linker warnings in recent linker versions")
> enabled support to add linker option "--no-warn-rwx-segments",
> if the version is greater than 2.39. Similar build warning were
> reported recently from linker version 2.35.2.
>
> ld: warning: arch/powerpc/boot/zImage.epapr has a LOAD segment with RWX permissions
> ld: warning: arch/powerpc/boot/zImage.pseries has a LOAD segment with RWX permissions
>
> [...]
Applied to powerpc/fixes.
[1/1] powerpc/boot: Check for ld-option support
https://git.kernel.org/powerpc/c/b2accfe7ca5bc9f9af28e603b79bdd5ad8df5c0b
Thanks
More information about the Linuxppc-dev
mailing list