[PATCH] Makefile: link with --no-warn-rwx-segments
Tom Rini
trini at konsulko.com
Tue Dec 13 17:36:36 CET 2022
On Wed, Dec 07, 2022 at 03:49:43PM -0500, Tom Rini wrote:
> We borrow from the Linux Kernel 0d362be5b142 ("Makefile: link with -z
> noexecstack --no-warn-rwx-segments") here to disable the RWX segment
> linking warnings. We do not also bring in -z noexecstack as that
> requires auditing and using ".note.GNU-stack" on assembly functions
> which do need this feature. Further, we now introduce KBUILD_EFILDFLAGS
> so that we can also pass --no-warn-rwx-segments when linking EFI
> applications, and those do explicitly pass -z execstack.
>
> Cc: Heinrich Schuchardt <xypron.glpk at gmx.de>
> Cc: Ilias Apalodimas <ilias.apalodimas at linaro.org>
> Signed-off-by: Tom Rini <trini at konsulko.com>
> Reviewed-by: Nick Desaulniers <ndesaulniers at google.com>
> Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
Applied to u-boot/next, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20221213/9f1a7809/attachment.sig>
More information about the U-Boot
mailing list