+2022-04-25 Nick Clifton <nickc@redhat.com>
+
+ PR 29072
+ * 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.
+
2022-04-20 Clément Chigot <clement.chigot@atos.net>
* coff-rs6000.c (xcoff_reloc_type_noop): Add info argument.
warning: %s: requires executable stack (because the .note.GNU-stack section is executable)"),
bfd_get_filename (noteobj));
else if (emptyobj)
- _bfd_error_handler (_("\
+ {
+ _bfd_error_handler (_("\
warning: %s: missing .note.GNU-stack section implies executable stack"),
- bfd_get_filename (emptyobj));
+ bfd_get_filename (emptyobj));
+ _bfd_error_handler (_("\
+NOTE: This behaviour is deprecated and will be removed in a future version of the linker"));
+ }
}
}
elf_stack_flags (output_bfd) = PF_R | PF_W | exec;
+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
# 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
}
+2022-04-25 Nick Clifton <nickc@redhat.com>
+
+ PR 29072
+ * testsuite/ld-elf/pr29072.b.warn: Update to include the note
+ about the linker's behaviour being depreccated.
+
2022-04-20 Clément Chigot <clement.chigot@atos.net>
* emultempl/aix.em (params): New variable.
.*: warning: .*\.o: missing \.note\.GNU-stack section implies executable stack
+.*: NOTE: This behaviour is deprecated and will be removed in a future version of the linker