1. 15 Feb, 2017 1 commit
  2. 01 Feb, 2017 1 commit
  3. 15 Aug, 2016 1 commit
  4. 02 Dec, 2013 2 commits
  5. 01 Dec, 2013 1 commit
  6. 30 Nov, 2013 1 commit
  7. 29 Nov, 2013 1 commit
  8. 28 Nov, 2013 1 commit
  9. 27 Nov, 2013 1 commit
  10. 26 Nov, 2013 2 commits
  11. 25 Nov, 2013 3 commits
    • Alan Modra's avatar
      daily update · 69d8d4cc
      Alan Modra authored
      69d8d4cc
    • Yufeng Zhang's avatar
      ld/ChangeLog: · 0c5b3a60
      Yufeng Zhang authored
      	* Makefile.am (ALL_64_EMULATION_SOURCES): Add eaarch64linux32.c
      	and eaarch64linux32b.c
      	(eaarch64linux32.c): New target.
      	(eaarch64linux32b.c): Likewise.
      	* Makefile.in: Regenerate.
      	* configure.tgt (aarch64_be-*-linux*): Add
      	aarch64linux32 and aarch64linux32b to targ_extra_libpath.
      	(aarch64-*-linux*): Likewise.
      	* emulparams/aarch64elf32.sh (SEPARATE_GOTPLT): Change to 12 (3 words).
      	* emulparams/aarch64linux32.sh: New file.
      	* emulparams/aarch64linux32b.sh: New file.
      0c5b3a60
    • Yufeng Zhang's avatar
      ld/ChangeLog: · abd04c41
      Yufeng Zhang authored
      	* configure.tgt (aarch64_be-*-linux*): Split out the linux targets
      	into targ_extra_libpath.
      	(aarch64-*-linux*): Likewise.
      abd04c41
  12. 24 Nov, 2013 1 commit
  13. 23 Nov, 2013 1 commit
  14. 22 Nov, 2013 5 commits
  15. 21 Nov, 2013 1 commit
  16. 20 Nov, 2013 2 commits
    • Alan Modra's avatar
      daily update · 966388ea
      Alan Modra authored
      966388ea
    • Yufeng Zhang's avatar
      gas/testsuite/ · 34ded1ce
      Yufeng Zhang authored
      	* gas/aarch64/msr.s: Add tests.
      	* gas/aarch64/msr.d: Update.
      
      include/opcode
      
      	* aarch64.h (aarch64_pstatefields): Change element type to
      	aarch64_sys_reg.
      
      opcodes/
      
      	* aarch64-opc.c (aarch64_pstatefields): Update.
      34ded1ce
  17. 19 Nov, 2013 3 commits
    • Roland McGrath's avatar
      Fix *-nacl* target objcopy/strip of binary made with custom linker script · 58140105
      Roland McGrath authored
      bfd/
      	* elf-nacl.c (nacl_modify_segment_map): Calculate SIZEOF_HEADERS
      	when not doing linking (i.e. INFO is a null pointer).
      
      (cherry picked from commit 33aa641a5d20d54adaac9b21b5a3e19b03f0bd4f)
      58140105
    • Alan Modra's avatar
      daily update · b429d869
      Alan Modra authored
      b429d869
    • Roland McGrath's avatar
      Fix references to __ehdr_start when it cannot be defined · 9f11c00c
      Roland McGrath authored
      ld/
      	* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
      	Don't use bfd_elf_record_link_assignment to mark __ehdr_start
      	hidden.  Instead, just do it directly here, and only if it was
      	referenced but not defined.
      
      ld/testsuite/
      	* ld-elf/ehdr_start-userdef.t: New file.
      	* ld-elf/ehdr_start-userdef.d: New file.
      	* ld-elf/ehdr_start-strongref.s: New file.
      	* ld-elf/ehdr_start-missing.t: New file.
      	* ld-elf/ehdr_start-missing.d: New file.
      	* ld-elf/ehdr_start-weak.d: New file.
      	* ld-mips-elf/ehdr_start-2.nd: Expect __ehdr_start to be global.
      
      (cherry picked from commit c2763e270c6627e55ac7a75ed3c0a717fbca9bd0)
      9f11c00c
  18. 18 Nov, 2013 8 commits
    • Alan Modra's avatar
      daily update · fc063e1f
      Alan Modra authored
      fc063e1f
    • H.J. Lu's avatar
      Add a dummy "int bnd_prefix" argument · 571bc42c
      H.J. Lu authored
      	* config/tc-i386.c (lex_got): Add a dummy "int bnd_prefix"
      	argument.
      571bc42c
    • 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
  19. 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
  20. 15 Nov, 2013 2 commits
    • Yufeng Zhang's avatar
      gas/ · 7568a4e0
      Yufeng Zhang authored
      	* config/tc-aarch64.c (set_other_error): New function.
      	(parse_sys_reg): Add new parameter 'sys_reg' and if non-NULL set
      	the variable to which it points with 'o'.
      	(parse_operands): Update; check for write to read-only system
      	registers or read from write-only ones.
      
      gas/testsuite/
      
      	* gas/aarch64/diagnostic.s: Add tests.
      	* gas/aarch64/diagnostic.l: Update.
      	* gas/aarch64/tracereg-illegal.d: New file.
      	* gas/aarch64/tracereg-illegal.l: Ditto.
      	* gas/aarch64/tracereg-illegal.s: Ditto.
      	* gas/aarch64/tracereg.d: Ditto.
      	* gas/aarch64/tracereg.s: Ditto.
      
      include/opcode
      
      	* aarch64.h (aarch64_sys_reg_readonly_p): New declaration.
      	(aarch64_sys_reg_writeonly_p): Ditto.
      
      opcodes/
      
      	* aarch64-opc.c (CPENT): New define.
      	(F_READONLY, F_WRITEONLY): Likewise.
      	(aarch64_sys_regs): Add trace unit registers.
      	(aarch64_sys_reg_readonly_p): New function.
      	(aarch64_sys_reg_writeonly_p): Ditto.
      7568a4e0
    • Alan Modra's avatar
      daily update · 20326247
      Alan Modra authored
      20326247