1. 18 Nov, 2013 1 commit
    • Tristan Gingold's avatar
      Update minor version. · ac6cefb0
      Tristan Gingold authored
      bfd/
      2013-11-18  Tristan Gingold  <gingold@adacore.com>
      
      	* configure.in: Bump version to 2.23.91
      	* configure: Regenerate.
      ac6cefb0
  2. 17 Nov, 2013 2 commits
    • Alan Modra's avatar
      daily update · 0f82dc3d
      Alan Modra authored
      0f82dc3d
    • H.J. Lu's avatar
      Add R_X86_64_PC32_BND and R_X86_64_PLT32_BND · 01dec1ff
      H.J. Lu authored
      bfd/
      
      	* elf64-x86-64.c (x86_64_elf_howto_table): Add R_X86_64_PC32_BND
      	and R_X86_64_PLT32_BND.
      	(R_X86_64_standard): Replace R_X86_64_RELATIVE64 with
      	R_X86_64_PLT32_BND.
      	(IS_X86_64_PCREL_TYPE): Add R_X86_64_PLT32_BND.
      	(x86_64_reloc_map): Add BFD_RELOC_X86_64_PC32_BND and
      	BFD_RELOC_X86_64_PLT32_BND.
      	(elf_x86_64_check_relocs): Handle R_X86_64_PC32_BND and
      	R_X86_64_PLT32_BND.
      	(elf_x86_64_gc_sweep_hook): Likewise.
      	(elf_x86_64_relocate_section): Likewise.
      	* reloc.c (bfd_reloc_code_real): Add BFD_RELOC_X86_64_PC32_BND
      	and BFD_RELOC_X86_64_PLT32_BND.
      	* bfd-in2.h: Regenerated.
      	* libbfd.h: Likewise.
      
      gas/
      
      	* config/tc-i386.c (reloc): Add an argument, bnd_prefix, to
      	indicate if instruction has the BND prefix.  Return
      	BFD_RELOC_X86_64_PC32_BND instead of BFD_RELOC_32_PCREL if
      	bnd_prefix isn't zero.
      	(output_branch): Pass BFD_RELOC_X86_64_PC32_BND to frag_var
      	if needed.
      	(output_jump): Update reloc call.
      	(output_interseg_jump): Likewise.
      	(output_disp): Likewise.
      	(output_imm): Likewise.
      	(x86_cons_fix_new): Likewise.
      	(lex_got): Add an argument, bnd_prefix, to indicate if
      	instruction has the BND prefix.  Use BFD_RELOC_X86_64_PLT32_BND
      	if needed.
      	(x86_cons): Update lex_got call.
      	(i386_immediate): Likewise.
      	(i386_displacement): Likewise.
      	(md_apply_fix): Handle BFD_RELOC_X86_64_PC32_BND and
      	BFD_RELOC_X86_64_PLT32_BND.
      	(tc_gen_reloc): Likewise.
      	* config/tc-i386-intel.c (i386_operator): Update lex_got call.
      
      gas/testsuite/
      
      	* gas/i386/i386.exp: Run x86-64-mpx-branch-1 and
      	x86-64-mpx-branch-2 on 64-bit ELF targets.
      	* gas/i386/x86-64-mpx-branch-1.d: New file.
      	* gas/i386/x86-64-mpx-branch-1.s: Likewise.
      	* gas/i386/x86-64-mpx-branch-2.d: Likewise.
      	* gas/i386/x86-64-mpx-branch-2.s: Likewise.
      
      include/elf/
      
      	* x86-64.h: Add R_X86_64_PC32_BND and R_X86_64_PLT32_BND.
      
      ld/testsuite/
      
      	* ld-x86-64/mpx.exp: New file.
      	* ld-x86-64/mpx1.out: Likewise.
      	* ld-x86-64/mpx1a.c: Likewise.
      	* ld-x86-64/mpx1a.rd: Likewise.
      	* ld-x86-64/mpx1b.c: Likewise.
      	* ld-x86-64/mpx1c.c: Likewise.
      	* ld-x86-64/mpx1c.rd: Likewise.
      01dec1ff
  3. 15 Nov, 2013 25 commits
  4. 14 Nov, 2013 1 commit
  5. 13 Nov, 2013 2 commits
    • Alan Modra's avatar
      daily update · 3bc7ad1f
      Alan Modra authored
      3bc7ad1f
    • Yufeng Zhang's avatar
      bfd/ · e69ce759
      Yufeng Zhang authored
      	* elfnn-aarch64.c (elfNN_aarch64_howto_table): Use
      	R_AARCH64_TLS_DTPMOD64 instead of R_AARCH64_TLS_DTPMOD;
      	likewise for R_AARCH64_TLS_DTPREL and R_AARCH64_TLS_TPREL.
      
      include/elf/
      
      	* aarch64.h: Define R_AARCH64_TLS_DTPMOD64,
      	R_AARCH64_TLS_DTPREL64 and R_AARCH64_TLS_TPREL64; guard
      	R_AARCH64_TLS_DTPMOD, R_AARCH64_TLS_DTPREL and
      	R_AARCH64_TLS_TPREL with RELOC_MACROS_GEN_FUNC.
      e69ce759
  6. 12 Nov, 2013 1 commit
  7. 11 Nov, 2013 2 commits
  8. 10 Nov, 2013 1 commit
  9. 09 Nov, 2013 1 commit
  10. 08 Nov, 2013 2 commits
  11. 07 Nov, 2013 2 commits
    • Alan Modra's avatar
      daily update · 1d5dce85
      Alan Modra authored
      1d5dce85
    • Roland McGrath's avatar
      Set CPU type in BFD backend for x86_64-nacl* and i?86-nacl* targets · 26812141
      Roland McGrath authored
      bfd/
      	* archures.c (bfd_mach_i386_nacl): Fix definition so it doesn't
      	collide with bfd_mach_l1om.
      	* bfd-in2.h: Regenerate.
      
      	* elf32-i386.c (elf32_i386_nacl_elf_object_p): New function.
      	(elf_backend_object_p): Use that in elf32-i386-nacl definition.
      	* elf64-x86-64.c (elf64_x86_64_nacl_elf_object_p): New function.
      	(elf_backend_object_p): Use that in elf64-x86-64-nacl definition.
      	(elf32_x86_64_nacl_elf_object_p): New function.
      	(elf_backend_object_p): Use that in elf32-x86-64-nacl definition.
      
      binutils/
      	* objdump.c (dump_dwarf): Grok bfd_mach_x86_64_nacl and
      	bfd_mach_x64_32_nacl as equivalent to bfd_mach_x86_64.
      
      ld/testsuite/
      	* ld-x86-64/x86-64.exp (mixed1, mixed2): Loosen error string match
      	so it accepts "i386:nacl" in place of "i386".
      	* ld-x86-64/ilp32-2.d: Likewise.
      	* ld-x86-64/ilp32-3.d: Likewise.
      	* ld-x86-64/lp64-2.d: Likewise.
      	* ld-x86-64/lp64-3.d: Likewise.
      
      (cherry picked from commit 64b384e1e821cedccefa24f6d5bb82d353546ca1)
      26812141