-Wimplicit-fallthrough error fixes
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index ce0670244d8afbe571b2dbd5646dfef1b1ec6e88..11381ea1047dac35c25f069c015668a84e543c5a 100644 (file)
@@ -1,3 +1,117 @@
+2016-10-06  Alan Modra  <amodra@gmail.com>
+
+       * coffcode.h (coff_slurp_symbol_table): Revert accidental commit
+       made 2015-01-08.
+       * elf32-nds32.c (nds32_elf_grok_psinfo): Add missing break.
+       * reloc.c (bfd_default_reloc_type_lookup): Add missing breaks.
+
+2016-10-06  Alan Modra  <amodra@gmail.com>
+
+       * elf32-epiphany.c (epiphany_final_link_relocate): Use bitwise
+       OR in arithmetic expression, not boolean OR.
+
+2016-09-30  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am (BFD_H_FILES): Add linker.c and simple.c.  Sort
+       as per comment at head of bfd-in2.h.
+       * Makefile.in: Regenerate.
+
+2016-09-30  Alan Modra  <amodra@gmail.com>
+
+       * aout-adobe.c: Replace (*_bfd_error_handler) (...) with
+       _bfd_error_handler (...) throughout.
+       * aout-cris.c, * aoutx.h, * archive.c, * bfd.c, * binary.c,
+       * cache.c, * coff-alpha.c, * coff-arm.c, * coff-h8300.c,
+       * coff-i860.c, * coff-mcore.c, * coff-ppc.c, * coff-rs6000.c,
+       * coff-sh.c, * coff-tic4x.c, * coff-tic54x.c, * coff-tic80.c,
+       * coff64-rs6000.c, * coffcode.h, * coffgen.c, * cofflink.c,
+       * coffswap.h, * cpu-arm.c, * cpu-m68k.c, * cpu-sh.c, * dwarf2.c,
+       * ecoff.c, * elf-eh-frame.c, * elf-m10300.c, * elf.c, * elf32-arc.c,
+       * elf32-arm.c, * elf32-avr.c, * elf32-bfin.c, * elf32-cr16.c,
+       * elf32-cris.c, * elf32-crx.c, * elf32-dlx.c, * elf32-frv.c,
+       * elf32-hppa.c, * elf32-i370.c, * elf32-i386.c, * elf32-lm32.c,
+       * elf32-m32c.c, * elf32-m32r.c, * elf32-m68hc1x.c, * elf32-m68k.c,
+       * elf32-mcore.c, * elf32-mep.c, * elf32-metag.c, * elf32-microblaze.c,
+       * elf32-mips.c, * elf32-nds32.c, * elf32-nios2.c, * elf32-or1k.c,
+       * elf32-pj.c, * elf32-ppc.c, * elf32-rl78.c, * elf32-s390.c,
+       * elf32-score.c, * elf32-score7.c, * elf32-sh.c, * elf32-sh64.c,
+       * elf32-sparc.c, * elf32-spu.c, * elf32-tic6x.c, * elf32-tilepro.c,
+       * elf32-v850.c, * elf32-vax.c, * elf32-xtensa.c, * elf64-alpha.c,
+       * elf64-hppa.c, * elf64-ia64-vms.c, * elf64-mips.c, * elf64-mmix.c,
+       * elf64-ppc.c, * elf64-s390.c, * elf64-sh64.c, * elf64-sparc.c,
+       * elf64-x86-64.c, * elfcode.h, * elfcore.h, * elflink.c,
+       * elfn32-mips.c, * elfnn-aarch64.c, * elfnn-ia64.c, * elfxx-mips.c,
+       * elfxx-sparc.c, * elfxx-tilegx.c, * hpux-core.c, * i386linux.c,
+       * ieee.c, * ihex.c, * libbfd.c, * linker.c, * m68klinux.c,
+       * mach-o.c, * merge.c, * mmo.c, * oasys.c, * osf-core.c, * pdp11.c,
+       * pe-mips.c, * peXXigen.c, * pef.c, * plugin.c, * reloc.c,
+       * rs6000-core.c, * sco5-core.c, * som.c, * sparclinux.c, * srec.c,
+       * stabs.c, * syms.c, * vms-alpha.c, * vms-lib.c, * vms-misc.c,
+       * xcofflink.c: Likewise.
+
+2016-09-30  Alan Modra  <amodra@gmail.com>
+
+       * bfd-in.h: Include stdarg.h.
+       * bfd.c (bfd_error_handler_type): Make like vprintf.
+       (_bfd_error_internal): Rename from _bfd_error_handler.  Make static.
+       (error_handler_internal): New function, split out from..
+       (_bfd_default_error_handler): ..here.  Rename to _bfd_error_handler.
+       (bfd_set_error_handler): Update.
+       (bfd_get_error_handler, bfd_get_assert_handler): Delete.
+       (_bfd_assert_handler): Make static.
+       * coffgen.c (null_error_handler): Update params.
+       * elf-bfd.h (struct elf_backend_data <link_order_error_handler>):
+       Don't use bfd_error_handler_type.
+       * elf64-mmix.c (mmix_dump_bpo_gregs): Likewise.
+       * elfxx-target.h (elf_backend_link_order_error_handler): Default
+       to _bfd_error_handler.
+       * libbfd-in.h (_bfd_default_error_handler): Don't declare.
+       (bfd_assert_handler_type): Likewise.
+       (_bfd_error_handler): Update.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2016-09-28  Akihiko Odaki  <akihiko.odaki.4i@stu.hosei.ac.jp>
+
+       PR ld/20636
+       * elf-bfd.h (struct elf_backend_data): Delete
+       elf_backend_count_output_relocs callback and add
+       elf_backend_update_relocs.
+       * elf32-arm.c (elf32_arm_count_output_relocs): Deleted.
+       (emit_relocs): Deleted.
+       (elf32_arm_emit_relocs): Deleted.
+       (elf_backend_emit_relocs): Updated not to use the old functions.
+       (elf32_arm_update_relocs): New function.
+       (elf_backend_update_relocs): New define.
+       * elflink.c (bfd_elf_final_link): Add additional_reloc_count to the
+       relocation count. Call elf_backend_emit_relocs.
+       (_bfd_elf_size_reloc_section): Do not call
+       elf_backend_count_output_relocs.
+       * elfxx-target.h (elf_backend_count_output_relocs): Deleted.
+       (elf_backend_update_relocs): New define.
+
+2016-09-28  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       PR ld/20608
+       * elf32-arm.c (arm_type_of_stub): Handle the case when the pre-PLT
+       Thumb-ARM stub is too far.
+
+2016-09-27  Nick Clifton  <nickc@redhat.com>
+
+       PR ld/20634
+       * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Put 0 in the
+       timestamp field if real time values are not being stored.
+
+2016-09-26  Vlad Zakharov  <vzakhar@synopsys.com>
+
+       * warning.m4 (AC_EGREP_CPP_FOR_BUILD): Introduce macro
+       to verify CC_FOR_BUILD compiler.
+       (AM_BINUTILS_WARNINGS): Introduce ac_cpp_for_build variable
+       and add CC_FOR_BUILD compiler checks.
+       * Makefile.in: Regenerate.
+       * configure: Likewise.
+       * doc/Makefile.in: Likewise.
+
 2016-09-26  Awson  <kyrab@mail.ru>
 
        PR ld/17955
This page took 0.024968 seconds and 4 git commands to generate.