aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-11-15ELFv2 stub, plt and glink changesAlan Modra2-119/+219
(cherry picked from commit b9e5796b0d6ebc355e4a6d06791b7366939d10f2)
2013-11-15Add ELFv2 .localentry support.Alan Modra8-9/+264
(cherry picked from commit 6911b7dcb8ea17f8b811578dd4ac1ab7bb675e7b)
2013-11-15Add .abiversion related support for ELFv2Alan Modra9-15/+212
(cherry picked from commit ee67d69a3ff0eed25d98c5e97ed6c3ede8069edc)
2013-11-15Change plt stubs to have destination in r12.Alan Modra22-244/+300
(cherry picked from commit 71a39c98f8bedad54818c62ab2d567b0e2de546b)
2013-11-15Report overflow on PowerPC64 @h and @ha relocations.Alan Modra13-109/+443
(cherry picked from commit f9c6b9078c54ea0f018b673e2ff128e61a0aa666)
2013-11-15multilib osdir search paths for powerpc*-linuxAlan Modra3-26/+28
(cherry picked from commit 6c668e71eb5f8a9a3355e239738c85448adfc0e8)
2013-11-15daily updateAlan Modra1-1/+1
2013-11-14daily updateAlan Modra1-1/+1
2013-11-13bfd/Yufeng Zhang4-0/+33
* 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.
2013-11-13daily updateAlan Modra1-1/+1
2013-11-12daily updateAlan Modra1-1/+1
2013-11-11 * elfxx-aarch64.c (_bfd_aarch64_elf_grok_prstatus): Fix hard-codedYufeng Zhang2-1/+6
size of struct elf_prstatus.
2013-11-11daily updateAlan Modra1-1/+1
2013-11-10daily updateAlan Modra1-1/+1
2013-11-09daily updateAlan Modra1-1/+1
2013-11-08Remove CpuNop from CPU_K6_2_FLAGSH.J. Lu3-2/+8
PR gas/16140 * i386-gen.c (cpu_flag_init): Remove CpuNop from CPU_K6_2_FLAGS. * i386-init.h: Regenerated.
2013-11-08daily updateAlan Modra1-1/+1
2013-11-07Set CPU type in BFD backend for x86_64-nacl* and i?86-nacl* targetsRoland McGrath13-15/+73
bfd/ * archures.c (bfd_mach_i386_nacl): Fix definition so it doesn't collide with bfd_mach_l1om. * bfd-in2.h: Regenerate. * elf32-i386.c (elf32_i386_nacl_elf_object_p): New function. (elf_backend_object_p): Use that in elf32-i386-nacl definition. * elf64-x86-64.c (elf64_x86_64_nacl_elf_object_p): New function. (elf_backend_object_p): Use that in elf64-x86-64-nacl definition. (elf32_x86_64_nacl_elf_object_p): New function. (elf_backend_object_p): Use that in elf32-x86-64-nacl definition. binutils/ * objdump.c (dump_dwarf): Grok bfd_mach_x86_64_nacl and bfd_mach_x64_32_nacl as equivalent to bfd_mach_x86_64. ld/testsuite/ * ld-x86-64/x86-64.exp (mixed1, mixed2): Loosen error string match so it accepts "i386:nacl" in place of "i386". * ld-x86-64/ilp32-2.d: Likewise. * ld-x86-64/ilp32-3.d: Likewise. * ld-x86-64/lp64-2.d: Likewise. * ld-x86-64/lp64-3.d: Likewise. (cherry picked from commit 64b384e1e821cedccefa24f6d5bb82d353546ca1)
2013-11-07daily updateAlan Modra1-1/+1
2013-11-06daily updateAlan Modra1-1/+1
2013-11-05gas/Yufeng Zhang12-313/+389
* config/tc-aarch64.c (parse_sys_reg): Update to use aarch64_sys_reg; call aarch64_sys_reg_deprecated_p and warn about the deprecated system registers. gas/testsuite/ * gas/aarch64/deprecated.d: New file. * gas/aarch64/deprecated.l: New file. * gas/aarch64/deprecated.s: New file. * gas/aarch64/sysreg-1.s: Add tests. * gas/aarch64/sysreg-1.d: Add tests. include/opcode/ * aarch64.h (aarch64_sys_reg): New typedef. (aarch64_sys_regs): Change to define with the new type. (aarch64_sys_reg_deprecated_p): Declare. opcodes/ * aarch64-opc.c (F_DEPRECATED): New macro. (aarch64_sys_regs): Update; flag "spsr_svc" and "spsr_hyp" with F_DEPRECATED. (aarch64_print_operand): Call aarch64_sys_reg_deprecated_p on AARCH64_OPND_SYSREG.
2013-11-05gas/Yufeng Zhang19-37/+158
* config/tc-aarch64.c (parse_operands): Handle AARCH64_OPND_COND1. gas/testsuite/ * gas/aarch64/alias.s: Add tests. * gas/aarch64/alias.d: Update. * gas/aarch64/no-aliases.d: Update. * gas/aarch64/diagnostic.s: Add tests. * gas/aarch64/diagnostic.l: Update. * gas/aarch64/illegal.s: Add tests. * gas/aarch64/illegal.l: Update. include/opcode/ * aarch64.h (enum aarch64_operand_class): Add AARCH64_OPND_CLASS_COND. (enum aarch64_opnd): Add AARCH64_OPND_COND1. opcodes/ * aarch64-dis.c (convert_ubfm_to_lsl): Check for cond != '111x'. (convert_from_csel): Likewise. * aarch64-opc.c (operand_general_constraint_met_p): Handle AARCH64_OPND_CLASS_COND and AARCH64_OPND_COND1. (aarch64_print_operand): Handle AARCH64_OPND_COND1. * aarch64-tbl.h (aarch64_opcode_table): Use COND1 instead of COND for cinc, cset, cinv, csetm and cneg. (AARCH64_OPERANDS): Add entry for AARCH64_OPND_COND1. * aarch64-asm-2.c: Re-generated. * aarch64-dis-2.c: Ditto. * aarch64-opc-2.c: Ditto.
2013-11-05opcodes/Yufeng Zhang5-4/+36
* aarch64-opc.c (set_syntax_error): New function. (operand_general_constraint_met_p): Replace set_other_error with set_syntax_error. gas/testsuite/ * gas/aarch64/diagnostic.s: Add tests of ldp/stp. * gas/aarch64/diagnostic.l: Update.
2013-11-05config/tc-aarch64.c: Avoid trying to parse a vector mov as immediate.Will Newton5-1/+27
Parsing a vector mov instruction currently leads to a phantom undefined symbol being added to the symbol table. e.g.: .text mov x0, v0.D[0] Produces an undefined symbol called "v0.D". gas/ChangeLog: 2013-11-05 Will Newton <will.newton@linaro.org> PR gas/16103 * config/tc-aarch64.c (parse_operands): Avoid trying to parse a vector register as an immediate. gas/testsuite/ChangeLog: 2013-11-05 Will Newton <will.newton@linaro.org> * gas/aarch64/advsimd-mov-bad.d: New file. * gas/aarch64/advsimd-mov-bad.s: Likewise.
2013-11-05daily updateAlan Modra1-1/+1
2013-11-04daily updateAlan Modra1-1/+1
2013-11-03daily updateAlan Modra1-1/+1
2013-11-02daily updateAlan Modra1-1/+1
2013-11-01x86_64-*-nacl*: Adjust test cases for PLT nop fix.Roland McGrath3-3/+8
ld/testsuite/ * ld-x86-64/plt-nacl.pd: Update expected disassembly for PLT nop fix. * ld-x86-64/tlsdesc-nacl.pd: Likewise. (cherry picked from commit 61674ef7c5fed87cf71e65eab274199634208298)
2013-11-01*-*-nacl* layout: Drop requirement that some section have SEC_HAS_CONTENTS set.Roland McGrath2-5/+9
bfd/ * elf-nacl.c (segment_eligible_for_headers): Drop requirement that some section have SEC_HAS_CONTENTS set. It's not set for .note.gnu.build-id, and a segment of only read-only SHT_NOBITS sections is implausible and not really supportable anyway. (cherry picked from commit 86e0565d9c985fa0ba46c85dbe6e77bcaf62dd33)
2013-11-01daily updateAlan Modra1-1/+1
2013-11-01daily updateAlan Modra1-1/+1
2013-10-31 * nm.c (display_rel_file): Treat bfd_error_no_symbols asNick Clifton2-1/+14
non-fatal.
2013-10-30gold: x86_64-nacl: Correct 9-byte nop sequence to match what the assembler ↵Roland McGrath2-1/+6
generates. gold/ * x86_64.cc (Output_data_plt_x86_64_nacl::first_plt_entry): Correct 9-byte nop sequence to match what the assembler generates. (cherry picked from commit dd0845d708ab82f931fd7b800b4d218842ed635f)
2013-10-29BFD: elf64-x86-64-nacl: Correct 9-byte nop sequence used in PLT0 entry.Roland McGrath2-1/+6
bfd/ * elf64-x86-64.c (elf_x86_64_nacl_plt0_entry): Correct 9-byte nop sequence to match what the assembler generates. (cherry picked from commit 70cc877f6e7fc1bb19d3a60b9e10fafd38b86b4a)
2013-10-30daily updateAlan Modra1-1/+1
2013-10-20daily updateAlan Modra1-1/+1
2013-10-19daily updateAlan Modra1-1/+1
2013-10-18daily updateAlan Modra1-1/+1
2013-10-17daily updateAlan Modra1-1/+1
2013-10-17 PR 16056Alan Modra2-2/+9
* elf.c (copy_elf_program_header): Only consider SEC_ALLOC sections when finding lowest_section.
2013-10-16daily updateAlan Modra1-1/+1
2013-10-15daily updateAlan Modra1-1/+1
2013-10-14daily updateAlan Modra1-1/+1
2013-10-14 * output.h (Output_data_got::add_constant): Tidy.Alan Modra3-7/+92
(Output_data_got::add_constant_pair): New function. * powerpc.cc (Output_data_got_powerpc): Override all Output_data_got methods used so as to first call reserve_ent().
2013-10-13daily updateAlan Modra1-1/+1
2013-10-12daily updateAlan Modra1-1/+1
2013-10-12Only allow 32-bit/64-bit registers for bndcl/bndcu/bndcnH.J. Lu9-78/+120
gcc/ PR target/58690 * config/i386/i386.c (ix86_copy_addr_to_reg): New function. (ix86_expand_movmem): Replace copy_addr_to_reg with ix86_copy_addr_to_reg. (ix86_expand_setmem): Likewise. gcc/testsuite/ PR target/58690 * gcc.target/i386/pr58690.c: New test
2013-10-12Pass offset_size to print_dwarf_vma for cie_idH.J. Lu4-5/+14
binutils/ * dwarf.c (display_debug_frames): Pass offset_size to print_dwarf_vma for cie_id. binutils/testsuite/ * binutils-all/x86-64/compressed-1a.d: Updated for 64-bit addresses.
2013-10-11gold/Roland McGrath2-19/+3
* powerpc.cc (Output_data_got_powerpc): Remove unused methods add_got_entry and add_got_entry_pair.