+2018-12-18 Alan Modra <amodra@gmail.com>
+
+ * Makefile.am (bfdinclude_HEADERS): Add bfd_stdint.h.
+ (BFD_H_DEPS): Add include/diagnostics.h.
+ (LOCAL_H_DEPS): Add bfd_stdint.h.
+ * bfd-in.h: Include bfd_stdint.h.
+ * arc-plt.h: Don't include stdint.h.
+ * coff-rs6000.c: Likewise.
+ * coff64-rs6000.c: Likewise.
+ * elfxx-riscv.c: Likewise.
+ * cache.c: Don't include bfd_stdint.h.
+ * elf32-arm.c: Likewise.
+ * elf32-avr.c: Likewise.
+ * elf32-nds32.c: Likewise.
+ * elf32-rl78.c: Likewise.
+ * elf32-rx.c: Likewise.
+ * elf32-wasm32.c: Likewise.
+ * elf64-nfp.c: Likewise.
+ * elflink.c: Likewise.
+ * elfnn-aarch64.c: Likewise.
+ * elfnn-ia64.c: Likewise.
+ * elfxx-ia64.c: Likewise.
+ * elfxx-x86.h: Likewise.
+ * wasm-module.c: Likewise, and don't include sysdep.h twice.
+ * elf-nacl.h: Don't include bfd.h.
+ * mach-o.h: Likewise.
+ * elfxx-aarch64.c: Include bfd.h and elf-bfd.h.
+ * elfxx-aarch64.h: Don't include bfd.h, elf-bfd.h or stdint.h.
+ * mach-o-aarch64.c: Include mach-o.h later.
+ * mach-o-arm.c: Likewise.
+ * mach-o-i386.c: Likewise.
+ * mach-o-x86-64.c: Likewise.
+ * mach-o.c: Likewise.
+ * sysdep.h: Don't include ansidecl.h or sys/stat.h.
+ * Makefile.in: Regenerate.
+ * bfd-in2.h: Regenerate.
+
+2018-12-18 Alan Modra <amodra@gmail.com>
+
+ PR 23980
+ * elf32-i386.c (elf_i386_relocate_section): Exit with wrong format
+ error rather than asserting input file is as expected.
+ * elf32-s390.c (elf_s390_relocate_section): Likewise.
+ * elf32-sh.c (sh_elf_relocate_section): Likewise.
+ * elf32-xtensa.c (elf_xtensa_relocate_section): Likewise.
+ * elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
+ * elf64-s390.c (elf_s390_relocate_section): Likewise.
+ * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
+ * elf32-ppc.c (ppc_elf_relocate_section): Exit with wrong format
+ error if input file is not ppc32 ELF.
+
+2018-12-18 Alan Modra <amodra@gmail.com>
+
+ PR 23980
+ * elf64-ppc.c (ppc64_elf_hide_symbol): Check hash table type
+ before referencing ppc64-only fields of hash entries.
+
+2018-12-17 Alan Modra <amodra@gmail.com>
+
+ PR 23994
+ * aoutx.h: Include limits.h.
+ (get_reloc_upper_bound): Detect long overflow and return a file
+ too big error if it occurs.
+ * elf.c: Include limits.h.
+ (_bfd_elf_get_symtab_upper_bound): Detect long overflow and return
+ a file too big error if it occurs.
+ (_bfd_elf_get_dynamic_symtab_upper_bound): Likewise.
+ (_bfd_elf_get_dynamic_reloc_upper_bound): Likewise.
+
+2018-12-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/23900
+ * elf.c (get_program_header_size): Add a PT_GNU_PROPERTY
+ segment for NOTE_GNU_PROPERTY_SECTION_NAME.
+ (_bfd_elf_map_sections_to_segments): Create a PT_GNU_PROPERTY
+ segment for NOTE_GNU_PROPERTY_SECTION_NAME.
+ * elfxx-x86.c (_bfd_elf_link_setup_gnu_properties): Don't set
+ GNU_PROPERTY_X86_UINT32_VALID.
+
+2018-12-11 Max Filippov <jcmvbkbc@gmail.com>
+
+ * elf32-xtensa.c (elf_xtensa_do_reloc): Limit const16 opcode
+ immediate field to 16 least significant bits.
+
+2018-12-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-xc16x.c (elf32_xc16x_rtype_to_howto): New function.
+ (elf32_xc16x_relocate_section): Call elf32_xc16x_rtype_to_howto
+ instead of xc16x_reloc_type_lookup to get reloc_howto_type.
+
+2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/23958
+ * elflink.c (_bfd_elf_add_default_symbol): Override the previous
+ definition from IR object.
+
+2018-12-08 Stafford Horne <shorne@gmail.com>
+
+ * elf32-or1k.c (or1k_grok_prstatus): New function.
+ (or1k_grok_psinfo): Likewise.
+
+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