x86: Properly set IBT and SHSTK properties for -z ibt/shstk
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 72c87c78a29a4d5fb4dc4ee6f78e1c3b1b0c6f42..39b5500364236e8f3835dccb0841f9f510ab0eb7 100644 (file)
@@ -1,3 +1,118 @@
+2019-03-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/24322
+       * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Properly
+       merge GNU_PROPERTY_X86_FEATURE_1_[IBT|SHSTK].
+
+2019-03-12  Alan Modra  <amodra@gmail.com>
+
+       * coffcode.h (buy_and_read): Delete unnecessary forward decl.  Add
+       nmemb parameter.  Use bfd_alloc2.
+       (coff_slurp_line_table): Use bfd_alloc2.  Update buy_and_read calls.
+       Delete assertion.
+       (coff_slurp_symbol_table): Use bfd_alloc2 and bfd_zalloc2.
+       (coff_slurp_reloc_table): Use bfd_alloc2.  Update buy_and_read calls.
+       * coffgen.c (coff_get_reloc_upper_bound): Ensure size calculation
+       doesn't overflow.
+       * elf.c (bfd_section_from_shdr): Use bfd_zalloc2.  Style fix.
+       (assign_section_numbers): Style fix.
+       (swap_out_syms): Use bfd_malloc2.
+       (_bfd_elf_get_reloc_upper_bound): Ensure size calculation doesn't
+       overflow.
+       (_bfd_elf_make_empty_symbol): Style fix.
+       (elfobj_grok_stapsdt_note_1): Formatting.
+       * elfcode.h (elf_object_p): Use bfd_alloc2.
+       (elf_write_relocs, elf_write_shdrs_and_ehdr): Likewise.
+       (elf_slurp_symbol_table): Use bfd_zalloc2.
+       (elf_slurp_reloc_table): Use bfd_alloc2.
+       (_bfd_elf_bfd_from_remote_memory): Use bfd_malloc2.
+       * elf64-sparc (elf64_sparc_get_reloc_upper_bound): Ensure
+       size calculation doesn't overflow.
+       (elf64_sparc_get_dynamic_reloc_upper_bound): Likewise.
+       * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
+       * pdp11.c (get_reloc_upper_bound): Copy aoutx.h version.
+
+2019-03-08  Alan Modra  <amodra@gmail.com>
+
+       PR 24311
+       * merge.c (merge_strings): Return secinfo.  Don't pad section
+       to alignment here.
+       (_bfd_merge_sections): Pad section to alignment here, if input
+       sections contributing to merged output all pad to alignment.
+       Formatting.
+
+2019-03-06  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf2.c (_bfd_dwarf2_find_symbol_bias): Check for a NULL symbol
+       table pointer.
+       * coffgen.c (coff_find_nearest_line_with_names): Do not call
+       _bfd_dwarf2_find_symbol_bias if there is no symbol table available.
+
+2019-03-01  Andreas Krebbel  <krebbel@linux.ibm.com>
+
+       This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
+       2019-01-14  Maamoun Tarsha  <maamountk@hotmail.com>
+
+       PR 20113
+       * elf32-s390.c (allocate_dynrelocs): Update comment.
+
+2019-02-28  Tamar Christina  <tamar.christina@arm.com>
+
+       * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct CIE parse.
+
+2019-02-28  Nick Clifton  <nickc@redhat.com>
+
+       PR 24273
+       * elf.c (bfd_elf_string_from_elf_section): Check for a string
+       section that is not NUL terminated.
+
+2019-02-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/24276
+       * elf64-x86-64.c (elf_x86_64_check_relocs): Skip symbol defined
+       by linker when checking copy reloc on protected symbol.
+
+2019-02-24  Alan Modra  <amodra@gmail.com>
+
+       PR 24144
+       * pdp11.c (set_section_contents): Revert 2015-02-24 change.
+
+2019-02-20  Eric Tsai  <erictsai@cadence.com>
+
+       * elf32-xtensa.c (is_resolvable_asm_expansion): Scan output
+       sections between the call site and call destination and adjust
+       call distance by the largest alignment.
+
+2019-02-20  Alan Hayward  <alan.hayward@arm.com>
+
+       * elf-bfd.h (elfcore_write_aarch_pauth): Add declaration.
+       * elf.c (elfcore_grok_aarch_pauth): New function.
+       (elfcore_grok_note): Check for NT_ARM_PAC_MASK.
+       (elfcore_write_aarch_pauth): New function.
+       (elfcore_write_register_note): Check for AArch64 pauth section.
+
+2019-02-20  Alan Modra  <amodra@gmail.com>
+
+       PR 24225
+       * elf32-nios2.c (nios2_elf32_relocate_section): Check asprintf
+       return value.
+
+2019-02-20  Michael Roitzsch  <reactorcontrol@icloud.com>
+
+       * configure.ac (SHARED_LIBADD): Add -liberty -lintl for all
+       Darwin hosts, not just or1k.
+       * configure: Regenerate.
+
+2019-02-20  Alan Modra  <amodra@gmail.com>
+
+       PR 24236
+       * archive64.c (_bfd_archive_64_bit_slurp_armap): Move code adding
+       sentinel NUL to string buffer nearer to loop where it is used.
+       Don't go past sentinel when scanning strings, and don't write
+       NUL again.
+       * archive.c (do_slurp_coff_armap): Simplify string handling to
+       archive64.c style.
+
 2019-02-19  Alan Modra  <amodra@gmail.com>
 
        PR 24235
This page took 0.02677 seconds and 4 git commands to generate.