Fix handling of GNU Property notes that are not in a GNU NOTE PROPERTY section.
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 735136d7f85d48bcc71923470a6e5d08fbb2ea7c..5bf4f1a9524fd703daaafc7690b0f5cd9e57b1f2 100644 (file)
@@ -1,3 +1,82 @@
+2017-11-20  Nick Clifton  <nickc@redhat.com>
+
+       PR 22450
+       * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Skip
+       objects without a GNU_PROPERTY note section when looking for a bfd
+       onto which notes can be accumulated.
+
+2017-11-20  Alan Modra  <amodra@gmail.com>
+
+       PR 22451
+       PR 22460
+       * elf.c (_bfd_elf_init_reloc_shdr): Delete "sec_hdr" parameter
+       and leave rel_hdr->sh_flags zero.  Update calls.
+       (bfd_elf_set_group_contents): Check input rel/rela SHF_GROUP
+       flag when !gas before adding rel/rela section to group.  Set
+       output rel/rela SHF_GROUP flags.
+
+2017-11-18  Jim Wilson  <jimw@sifive.com>
+
+       * elfnn-riscv.c (_bfd_riscv_relax_align): Add space between alignment
+       and to in error message.
+
+2017-11-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Pass
+       "%F%P:", instead of "%F:", to linker callback in case of error.
+
+2017-11-16  Nick Clifton  <nickc@redhat.com>
+
+       PR 22421
+       * elf.c (elfcore_grok_netbsd_procinfo): Check that the note is big enough.
+       (elfcore_grok_openbsd_procinfo): Likewise.
+       (elfcore_grok_nto_status): Likewise.
+
+2017-11-16  Nick Clifton  <nickc@redhat.com>
+
+       * merge.c (sec_merge_emit): Always create padding buffer.  Add
+       asserts to make sure that the buffer is long enough.
+
+2017-11-15  Alan Modra  <amodra@gmail.com>
+
+       * bfd.c (union _bfd_doprnt_args): Add "Bad".
+       (_bfd_doprnt): Handle more flags.
+       (_bfd_doprnt_scan): Likewise.  Tidy setting of args array.
+       (error_handler_internal): Init args type to Bad.
+
+2017-11-14  Alan Modra  <amodra@gmail.com>
+
+       PR 22431
+       * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Warn on discarding
+       non-empty dynamic section.
+       (ppc_build_one_stub): Take elf_gp from output bfd, not output
+       section owner.
+       (ppc_size_one_stub, ppc64_elf_next_toc_section): Likewise.
+
+2017-11-14  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_size_stubs): Correct test for user
+       .eh_frame info.
+
+2017-11-13  Jan Beulich  <jbeulich@suse.com>
+
+       * coff-tic80.c (COFF_ENCODE_ALIGNMENT, COFF_DECODE_ALIGNMENT):
+       Define.
+       * coffcode.h (coff_set_alignment_hook): Drop tic80 special case.
+       (coff_write_object_contents): Likewise. Issue diagnostic for too
+       large alignment.
+
+2017-11-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/22423
+       * elf.c (_bfd_elf_map_sections_to_segments): Remove PF_X from
+       PT_PHDR segment.
+
+2017-11-12  Alan Modra  <amodra@gmail.com>
+
+       * elflink.c (elf_link_add_object_symbols): Ignore anything but
+       defined and defweak symbols when setting up weakdefs.
+
 2017-11-12  Alan Modra  <amodra@gmail.com>
 
        * elf32-hppa.c (elf32_hppa_adjust_dynamic_symbol): Set non_got_ref
This page took 0.045773 seconds and 4 git commands to generate.