Include bfd_stdint.h in bfd.h
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 1e82b939e11774285175147cbfebaf7b5464b7db..348559306fb8a089f6864f29ab134238ac326039 100644 (file)
@@ -1,3 +1,104 @@
+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
This page took 0.036585 seconds and 4 git commands to generate.