Allow an IR object with unknown architecture
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index 70957e18a4df3e55aa907850edb6c86855d68f37..792df8a1fa530ee3840d4a90816a45033de49a70 100644 (file)
@@ -1,3 +1,55 @@
+018-08-31  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR ld/23600
+       * archures.c (bfd_arch_get_compatible): Allow an IR object with
+       unknown architecture.
+
+2018-08-31  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (num_relocs_for_offset): New function.
+       (emit_relocs_for_offset): New function.
+       (use_global_in_relocs): New function, split out from..
+       (ppc_build_one_stub): ..here.  Output relocations for notoc stubs.
+       (ppc_size_one_stub): Calculate reloc count for notoc stubs.
+       (ppc64_elf_size_stubs): Don't count undefined syms in stub_globals.
+
+2018-08-31  Alan Modra  <amodra@gmail.com>
+
+       * reloc.c (BFD_RELOC_PPC64_REL16_HIGH, BFD_RELOC_PPC64_REL16_HIGHA),
+       (BFD_RELOC_PPC64_REL16_HIGHER, BFD_RELOC_PPC64_REL16_HIGHERA),
+       (BFD_RELOC_PPC64_REL16_HIGHEST, BFD_RELOC_PPC64_REL16_HIGHESTA):
+       Define.
+       * elf64-ppc.c (ppc64_elf_howto_raw): Add new REL16 howtos.
+       (ppc64_elf_reloc_type_lookup): Translate new REL16 relocs.
+       (ppc64_elf_check_relocs, ppc64_elf_relocate_section): Handle them.
+       * bfd-in2.h: Regenerate.
+       * libbfd.h: Regenerate.
+
+2018-08-31  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c: Correct _notoc stub comments.
+       (ppc_build_one_stub): Simplify output of branch for notoc
+       long branch stub.  Don't include label offset of 8 bytes in
+       "off" calculation for notoc plt stub.  Don't emit insns to get pc.
+       (build_offset): Emit insns to get pc here instead.
+       (size_offset): Add 4 extra insns.
+       (plt_stub_size): Adjust for "off" and size_offset changes.
+       (ppc_size_one_stub): Rearrange code into a switch, duplicating
+       some to better match ppc_build_one_stub.
+
+2018-08-29  Chenghua Xu  <paul.hua.gm@gmail.com>
+
+       * archures.c (bfd_architecture): New machine
+       bfd_mach_mips_gs264e.
+       * bfd-in2.h (bfd_architecture): Likewise.
+       * cpu-mips.c (enum I_xxx): Likewise.
+       (arch_info_struct): Likewise.
+       * elfxx-mips.c (_bfd_elf_mips_mach): Handle
+       E_MIPS_MACH_GS264E.
+       (mips_set_isa_flags): Likewise.
+       (mips_mach_extensions): Map bfd_mach_mips_gs264e to
+       bfd_mach_mips_gs464e extension.
+
 2018-08-29  Chenghua Xu  <paul.hua.gm@gmail.com>
 
        * archures.c (bfd_architecture): New machine
This page took 0.064743 seconds and 4 git commands to generate.