diff options
author | Nick Clifton <nickc@redhat.com> | 2022-04-25 12:51:31 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-04-25 12:53:08 +0100 |
commit | 0d38576a34ec64a1b4500c9277a8e9d0f07e6774 (patch) | |
tree | 8429a55e0d6ddf81a01e0dac703e9fea95693ce1 /binutils | |
parent | 5f59e7e0c75a35f32f11bf6998c2e3de333fe3b2 (diff) | |
download | gdb-0d38576a34ec64a1b4500c9277a8e9d0f07e6774.zip gdb-0d38576a34ec64a1b4500c9277a8e9d0f07e6774.tar.gz gdb-0d38576a34ec64a1b4500c9277a8e9d0f07e6774.tar.bz2 |
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.
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/testsuite/lib/binutils-common.exp | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 26103a0..ab65d20 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2022-04-25 Nick Clifton <nickc@redhat.com> + + PR 29072 + * testsuite/lib/binutils-common.exp (prune_warnings_extra): Filter + out notes about the executable stacjk behaviour beign deprecated. + 2022-04-12 Nick Clifton <nickc@redhat.com> PR 28992 diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp index 87b0d10..a76a310 100644 --- a/binutils/testsuite/lib/binutils-common.exp +++ b/binutils/testsuite/lib/binutils-common.exp @@ -638,6 +638,7 @@ proc prune_warnings_extra { text } { # PR binutils/23898: It is OK to have gaps in build notes. regsub -all "(^|\n)(\[^\n\]*: Warning: Gap in build notes detected from\[^\n\]*\n?)+" $text "\\1" text regsub -all "(^|\n)(\[^\n\]*: warning:\[^\n\]*missing \\.note\\.GNU-stack section\[^\n\]*\n?)+" $text "\\1" text + regsub -all "(^|\n)(\[^\n\]*: NOTE: This behaviour is deprecated\[^\n\]*\n?)+" $text "\\1" text return $text } |