- 18 Nov, 2013 6 commits
-
-
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.
-
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.
-
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.
-
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.
-
Yufeng Zhang authored
This reverts commit 7568a4e0.
-
Tristan Gingold authored
bfd/ 2013-11-18 Tristan Gingold <gingold@adacore.com> * configure.in: Bump version to 2.23.91 * configure: Regenerate.
-
- 17 Nov, 2013 2 commits
-
-
Alan Modra authored
-
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.
-
- 15 Nov, 2013 25 commits
-
-
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.
-
Alan Modra authored
-
Michael Zolotukhin authored
gas/ 2013-11-15 Michael Zolotukhin <michael.v.zolotukhin@gmail.com> * config/tc-i386.c (check_VecOperands): Reorder checks. gas/testsuite/ 2013-11-15 Michael Zolotukhin <michael.v.zolotukhin@gmail.com> * gas/i386/inval-avx512f.s: Add invalid test for gather instruction with default mask. * gas/i386/inval-avx512f.l: Update correspondingly.
-
Alan Modra authored
(cherry picked from commit 9055360d4a69313949c3535ec065080cb814367d)
-
Jan-Benedict Glaw authored
[BR]: https://sourceware.org/ml/binutils/2013-11/msg00064.html (cherry picked from commit e2b5892e6e75109898db1cfbda2975fa422ba762)
-
Alan Modra authored
(cherry picked from commit 14b5f73fac0e34c2fca81aa0dfbc9c7eebc922f2)
-
Alan Modra authored
(cherry picked from commit afe397ea85a3d09d936c93328a1f6bf640577cf3)
-
Alan Modra authored
(cherry picked from commit dba6fa9bce92c9f9fcca07269ac8443797bd9338)
-
Alan Modra authored
(cherry picked from commit 33e44f2eb27d78f57ed83d11f04652691d896a6f)
-
Alan Modra authored
(cherry picked from commit 88b8e63904fda25c029deaf25d7b4e489b351470)
-
Alan Modra authored
(cherry picked from commit 52a82034ac9a288d2d8e60efa880623288b5d228)
-
Alan Modra authored
(cherry picked from commit a345bc8d317a159e3e887632d80c5a8282d34f07)
-
Alan Modra authored
(cherry picked from commit 4115bfc68301edaca4dd1fd83eddeaafeda4c63c)
-
Alan Modra authored
(cherry picked from commit 14f2c476752f3cc4bfa7baee2a5a5183aafad975)
-
Alan Modra authored
(cherry picked from commit 8b974ba3e8216b7f6659d2803444e0ddceaeded7)
-
Alan Modra authored
(cherry picked from commit b4f7960d5307fe4aad2126382df78f63696e96b3)
-
Alan Modra authored
(cherry picked from commit d4a95d4999e7fe0d868254bec76722b35f064184)
-
Alan Modra authored
(cherry picked from commit e8910a83af41c3dbfd00191b2720d4094f8d9532)
-
Alan Modra authored
(cherry picked from commit a078d95abc554b6c2572fcab5550591639b1c871)
-
Alan Modra authored
(cherry picked from commit b9e5796b0d6ebc355e4a6d06791b7366939d10f2)
-
Alan Modra authored
(cherry picked from commit 6911b7dcb8ea17f8b811578dd4ac1ab7bb675e7b)
-
Alan Modra authored
(cherry picked from commit ee67d69a3ff0eed25d98c5e97ed6c3ede8069edc)
-
Alan Modra authored
(cherry picked from commit 71a39c98f8bedad54818c62ab2d567b0e2de546b)
-
Alan Modra authored
(cherry picked from commit f9c6b9078c54ea0f018b673e2ff128e61a0aa666)
-
Alan Modra authored
(cherry picked from commit 6c668e71eb5f8a9a3355e239738c85448adfc0e8)
-
- 14 Nov, 2013 1 commit
-
-
Alan Modra authored
-
- 13 Nov, 2013 2 commits
-
-
Alan Modra authored
-
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.
-
- 12 Nov, 2013 1 commit
-
-
Alan Modra authored
-
- 11 Nov, 2013 2 commits
-
-
Alan Modra authored
-
Yufeng Zhang authored
size of struct elf_prstatus.
-
- 10 Nov, 2013 1 commit
-
-
Alan Modra authored
-