[PATCH] ld: harmonize the value of --enable-warn-execstack=no option

Clément Chigot chigot@adacore.com
Tue May 17 12:51:40 GMT 2022


This patch sets the configure value of warn-execstack to 2 when
disabled as expected by bfd.

ld/ChangeLog:

        * configure.ac: Update ac_default_ld_warn_execstack value when
        --enable-warn-execstack=no is given.
        * configure: Regenerate
        * testsuite/ld-elf/elf.exp: Add --warn-execstack to ensure
        the warning is always shown.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ld-harmonize-the-value-of-enable-warn-execstack-no-o.patch
Type: text/x-patch
Size: 2043 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20220517/0b3a8b13/attachment-0001.bin>


More information about the Binutils mailing list