Emit a note warning the user that creating an executable stack because of a missing...
authorNick Clifton <nickc@redhat.com>
Mon, 25 Apr 2022 11:51:31 +0000 (12:51 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 25 Apr 2022 11:53:08 +0000 (12:53 +0100)
commit0d38576a34ec64a1b4500c9277a8e9d0f07e6774
tree8429a55e0d6ddf81a01e0dac703e9fea95693ce1
parent5f59e7e0c75a35f32f11bf6998c2e3de333fe3b2
Emit a note warning the user that creating an executable stack because of a missing .note.GNU-stack section is deprecated.

PR 29072
bfd * elflink.c (bfd_elf_size_dynamic_sections): Display a note to the
user that the current ehaviour of creating an executable stack
because of a missing .note.GNU-stack section is deprecated and
will be changed in a future release.

binutils* testsuite/lib/binutils-common.exp (prune_warnings_extra): Filter
out notes about the executable stacjk behaviour beign deprecated.

ld * testsuite/ld-elf/pr29072.b.warn: Update to include the note
about the linker's behaviour being depreccated.
bfd/ChangeLog
bfd/elflink.c
binutils/ChangeLog
binutils/testsuite/lib/binutils-common.exp
ld/ChangeLog
ld/testsuite/ld-elf/pr29072.b.warn