]> Git Repo - binutils.git/blobdiff - bfd/ChangeLog
elf_hash_table_id access
[binutils.git] / bfd / ChangeLog
index c99e654cc20876af6bdb1354905fffc5b8cfff80..0c638590fce949fd169593827b2dadaa627134cb 100644 (file)
@@ -1,3 +1,207 @@
+2020-08-25  Alan Modra  <[email protected]>
+
+       * elf-m10300.c (elf32_mn10300_hash_table): Test is_elf_hash_table
+       before accessing elf_hash_table_id.
+       * elf32-arc.c (elf_arc_hash_table): Likewise.
+       * elf32-arm.c (elf32_arm_hash_table): Likewise.
+       * elf32-avr.c (avr_link_hash_table): Likewise.
+       * elf32-bfin.c (bfinfdpic_hash_table): Likewise.
+       * elf32-cris.c (elf_cris_hash_table): Likewise.
+       * elf32-csky.c (csky_elf_hash_table): Likewise.
+       * elf32-frv.c (frvfdpic_hash_table): Likewise.
+       * elf32-hppa.c (hppa_link_hash_table): Likewise.
+       * elf32-lm32.c (lm32_elf_hash_table): Likewise.
+       * elf32-m32r.c (m32r_elf_hash_table): Likewise.
+       * elf32-m68hc1x.h (m68hc11_elf_hash_table): Likewise.
+       * elf32-m68k.c (elf_m68k_hash_table): Likewise.
+       * elf32-metag.c (metag_link_hash_table): Likewise.
+       * elf32-microblaze.c (elf32_mb_hash_table): Likewise.
+       * elf32-nds32.h (nds32_elf_hash_table): Likewise.
+       * elf32-or1k.c (or1k_elf_hash_table): Likewise.
+       * elf32-s390.c (elf_s390_hash_table): Likewise.
+       * elf32-sh.c (sh_elf_hash_table): Likewise.
+       * elf32-spu.c (spu_hash_table): Likewise.
+       * elf32-tilepro.c (tilepro_elf_hash_table): Likewise.
+       * elf32-xtensa.c (elf_xtensa_hash_table): Likewise.
+       * elf64-alpha.c (alpha_elf_hash_table): Likewise.
+       * elf64-hppa.c (hppa_link_hash_table): Likewise.
+       * elf64-ia64-vms.c (elf64_ia64_hash_table): Likewise.
+       * elf64-s390.c (elf_s390_hash_table): Likewise.
+       * elfnn-ia64.c (elfNN_ia64_hash_table): Likewise.
+       * elfnn-riscv.c (riscv_elf_hash_table): Likewise.
+       * elfxx-mips.c (mips_elf_hash_table): Likewise.
+       * elfxx-sparc.h (_bfd_sparc_elf_hash_table): Likewise.
+       * elfxx-tilegx.c (tilegx_elf_hash_table): Likewise.
+
+2020-08-21  Jon Turney  <[email protected]>
+
+       * elf.c (elfcore_grok_win32pstatus): Change name_size to unsigned
+       int. Use '%u' format with  _bfd_error_handler to render it.
+
+2020-08-25  Alan Modra  <[email protected]>
+
+       PR 26489
+       * elf64-ppc.c (ppc64_elf_size_stubs): Test code_sec->has_toc_reloc
+       and code_sec->makes_toc_func_call before sec_info[code_sec->id].
+
+2020-08-25  Alan Modra  <[email protected]>
+
+       PR 26492
+       * elf64-ppc.c (ppc_hash_table): Test is_elf_hash_table before
+       accessing elf_hash_table_id.
+
+2020-08-25  Alan Modra  <[email protected]>
+
+       PR 26483
+       * elf32-ppc.c (ppc_elf_hash_table): Test is_elf_hash_table before
+       accessing elf_hash_table_id.
+
+2020-08-24  Mark Wielaard  <[email protected]>
+
+       * dwarf2.c (read_attribute_value): Handle DW_FORM_data16.
+       (read_formatted_entries): Likewise. And skip zero entry.
+
+2020-08-24  Cooper Qu  <[email protected]>
+
+       * bfd-in2.h (bfd_mach_ck860): New.
+       * cpu-csky.c (arch_info_struct): Add item for CK860.
+
+2020-08-24  Alan Modra  <[email protected]>
+
+       * elf32-ppc.c (ppc_elf_check_relocs): Set has_tls_reloc for
+       high part tprel16 relocs.
+       (ppc_elf_tls_optimize): Sanity check high part tprel16 relocs.
+       Clear do_tls_opt on odd instructions.
+       (ppc_elf_relocate_section): Move TPREL16_HA/LO optimisation later.
+       Don't sanity check them here.
+       * elf64-ppc.c (ppc64_elf_check_relocs): Set has_tls_reloc for
+       high part tprel16 relocs.
+       (ppc64_elf_tls_optimize): Sanity check high part tprel16 relocs.
+       Clear do_tls_opt on odd instructions.
+       (ppc64_elf_relocate_section): Don't sanity check TPREL16_HA.
+
+2020-08-23  John David Anglin  <[email protected]>
+
+       PR binutils/26357
+       * configure.ac: Disable plugins by default on 32-bit hppa*-*-hpux*.
+       * configure: Regenerate.
+
+2020-08-22  H.J. Lu  <[email protected]>
+
+       PR ld/26382
+       * elflink.c (elf_link_output_symstrtab): Keep only one '@' for
+       versioned symbols, which are defined in shared objects, in
+       symbol string table.
+
+2020-08-21  Nick Clifton  <[email protected]>
+
+       * elfnn-aarch64.c (_bfd_aarch64_erratum_835769_scan): Only sort
+       the data map if there are entries in it.
+       (_bfd_aarch64_erratum_843419_scan): Likewise.
+
+2020-08-21  Jan Beulich  <[email protected]>
+
+       * peXXigen.c (_bfd_XX_bfd_copy_private_bfd_data_common): Check
+       last byte of debug dir, not first.
+
+2020-08-20  Nick Clifton  <[email protected]>
+
+       PR 26428
+       * bfd.c (bfd_update_compression_header): Also set the sh_addralign
+       field in the ELF header of the compressed sections.
+
+2020-08-20  Nick Clifton  <[email protected]>
+
+       PR 26406
+       * elf-bfd.h (struct bfd_elf_section_data): Add
+       has_secondary_relocs field.
+       * elf.c (_bfd_elf_copy_special_section_fields): Set the
+       has_secondary_relocs field for sections which have associated
+       secondary relocs.
+       * elfcode.h (elf_write_relocs): Only call write_secondary_relocs
+       on sections which have associated secondary relocs.
+
+2020-08-15  Alan Modra  <[email protected]>
+
+       * elf32-frv.c (elf32_frv_add_symbol_hook): Set SEC_SMALL_DATA on
+       small common section.
+       * elf32-m32r.c (m32r_elf_add_symbol_hook): Likewise.
+       * elf32-microblaze.c (microblaze_elf_add_symbol_hook): Likewise.
+       * elf32-nds32.c (nds32_elf_add_symbol_hook): Likewise.
+       * elf32-nios2.c (nios2_elf_add_symbol_hook): Likewise.
+       * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
+       * elf32-score.c (s3_bfd_score_elf_add_symbol_hook): Likewise.
+       * elf32-score7.c (s7_bfd_score_elf_add_symbol_hook): Likewise.
+       * elf32-tic6x.c (elf32_tic6x_add_symbol_hook): Likewise.
+       * elf32-v850.c (v850_elf_check_relocs): Likewise.
+       (v850_elf_add_symbol_hook): Likewise.
+       * elf64-alpha.c (elf64_alpha_add_symbol_hook): Likewise.
+       * elf64-ia64-vms.c (elf64_ia64_add_symbol_hook): Likewise.
+       * elfnn-ia64.c (elfNN_ia64_add_symbol_hook): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Likewise.
+
+2020-08-15  Alan Modra  <[email protected]>
+
+       PR 26389
+       * syms.c (bfd_decode_symclass): Choose 'c' for commons only when
+       SEC_SMALL_DATA.
+       * elf32-m32r.c (_bfd_m32r_elf_symbol_processing): Set SEC_SMALL_DATA
+       on small common section.
+       * elf32-score.c (s3_bfd_score_elf_symbol_processing): Likewise.
+       * elf32-score7.c (s7_bfd_score_elf_symbol_processing): Likewise.
+       * elf32-tic6x.c (elf32_tic6x_symbol_processing): Likewise.
+       * elf32-v850.c (v850_elf_symbol_processing): Likewise.
+       * elfxx-mips.c (_bfd_mips_elf_symbol_processing): Likewise.
+       * ecoff.c (ecoff_set_symbol_info, ecoff_link_add_externals): Likewise.
+
+2020-08-14  Alan Modra  <[email protected]>
+
+       * hash.c (bfd_hash_set_default_size): Use higher_prime_number
+       rather than another copy of primes.  Increase maximum default
+       size allowed.
+
+2020-08-13  Alan Modra  <[email protected]>
+
+       * config.bfd: Obsolete arm*-*-symbianelf*, and ia64*-*-*.
+
+2020-08-13  Alan Modra  <[email protected]>
+
+       * elf64-ppc.h (struct ppc64_elf_params): Add no_pcrel_opt.
+       * elf64-ppc.c (ppc64_elf_relocate_section): Disable GOT reloc
+       optimizations when --no-toc-optimize.  Disable R_PPC64_PCREL_OPT
+       optimization when --no-pcrel-optimize.
+
+2020-08-13  Alan Modra  <[email protected]>
+
+       PR 26348
+       * bfd.c (struct bfd): Add read_only.
+       * elfcode.h (elf_swap_shdr_in): Test both sh_offset and sh_size.
+       Set read_only on warning.
+       (elf_object_p): Sanity check program header alignment.  Set
+       read_only on warning.
+       * bfd-in2.h: Regenerate.
+
+2020-08-12  Jon Turney  <[email protected]>
+
+       * elf.c (elfcore_grok_win32pstatus): Use unsigned int for
+       win32pstatus note type to avoid signedness comparison warning.
+
+2020-07-21  Jon Turney  <[email protected]>
+
+       * elf.c (elfcore_grok_win32pstatus): Warn on malformed
+       win32pstatus notes, and return TRUE so we continue rather than
+       stopping as if it was an error.
+
+2020-07-01  Jon Turney  <[email protected]>
+
+       * elf.c (elfcore_grok_win32pstatus): Handle NOTE_INFO_MODULE64.
+
+2020-07-11  Jon Turney  <[email protected]>
+
+       * elf.c (elfcore_grok_win32pstatus): Don't apply size constraint
+       for NOTE_INFO_THREAD to all win32pstatus ELF notes, instead apply
+       appropriate size constraint for each win32pstatus note type.
+
 2020-07-01  Jon Turney  <[email protected]>
 
        * elf.c (elfcore_grok_win32pstatus): Don't hardcode the size of
This page took 0.028099 seconds and 4 git commands to generate.