aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-11-30daily updateAlan Modra1-1/+1
2013-11-29daily updateAlan Modra1-1/+1
2013-11-28daily updateAlan Modra1-1/+1
2013-11-27daily updateAlan Modra1-1/+1
2013-11-26Bump version to 2.23.92Tristan Gingold3-11/+16
bfd/ 2013-11-26 Tristan Gingold <gingold@adacore.com> * configure.in: Bump version to 2.23.92 * configure: Regenerate.
2013-11-26daily updateAlan Modra1-1/+1
2013-11-25ld/ChangeLog:Yufeng Zhang7-3/+92
* 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.
2013-11-25ld/ChangeLog:Yufeng Zhang2-2/+14
* configure.tgt (aarch64_be-*-linux*): Split out the linux targets into targ_extra_libpath. (aarch64-*-linux*): Likewise.
2013-11-25daily updateAlan Modra1-1/+1
2013-11-24daily updateAlan Modra1-1/+1
2013-11-22Use in-tree assembler for exception_x86_64_bnd_test.Cary Coutant3-4/+10
gold/ * testsuite/Makefile.am (exception_x86_64_bnd_test): Use in-tree assembler. * testsuite/Makefile.in: Regenerate.
2013-11-23daily updateAlan Modra1-1/+1
2013-11-23Import config.sub and config.guess from upstream.Alan Modra3-71/+94
2013-11-22remove patch leftoversNick Clifton5-4812/+0
2013-11-22 * windres.c (define_resource): Use zero for timestamp, makingNick Clifton17-44/+4883
output deterministic. time.h include is no longer needed. * resres.c (res_append_resource): Likewise. * libcoff-in.h: Add insert_timestamp flag to the pe_data struct. * libcoff.h: Regenerate. * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Only use a real timestamp if --insert-timestamp was used. * pe-dll.c (fill_edata): Only use a real timestamp if --insert-timestamp was used. * emultempl/pe.em: Add the --insert-timestamp option. * emultempl/pep.em: Likewise for 64bit. * ld.texinfo: Document the --insert-timestamp option.
2013-11-22daily updateAlan Modra1-1/+1
2013-11-21daily updateAlan Modra1-1/+1
2013-11-20gas/testsuite/Yufeng Zhang7-7/+26
* 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.
2013-11-19Fix *-nacl* target objcopy/strip of binary made with custom linker scriptRoland McGrath2-6/+24
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)
2013-11-20daily updateAlan Modra1-1/+1
2013-11-19Fix references to __ehdr_start when it cannot be definedRoland McGrath10-5/+86
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)
2013-11-19daily updateAlan Modra1-1/+1
2013-11-18Add a dummy "int bnd_prefix" argumentH.J. Lu2-2/+8
* config/tc-i386.c (lex_got): Add a dummy "int bnd_prefix" argument.
2013-11-18Add R_X86_64_PC32_BND/R_X86_64_PLT32_BND suppor to goldH.J. Lu6-8/+103
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.
2013-11-18Add support for armv7ve to gas.Yufeng Zhang7-14/+46
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.
2013-11-182013-11-18 Chung-Lin Tang <cltang@codesourcery.com>Chung-Lin Tang5-2/+39
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.
2013-11-18gas/Yufeng Zhang5-5/+20
* 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.
2013-11-18Revert "Add support for AArch64 trace unit registers."Yufeng Zhang14-1021/+56
This reverts commit 7568a4e05cc35bc96e7a422a7f3a453665479197.
2013-11-18Update minor version.Tristan Gingold3-11/+16
bfd/ 2013-11-18 Tristan Gingold <gingold@adacore.com> * configure.in: Bump version to 2.23.91 * configure: Regenerate.
2013-11-18daily updateAlan Modra1-1/+1
2013-11-17Add R_X86_64_PC32_BND and R_X86_64_PLT32_BNDH.J. Lu24-17/+333
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.
2013-11-15gas/Yufeng Zhang14-8/+1052
* 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.
2013-11-16daily updateAlan Modra1-1/+1
2013-11-15Reorder invalid default mask checkMichael Zolotukhin5-37/+63
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.
2013-11-15Fixes to powerpc64 gold ELFv2 supportAlan Modra2-154/+349
(cherry picked from commit 9055360d4a69313949c3535ec065080cb814367d)
2013-11-15ppc: signed/unsigned comparisonJan-Benedict Glaw2-1/+4
[BR]: https://sourceware.org/ml/binutils/2013-11/msg00064.html (cherry picked from commit e2b5892e6e75109898db1cfbda2975fa422ba762)
2013-11-15PowerPC64 ELFv2, allocate dynreloc space for ifuncAlan Modra2-2/+4
(cherry picked from commit 14b5f73fac0e34c2fca81aa0dfbc9c7eebc922f2)
2013-11-15Correct elf64-ppc.c handling of protected symbolsAlan Modra2-14/+20
(cherry picked from commit afe397ea85a3d09d936c93328a1f6bf640577cf3)
2013-11-15Hide ppc64 .TOC. from --export-dynamicAlan Modra2-3/+17
(cherry picked from commit dba6fa9bce92c9f9fcca07269ac8443797bd9338)
2013-11-15Update elf64-ppc.c to use elf_link_hash_table shortcuts.Alan Modra2-82/+73
(cherry picked from commit 33e44f2eb27d78f57ed83d11f04652691d896a6f)
2013-11-15Remove powerpc.cc copy of use_plt_offsetAlan Modra3-115/+48
(cherry picked from commit 88b8e63904fda25c029deaf25d7b4e489b351470)
2013-11-15Edit ELFv2 global entry prologue to non-PICAlan Modra4-2/+42
(cherry picked from commit 52a82034ac9a288d2d8e60efa880623288b5d228)
2013-11-15PowerPC64 ELFv2 symbols defined in pltAlan Modra2-48/+275
(cherry picked from commit a345bc8d317a159e3e887632d80c5a8282d34f07)
2013-11-15Allow for extra st_other readelf output in ld testsuiteAlan Modra3-3/+9
(cherry picked from commit 4115bfc68301edaca4dd1fd83eddeaafeda4c63c)
2013-11-15ld crossref test fixAlan Modra2-2/+15
(cherry picked from commit 14f2c476752f3cc4bfa7baee2a5a5183aafad975)
2013-11-15Simplify ppc64 code setting toc_off.Alan Modra2-35/+22
(cherry picked from commit 8b974ba3e8216b7f6659d2803444e0ddceaeded7)
2013-11-15PowerPC64 ELFv2 support for gold.Alan Modra4-134/+504
(cherry picked from commit b4f7960d5307fe4aad2126382df78f63696e96b3)
2013-11-15Add PowerPC64 ELFv2 tests.Alan Modra5-0/+162
(cherry picked from commit d4a95d4999e7fe0d868254bec76722b35f064184)
2013-11-15Replace DT_PPC_TLSOPT with DT_PPC_OPT.Alan Modra8-11/+41
(cherry picked from commit e8910a83af41c3dbfd00191b2720d4094f8d9532)
2013-11-15Support ELFv2 stack frame.Alan Modra2-17/+31
(cherry picked from commit a078d95abc554b6c2572fcab5550591639b1c871)