summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3 from dgilbert999/binutils-2_24-ppe42binutils-2_24-ppe42Doug Gilbert2017-03-271-3/+9
|\ | | | | Use R10 for PPE42 long jumps
| * TEMP fix for SBE to do long jumps on DD1 hardware - will be removedDoug Gilbert2017-03-271-3/+9
| |
| * Merge remote-tracking branch 'upstream/binutils-2_24-ppe42' into ↵Doug Gilbert2017-03-270-0/+0
| |\ | |/ |/| | | binutils-2_24-ppe42
* | Merge pull request #2 from dgilbert999/binutils-2_24-ppe42Doug Gilbert2017-02-1510-17/+42
|\ \ | | | | | | Code clean up to satisfy gcc version 6
| * | Code clean up to satisfy gcc version 6Douglas Gilbert2017-02-0110-17/+42
|/ /
| * Code clean up to satisfy gcc version 6Douglas Gilbert2017-01-1710-17/+42
|/ | | | Backport of 29f628db8 and other issues
* PowerPC PPE42 modificationsDoug Gilbert2016-08-1511-885/+1464
|
* Add generated filesTristan Gingold2013-12-02117-0/+91511
|
* Bump version to 2.24Tristan Gingold2013-12-025-13/+19
| | | | | | | | | bfd/ 2013-12-02 Tristan Gingold <gingold@adacore.com> * configure.in: Bump version to 2.24 * Makefile.am (RELEASE): Set. * configure, Makefile.in: Regenerate.
* daily updateAlan Modra2013-12-021-1/+1
|
* daily updateAlan Modra2013-12-011-1/+1
|
* daily updateAlan Modra2013-11-301-1/+1
|
* daily updateAlan Modra2013-11-291-1/+1
|
* daily updateAlan Modra2013-11-281-1/+1
|
* daily updateAlan Modra2013-11-271-1/+1
|
* Bump version to 2.23.92Tristan Gingold2013-11-263-11/+16
| | | | | | | | bfd/ 2013-11-26 Tristan Gingold <gingold@adacore.com> * configure.in: Bump version to 2.23.92 * configure: Regenerate.
* daily updateAlan Modra2013-11-261-1/+1
|
* ld/ChangeLog:Yufeng Zhang2013-11-257-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.
* ld/ChangeLog:Yufeng Zhang2013-11-252-2/+14
| | | | | | * configure.tgt (aarch64_be-*-linux*): Split out the linux targets into targ_extra_libpath. (aarch64-*-linux*): Likewise.
* daily updateAlan Modra2013-11-251-1/+1
|
* daily updateAlan Modra2013-11-241-1/+1
|
* Use in-tree assembler for exception_x86_64_bnd_test.Cary Coutant2013-11-223-4/+10
| | | | | | | gold/ * testsuite/Makefile.am (exception_x86_64_bnd_test): Use in-tree assembler. * testsuite/Makefile.in: Regenerate.
* daily updateAlan Modra2013-11-231-1/+1
|
* Import config.sub and config.guess from upstream.Alan Modra2013-11-233-71/+94
|
* remove patch leftoversNick Clifton2013-11-225-4812/+0
|
* * windres.c (define_resource): Use zero for timestamp, makingNick Clifton2013-11-2217-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.
* daily updateAlan Modra2013-11-221-1/+1
|
* daily updateAlan Modra2013-11-211-1/+1
|
* gas/testsuite/Yufeng Zhang2013-11-207-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.
* Fix *-nacl* target objcopy/strip of binary made with custom linker scriptRoland McGrath2013-11-192-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)
* daily updateAlan Modra2013-11-201-1/+1
|
* Fix references to __ehdr_start when it cannot be definedRoland McGrath2013-11-1910-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)
* daily updateAlan Modra2013-11-191-1/+1
|
* Add a dummy "int bnd_prefix" argumentH.J. Lu2013-11-182-2/+8
| | | | | * config/tc-i386.c (lex_got): Add a dummy "int bnd_prefix" argument.
* Add R_X86_64_PC32_BND/R_X86_64_PLT32_BND suppor to goldH.J. Lu2013-11-186-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.
* Add support for armv7ve to gas.Yufeng Zhang2013-11-187-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-18 Chung-Lin Tang <cltang@codesourcery.com>Chung-Lin Tang2013-11-185-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.
* gas/Yufeng Zhang2013-11-185-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.
* Revert "Add support for AArch64 trace unit registers."Yufeng Zhang2013-11-1814-1021/+56
| | | | This reverts commit 7568a4e05cc35bc96e7a422a7f3a453665479197.
* Update minor version.Tristan Gingold2013-11-183-11/+16
| | | | | | | | bfd/ 2013-11-18 Tristan Gingold <gingold@adacore.com> * configure.in: Bump version to 2.23.91 * configure: Regenerate.
* daily updateAlan Modra2013-11-181-1/+1
|
* Add R_X86_64_PC32_BND and R_X86_64_PLT32_BNDH.J. Lu2013-11-1724-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.
* gas/Yufeng Zhang2013-11-1514-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.
* daily updateAlan Modra2013-11-161-1/+1
|
* Reorder invalid default mask checkMichael Zolotukhin2013-11-155-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.
* Fixes to powerpc64 gold ELFv2 supportAlan Modra2013-11-152-154/+349
| | | | (cherry picked from commit 9055360d4a69313949c3535ec065080cb814367d)
* ppc: signed/unsigned comparisonJan-Benedict Glaw2013-11-152-1/+4
| | | | | [BR]: https://sourceware.org/ml/binutils/2013-11/msg00064.html (cherry picked from commit e2b5892e6e75109898db1cfbda2975fa422ba762)
* PowerPC64 ELFv2, allocate dynreloc space for ifuncAlan Modra2013-11-152-2/+4
| | | | (cherry picked from commit 14b5f73fac0e34c2fca81aa0dfbc9c7eebc922f2)
* Correct elf64-ppc.c handling of protected symbolsAlan Modra2013-11-152-14/+20
| | | | (cherry picked from commit afe397ea85a3d09d936c93328a1f6bf640577cf3)
* Hide ppc64 .TOC. from --export-dynamicAlan Modra2013-11-152-3/+17
| | | | (cherry picked from commit dba6fa9bce92c9f9fcca07269ac8443797bd9338)
OpenPOWER on IntegriCloud