elf: Report property change when merging properties
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index fd08c72944dcc79709fac5aa7d090c4e32d4408a..1e82b939e11774285175147cbfebaf7b5464b7db 100644 (file)
@@ -1,3 +1,139 @@
+2018-12-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf-properties.c (elf_find_and_remove_property): Add a
+       bfd_boolean argument to indicate if the property should be
+       removed.
+       (elf_merge_gnu_property_list): Updated.  Report
+       property change in linker map file.
+       (elf_get_gnu_property_section_size): Skip property_remove
+       properties.
+       (elf_write_gnu_properties): Likewise.
+       (_bfd_elf_link_setup_gnu_properties): Report property merge
+       in linker map file.  Pass abfd to elf_merge_gnu_property_list.
+
+2018-12-07  Alan Modra  <amodra@gmail.com>
+
+       PR 23952
+       * syms.c (_bfd_generic_read_minisymbols): Free syms before
+       returning with zero symcount.
+
+2018-12-06  Alan Modra  <amodra@gmail.com>
+
+       * elf32-ppc.c (ppc_elf_howto_raw <R_PPC_VLE_ADDR20>): Correct
+       mask and shift value.
+       (ppc_elf_vle_split16): Use E_OPCODE_MASK.  Handle e_li
+       specially.
+
+2018-12-05  Sam Tebbs  <sam.tebbs@arm.com>
+
+       * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Add check for 'B'.
+
+2018-12-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23372
+       * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Don't remove
+       empty properties for GNU_PROPERTY_X86_COMPAT_ISA_1_USED and
+       GNU_PROPERTY_X86_UINT32_OR_AND.
+       (_bfd_x86_elf_link_fixup_gnu_properties): Likewise.
+
+2018-12-03  Kito Cheng  <kito@andestech.com>
+
+       * elfxx-riscv.h (RISCV_DONT_CARE_VERSION): New macro.
+       (struct riscv_subset_t): New structure.
+       (riscv_subset_t): New typedef.
+       (riscv_subset_list_t): New structure.
+       (riscv_release_subset_list): New prototype.
+       (riscv_add_subset): Likewise.
+       (riscv_lookup_subset): Likewise.
+       (riscv_lookup_subset_version): Likewise.
+       (riscv_release_subset_list): Likewise.
+       * elfxx-riscv.c: Include safe-ctype.h.
+       (riscv_parsing_subset_version): New function.
+       (riscv_supported_std_ext): Likewise.
+       (riscv_parse_std_ext): Likewise.
+       (riscv_parse_sv_or_non_std_ext): Likewise.
+       (riscv_parse_subset): Likewise.
+       (riscv_add_subset): Likewise.
+       (riscv_lookup_subset): Likewise.
+       (riscv_lookup_subset_version): Likewise.
+       (riscv_release_subset_list): Likewise.
+
+2018-12-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23930
+       * elfxx-x86.c (_bfd_x86_elf_size_dynamic_sections): Update
+       the iplt section alignment if it is non-empty.
+       (_bfd_x86_elf_link_setup_gnu_properties): Set plt.iplt_alignment
+       and delay setting the iplt section alignment.
+       * elfxx-x86.h (elf_x86_plt_layout): Add iplt_alignment.
+
+2018-11-30  Nick Clifton  <nickc@redhat.com>
+
+       PR 23942
+       * elfcode.h (elf_object_p): Check for corrupt input files with
+       more program headers than can actually fit in the file.
+
+2018-11-30  Nick Clifton  <nickc@redhat.com>
+
+       PR 23932
+       * elf.c (IS_CONTAINED_BY_LMA): Add a check for a negative section
+       size.
+       (rewrite_elf_program_header): If no sections are mapped into a
+       segment return an error.
+
+2018-11-30  Alan Modra  <amodra@gmail.com>
+
+       PR 23937
+       * elf64-ppc.c (write_plt_relocs_for_local_syms): Don't add local
+       entry offset for ifuncs.
+
+2018-11-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23929
+       * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Don't
+       merge .note.gnu.property section in IR inputs.
+
+2018-11-27  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
+
+       * cpu-arm.c (processors): Add processors known to GAS but missing here
+       and reindent.
+       (bfd_arm_update_notes): Add comment explaining why the list of
+       architectures in the switch should not be updated.
+       (architectures): Likewise.
+
+2018-11-27  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * elfxx-mips.c (_bfd_mips_elf_check_relocs) <R_MIPS16_HI16>
+       <R_MIPS_HI16, R_MIPS_HIGHER, R_MIPS_HIGHEST, R_MICROMIPS_HI16>
+       <R_MICROMIPS_HIGHER, R_MICROMIPS_HIGHEST>: Also accept an
+       absolute symbol in PIC code.
+
+2018-11-27  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * elfxx-mips.c (_bfd_mips_elf_check_relocs) <R_MIPS16_26>
+       <R_MIPS_26, R_MICROMIPS_26_S1>: Use `info->callbacks->einfo'
+       rather than `_bfd_error_handler' to report refused relocations
+       in PIC code and continue processing.  Fix error message: `can
+       not' -> `cannot'.
+
+2018-11-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/23919
+       * compress.c (bfd_is_section_compressed_with_header): Initialize
+       *uncompressed_align_pow_p to 0.
+
+2018-11-27  Tamar Christina  <tamar.christina@arm.com>
+
+       PR ld/23904
+       * elfnn-aarch64.c (_bfd_aarch64_adrp_p): Use existing constants.
+       (_bfd_aarch64_erratum_843419_branch_to_stub): Use _bfd_aarch64_adrp_p.
+       (struct erratum_835769_branch_to_stub_clear_data): New.
+       (_bfd_aarch64_erratum_843419_clear_stub): New.
+       (clear_erratum_843419_entry): New.
+       (elfNN_aarch64_tls_relax): Use it.
+       (elfNN_aarch64_relocate_section): Pass input_section.
+       (aarch64_map_one_stub): Handle branch type none as valid.
+
 2018-11-27  Mark Wielaard  <mark@klomp.org>
 
        PR binutils/23919
This page took 0.028989 seconds and 4 git commands to generate.