1. 18 Nov, 2013 6 commits
    • H.J. Lu's avatar
      Add R_X86_64_PC32_BND/R_X86_64_PLT32_BND suppor to gold · 0659b387
      H.J. Lu authored
      elfcpp/
      
      	* x86_64.h (R_X86_64_PC32_BND): New.
      	(R_X86_64_PLT32_BND): Likewise.
      
      gold/
      
      	* x86_64.cc (Target_x86_64<size>::Scan::get_reference_flags):
      	Handle R_X86_64_PC32_BND and R_X86_64_PLT32_BND just like
      	R_X86_64_PC32 and R_X86_64_PLT32, respectively.
      	(Target_x86_64<size>::Scan::local): Likewise.
      	(Target_x86_64<size>::Scan::global): Likewise.
      	(Target_x86_64<size>::Relocate::relocate): Likewise.
      	(Target_x86_64<size>::Relocatable_size_for_reloc::get_size_for_reloc):
      	Likewise.
      	(Target_x86_64<size>::Scan::check_non_pic(): Handle
      	R_X86_64_PC32_BND.
      
      	* testsuite/Makefile.am (check_PROGRAMS): Add
      	exception_x86_64_bnd_test.
      	(exception_x86_64_bnd_test_SOURCES): New macro.
      	(exception_x86_64_bnd_test_DEPENDENCIES): Likewise.
      	(exception_x86_64_bnd_test_LDFLAGS): Likewise.
      	(exception_x86_64_bnd_test_LDADD): Likewise.
      	(exception_x86_64_bnd_1.o): New rule.
      	(exception_x86_64_bnd_2.o): Likewise.
      	* testsuite/Makefile.in: Regenerated.
      0659b387
    • Yufeng Zhang's avatar
      Add support for armv7ve to gas. · b3eb037d
      Yufeng Zhang authored
      gas/
      
      	* config/tc-arm.c (arm_archs): New armv7ve architecture option.
      	(arm_cpus): Replace ARM_ARCH_V7A_IDIV_MP_SEC_VIRT with
      	ARM_ARCH_V7VE for cortex-a7, cortex-a12 and cortex-a15.
      	(cpu_arch_ver): Likewise.
      	* doc/c-arm.texi: Document armv7ve.
      
      gas/testsuite/
      
      	* gas/arm/attr-march-armv7ve.d: New test case for armv7ve.
      
      include/opcode/
      
      	* arm.h (ARM_AEXT_V7VE): New define.
      	(ARM_ARCH_V7VE): New define.
      	(ARM_ARCH_V7A_IDIV_MP_SEC_VIRT): Removed.
      b3eb037d
    • Chung-Lin Tang's avatar
      2013-11-18 Chung-Lin Tang <cltang@codesourcery.com> · aeea061e
      Chung-Lin Tang authored
      	Backport from master
      	2013-11-18  Chung-Lin Tang  <cltang@codesourcery.com>
      	* emulparams/nios2linux.sh: New emulation file.
      	* configure.tgt: Add nios2*-*-linux* emulation case.
      	* Makefile.am (enios2elf.c): Change tdir_nios2 to tdir_nios2elf.
      	(enios2linux.c): New emulation entry.
      	* Makefile.in: Regenerate.
      aeea061e
    • Yufeng Zhang's avatar
      gas/ · 99b81d1c
      Yufeng Zhang authored
      	* config/tc-aarch64.c (parse_sys_reg): Support
      	S2_<op1>_<Cn>_<Cm>_<op2>.
      
      gas/testsuite/
      
      	* gas/testsuite/sysreg.s: Add test.
      	* gas/testsuite/sysreg.d: Update.
      99b81d1c
    • Yufeng Zhang's avatar
      Revert "Add support for AArch64 trace unit registers." · b31f4fea
      Yufeng Zhang authored
      This reverts commit 7568a4e0.
      b31f4fea
    • 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