aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2012-11-08Regenerate.Alan Modra2-0/+8
2012-11-072012-11-07 James Murray <jsm@jsm-net.demon.co.uk>Sean Keys1-3/+3
* config/tc-m68hc11.c: Fix R_M68HC12_16B relocation for movb/w
2012-11-072012-11-07 David Holsgrove <david.holsgrove@xilinx.com>Michael Eager3-3/+11
* config/tc-microblaze.c: Remove special register condition check for INST_TYPE_RFSL related instructions. 2012-11-07 David Holsgrove <david.holsgrove@xilinx.com> * testsuite/gas/microblaze/special_reg.exp: Add test case. * testsuite/gas/microblaze/special_reg.s: Likewise. * testsuite/gas/microblaze/special_reg.d: Likewise.
2012-11-06 * config/tc-xgate.c: Make some functions static. FormattingAlan Modra2-376/+340
style and whitespace fixes. Wrap overly long lines. Format help message.
2012-11-06bfd/Alan Modra2-8/+6
* coff-tic4x.c (tic4x_coff0_vec, tic4x_coff0_beh_vec, tic4x_coff1_vec, tic4x_coff1_beh_vec, tic4x_coff2_vec, tic4x_coff2_beh_vec): Allow SEC_CODE and SEC_READONLY in section flags. gas/ * config/tc-tic4x.c: Remove alignment TODO comments. (tic4x_do_align): Enable subseg_text_p test.
2012-11-06bfd/Alan Modra3-5/+43
* elf64-ppc.c (struct ppc_link_hash_table): Add dot_toc_dot. (ppc64_elf_size_stubs): Lookup ".TOC.". (ppc64_elf_relocate_section): Resolve special symbol ".TOC.". gas/ * config/tc-ppc.c (ppc_elf_adjust_symtab): New function, split out.. (ppc_frob_file_before_adjust): ..from here. (md_apply_fix): Set BSF_KEEP on .TOC. if not @tocbase. * config/tc-ppc.h (ppc_elf_adjust_symtab): Declare. (tc_adjust_symtab): Define.
2012-11-06 * config/tc-ppc.c (md_apply_fix): Fix xcoff build breakage fromAlan Modra2-0/+7
last patch.
2012-11-06 * config/tc-xgate.c: Remove bogus use of <fx_pcrel_adjust>.Sean Keys3-45/+31
* config/tc-m68hc11.c: Likewise.
2012-11-05 * configure.in: Apply 2012-09-10 change to config.in here.Alan Modra2-1/+5
2012-11-05 * config/tc-ppc.c (md_chars_to_number): Delete.Alan Modra2-520/+440
(ppc_setup_opcodes): Assert num_powerpc_operands fit. (ppc_is_toc_sym): Move earlier in file. (md_assemble): Move code setting reloc from md_apply_fix. Combine non-ELF code setting fixup with ELF code. Stash opindex in fx_pcrel_adjust. Adjust fixup offset for VLE. Don't set fx_no_overflow here. (md_apply_fix): Rewrite to use ppc_insert_operand for all resolved instruction fields. Leave insn field zero when emitting an ELF reloc in most cases.
2012-11-05 * write.h (struct fix <fx_pcrel_adjust>): Make it a signed char.Alan Modra3-8/+10
* config/tc-m68k.c (tc_gen_reloc, md_pcrel_from): Remove explicit sign extendion of fx_pxrel_adjust.
2012-11-01 * config/tc-mips.c (is_delay_slot_valid): Simplify expression.Maciej W. Rozycki2-2/+5
2012-11-01 gas/Maciej W. Rozycki6-0/+79
* config/tc-mips.c (append_insn): Set fx_no_overflow for 16-bit microMIPS branch relocations. gas/testsuite/ * gas/mips/micromips-b16.d: New test. * gas/mips/micromips-b16.s: New test source. * gas/mips/mips.exp: Run the new test.
2012-11-01 gas/Maciej W. Rozycki10-7/+185
* config/tc-mips.c (is_delay_slot_valid): Don't accept macros in 16-bit delay slots. (macro_build_jalr): Emit 32-bit JALR if placed in a 32-bit delay slot. (macro) <M_JAL_2>: Likewise gas/testsuite/ * gas/mips/micromips-branch-delay.l: Update messages for 16-bit delay slot changes. * gas/mips/micromips-warn-branch-delay.d: New test. * gas/mips/micromips-warn-branch-delay.l: Stderr output for the new test. * gas/mips/micromips-warn-branch-delay-1.d: New test. * gas/mips/micromips-warn-branch-delay.s: New test source. * gas/mips/micromips-warn-branch-delay-1.s: New test source. * gas/mips/mips.exp: Run the new tests.
2012-10-312012-10-31 David Holsgrove <david.holsgrove@xilinx.com>Michael Eager10-1/+181
* config/tc-microblaze.c: Check for weak symbols before emitting relocation. 2012-10-31 David Holsgrove <david.holsgrove@xilinx.com> * gas/microblaze: New. * gas/microblaze/reloc_sym.exp: Add test case. * gas/microblaze/reloc_strongsym.s: Likewise. * gas/microblaze/reloc_weaksym.s: Likewise. * gas/microblaze/reloc_sym.d: Likewise.
2012-10-30bfd:Nick Clifton1-3/+2
* elf32-arm.c (elf32_arm_print_private_bfd_data): Recognise and display the new ARM hard-float/soft-float ABI flags for EABI_VER5 (elf32_arm_post_process_headers): Add the hard-float/soft-float ABI flag as appropriate for ET_DYN/ET_EXEC in EABI_VER5. binutils: * readelf.c (decode_ARM_machine_flags): Recognise and display the new ARM hard-float/soft-float ABI flags for EABI_VER5. Split out the code for EABI_VER4 and EABI_VER5 to allow this. elfcpp: * arm.h: New enum for EABI soft- and hard-float flags. gold: * gold.cc (Target_arm::do_adjust_elf_header): Add the hard-float/soft-float ABI flag as appropriate for ET_DYN/ET_EXEC in EABI_VER5. include: * elf/arm.h (EF_ARM_ABI_FLOAT_SOFT): New define. (EF_ARM_ABI_FLOAT_HARD): Likewise. ld/testsuite: * ld-arm/eabi-hard-float.s: New test source. * ld-arm/eabi-soft-float.s: New test source. * ld-arm/eabi-hard-float.d: New test. * ld-arm/eabi-soft-float.d: New test. * ld-arm/eabi-soft-float-ABI4.d: New test. * ld-arm/eabi-soft-float-r.d: New test. * ld-arm/arm-elf.xp: Use the new tests. binutils: PR binutils/14779 * configure.in: Add checks for wchar.h and mbstate_t. * config.in: Regenerate. * configure: Regenerate. * readelf.c: Conditionally include wchar.h. (print_symbol): Conditionally use mbstate_t.
2012-10-29 * sb.c (sb_check): Use __builtin_clzll when size_t is not theAlan Modra2-1/+9
same size as long.
2012-10-29binutils/Alan Modra2-6/+4
* dlltool.c (INIT_SEC_DATA): Move. (secdata <DLLTOOL_PPC>): Use here too. binutils/testsuite/ * binutils-all/copy-3.d: Exclude all cygwin and mingw targets, and rs6000. gas/ * config/tc-ppc.c (ppc_znop): Remove unused vars. ld/ * configure.tgt (powerpcle-pe,winnt,cygwin): Add deffilep.o and pe-dll.o.
2012-10-29 * gas/cfi/cfi.exp: Remove redundant ppc test. ExcludeAlan Modra62-2815/+2935
powerpc-pe targets from cfi-common-6 test. * gas/cfi/cfi-ppc-1.d: Use objdump to handle pe. * gas/cfi/cfi-ppc-1.s: Don't use .type and .size. * gas/ppc/ppc.exp: Exclude various tests for powerpc-pe. Exclude vle tests for le targets. * gas/ppc/476.d, * gas/ppc/476.s: Update for le output. Use .text rather than section directive with quotes. * gas/ppc/a2.d, * gas/ppc/a2.s: Likewise. * gas/ppc/altivec.d, * gas/ppc/altivec.s: Likewise. * gas/ppc/altivec2.d: Likewise. * gas/ppc/altivec_and_spe.d: Likewise. * gas/ppc/astest.d: Likewise. * gas/ppc/astest2.d: Likewise. * gas/ppc/astest2_64.d: Likewise. * gas/ppc/astest64.d: Likewise. * gas/ppc/booke.d, * gas/ppc/booke.s: Likewise. * gas/ppc/cell.d, * gas/ppc/cell.s: Likewise. * gas/ppc/common.d, * gas/ppc/common.s: Likewise. * gas/ppc/e500.d, * gas/ppc/e500.s: Likewise. * gas/ppc/e500mc.d, * gas/ppc/e500mc.s: Likewise. * gas/ppc/e500mc64_nop.d, * gas/ppc/e500mc64_nop.s: Likewise. * gas/ppc/e5500_nop.d, * gas/ppc/e5500_nop.s: Likewise. * gas/ppc/e6500.d, * gas/ppc/e6500.s: Likewise. * gas/ppc/e6500_nop.d, * gas/ppc/e6500_nop.s: Likewise. * gas/ppc/machine.d: Likewise. * gas/ppc/power4.d, * gas/ppc/power4.s: Likewise. * gas/ppc/power4_32.d, * gas/ppc/power4_32.s: Likewise. * gas/ppc/power6.d, * gas/ppc/power6.s: Likewise. * gas/ppc/power7.d, * gas/ppc/power7.s: Likewise. * gas/ppc/ppc750ps.d, * gas/ppc/ppc750ps.s: Likewise. * gas/ppc/regnames.d: Likewise. * gas/ppc/simpshft.d: Likewise. * gas/ppc/test1elf32.d: Likewise. * gas/ppc/test1elf64.d: Likewise. * gas/ppc/titan.d, * gas/ppc/titan.s: Likewise. * gas/ppc/vle-reloc.s: Likewise. * gas/ppc/vle-simple-1.s: Likewise. * gas/ppc/vle-simple-2.s: Likewise. * gas/ppc/vle-simple-3.s: Likewise. * gas/ppc/vle-simple-4.s: Likewise. * gas/ppc/vle-simple-5.s: Likewise. * gas/ppc/vle-simple-6.s: Likewise. * gas/ppc/vle.s: Likewise. * gas/ppc/vsx.d, * gas/ppc/vsx.s: Likewise.
2012-10-27gas/testsuite:Iain Sandoe2-1/+8
2012-10-27 James Lemke <jwlemke@codesourcery.com> * gas/m68k/all.exp: Exclude pr11676 for fido-*-*.
2012-10-262012-10-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel10-675/+712
* s390-mkopc.c: Accept empty lines in s390-opc.txt. * s390-opc.c: Add M_20OPT field. New instruction formats RRF_RURR2 and RRF_RMRR. * s390-opc.txt: Add new instructions. New instruction type for lptea. 2012-10-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/testsuite/gas/s390/zarch-z10.d: Refreshed. * gas/testsuite/gas/s390/zarch-z10.s: Refreshed. * gas/testsuite/gas/s390/zarch-z196.d: Refreshed. * gas/testsuite/gas/s390/zarch-z196.s: Refreshed. * gas/testsuite/gas/s390/zarch-z9-109.d: Refreshed. * gas/testsuite/gas/s390/zarch-z990.d: Refreshed. * gas/testsuite/gas/s390/zarch-z990.s: Refreshed. * gas/testsuite/gas/s390/zarch-zEC12.d: Refreshed. * gas/testsuite/gas/s390/zarch-zEC12.s: Refreshed.
2012-10-26gas/testsuite:Christian Groessler4-0/+42
* gas/z8k/z8k.exp: Run translate-ops test. * gas/z8k/translate-ops.s: New file. * gas/z8k/translate-ops.d: New file. opcodes: * z8kgen.c (struct op): Fix encoding for translate opcodes (trdb, trdrb, trib, trirb, trtdb, trtdrb, trtib, trtirb). Remove non-existing opcode trtrb. * z8k-opc.h: Regenerate.
2012-10-26 PR target/14758Alan Modra2-3/+9
bfd/ * elf32-ppc.c (ppc_elf_reloc_type_lookup): Decode ppc64 _DS bfd_reloc values. Map to corresponding D-form relocs. (is_insn_ds_form, is_insn_qs_form): New functions. (ppc_elf_relocate_section): Validate insn with DS-form or DQ-form fields using D-form reloc. gas/ * config/tc-ppc.c (ppc_setup_opcodes): Fix comment. (md_assemble): Translate to _DS relocs for ppc32 as well as ppc64. (tc_gen_reloc): Handle _DS relocs in ppc32 mode.
2012-10-26 * gas/ppc/power4.s: Fix invalid lq offsets.Alan Modra3-92/+81
* gas/ppc/power4.d: Update.
2012-10-24gas/testsuite/Roland McGrath4-0/+14
* gas/i386/rex.s: Add test of REX prefix before fsave (i.e. fwait). * gas/i386/rex.d: Update. opcodes/ * i386-dis.c (ckprefix): When bailing out for fwait with prefixes, set rex_used to rex.
2012-10-22opcodes/Peter Bergner2-1/+5
* ppc-opc.c (powerpc_opcodes) <vcfpsxws>: Fix opcode spelling. gas/testsuite/ * gas/ppc/altivec.s <vcfpsxws>: Fix opcode spelling.
2012-10-22 * as.c (dump_statistics): Compute data size as the delta betweenSimon Baldwin2-1/+13
current sbrk(0) and start_sbrk. * (main): Set start_sbrk to sbrk(0) on entry.
2012-10-18 * config/obj-coff.c: Add include of struc-symbol.h header.Kai Tietz2-2/+10
(coff_frob_symbol): Check that function-aux entries are generated for defined symbols only.
2012-10-18 * doc/as.texinfo: Add missing documentation about section flagKai Tietz2-0/+7
exclude.
2012-10-15Updated the system register table.Yufeng Zhang5-0/+22
opcodes/ * aarch64-opc.c (aarch64_sys_regs): Add rmr_el1, rmr_el2 and rmr_el3; remove daifset and daifclr. gas/testsuite/ * gas/aarch64/sysreg-1.s: Add tests of rmr_el1, rmr_el2 and rmr_el3. * gas/aarch64/sysreg-1.d: Update. * gas/aarch64/illegal.s: Add tests of daifset and daifclr. * gas/aarch64/illegal.d: Update.
2012-10-15Added the changelog for the previous commit.Yufeng Zhang1-0/+5
2012-10-15Added missing alignment check to load/store uimm12 immediate offset.Yufeng Zhang2-0/+3
opcodes/ * aarch64-opc.c (operand_general_constraint_met_p): Change to check the alignment of addr.offset.imm instead of that of shifter.amount for operand type AARCH64_OPND_ADDR_UIMM12. gas/testsuite/ * gas/aarch64/illegal-2.s: Add test case. * gas/aarch64/illegal-2.l: Likewise.
2012-10-14 * config/tc-hppa.c (pa_get_number): New.Dave Anglin2-43/+52
(pa_get_absolute_expression): Simplify. (pa_ip): Use pa_get_number instead of pa_get_absolute_expression to get SOP, SFU and COPR identifiers.
2012-10-14 * config/tc-hppa.c (pa_ip): Reject double floating point stores andDave Anglin2-1/+9
loads that reference the right half of a floating point register.
2012-10-14 * gas/hppa/basic/fmemLRbug.s: Remove double load and store instructionsDave Anglin3-56/+46
which reference the right half of a floating point register. * gas/hppa/basic/basic.exp: Adjust expected results.
2012-10-13 * config/tc-hppa.c (pa_ip): Limit unit conditions for uxor to thoseDave Anglin2-8/+17
not involving a carry.
2012-10-13 * gas/hppa/basic/unit.s: Remove uxor instructions with unit conditionDave Anglin4-92/+75
involving a carry. * gas/hppa/basic/unit2.s: Likewise. * gas/hppa/basic/basic.exp: Adjusted expected.
2012-10-12gas/Peter Bergner2-2/+6
* doc/as.texinfo (-mpwr4, -mpwr7): Fix option name typos.
2012-10-112012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>Richard Earnshaw5-104/+112
* arm-dis.c: Use preferred form of vrint instruction variants for disassembly. 2012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gas/arm/armv8-a+fp.d: Use preferred form of vrint instruction variants for disassembly. * gas/arm/armv8-a+fp.s: Likewise. * gas/arm/armv8-a+simd.d: Likewise. * gas/arm/armv8-a+simd.s: Likewise.
2012-10-112012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>Richard Earnshaw15-35/+74
* config/tc-arm.c: Change condition code insertion for lds[hb] instructions from after the 2nd character to after the 3rd. (tCM): Remove macro. (TxCM): Likewise. (TxCM_): Likewise. (TCM): Likewise. 2012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * gas/arm/ldgesb-bad.d: New file. * gas/arm/ldgesb-bad.l: Likewise. * gas/arm/ldgesb-bad.s: Likewise. * gas/arm/ldgesh-bad.d: Likewise. * gas/arm/ldgesh-bad.l: Likewise. * gas/arm/ldgesh-bad.s: Likewise. * gas/arm/ldsgeb.d: Likewise. * gas/arm/ldsgeb.s: Likewise. * gas/arm/ldsgeb.l: Likewise. * gas/arm/ldsgeh.d: Likewise. * gas/arm/ldsgeh.s: Likewise. * gas/arm/ldsgeh.l: Likewise.
2012-10-09Add AMD bdver3 support.Nagajyothi Eggone9-1/+429
gas/ * config/tc-i386.c (cpu_arch): Add CPU_BDVER3_FLAGS. * doc/c-i386.texi: Add -march=bdver3 option. gas/testsuite/ * gas/i386/i386.exp: Run bdver3 test cases. * gas/i386/nops-1-bdver3.d: New. * gas/i386/arch-10-bdver3.d: New. * gas/i386/x86-64-nops-1-bdver3.d: New. * gas/i386/x86-64-arch-2-bdver3.d: New. opcodes/ * i386-gen.c (cpu_flag_init): Add CPU_BDVER3_FLAGS. * i386-init.h: Regenerated.
2012-10-05opcodes/Peter Bergner8-0/+513
* ppc-dis.c (ppc_opts) <altivec>: Use PPC_OPCODE_ALTIVEC2; * ppc-opc.c (VBA): New define. (powerpc_opcodes) <vcuxwfp, vcsxwfp, vcfpuxws, vcfpsxsw, vmr, vnot, mfppr, mfppr32, mtppr, mtppr32>: New extended mnemonics. gas/testsuite/ * gas/ppc/power7.d: Add tests for mfppr, mfppr32, mtppr and mtppr32. * gas/ppc/power7.s: Likewise. * gas/ppc/altivec.d: Add tests for all legacy Altivec instructions. * gas/ppc/altivec.s: Likewise. * gas/ppc/altivec2.d: New test file. * gas/ppc/altivec2.s: Likewise. * gas/ppc/ppc.exp: Run it.
2012-10-04 * v850-dis.c (disassemble): Place square parentheses around secondNick Clifton4-5/+15
register operand of clr1, not1, set1 and tst1 instructions. * config/tc-v850.c (v850_insert_operand): Use a static buffer for the error message. * gas/v850/v850e1.d: Fix expected disassembly of clr1, not1, set1 and tst1 insns.
2012-10-042012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel3-4/+9
* gas/s390/zarch-zEC12.d: Fix branch preload instructions. * gas/s390/zarch-zEC12.s: Likewise.
2012-10-04Commit missing files from last patch.Andreas Krebbel2-0/+104
2012-10-042012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>Andreas Krebbel6-2/+18
* config/tc-s390.c (s390_parse_cpu): Add new option zEC12. * doc/as.texinfo: Document new option zEC12. * doc/c-s390.texi: Likewise. 2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/s390/s390.exp: Run zEC12 tests. * gas/s390/zarch-zEC12.d: New file. * gas/s390/zarch-zEC12.s: New file. 2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * s390-mkopc.c: Support new option zEC12. * s390-opc.c: Add new instruction formats. * s390-opc.txt: Add new instructions for zEC12. 2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * s390.h (s390_opcode_cpu_val): Add S390_OPCODE_ZEC12.
2012-10-03* config/tc-rl78.c: Change line_separator to '@' so that '|' canDJ Delorie2-1/+8
be used in expressions.
2012-10-01 * write.c (chain_frchains_together_1): Reorder assertion to avoidAlan Modra2-2/+7
uninit warning.
2012-09-25Add missing Cpu flags in bd and bt coresH.J. Lu10-6/+104
gas/testsuite/ 2012-09-25 Saravanan Ekanathan <saravanan.ekanathan@amd.com> * gas/i386/arch-10-bdver1.d: New file to test bdver1 core. * gas/i386/x86-64-arch-2-bdver1.d: Likewise. * gas/i386/i386.exp: Run bdver1 testcases. * gas/i386/arch-10-bdver2.d: Updated -march flags. * gas/i386/arch-10-btver1.d: Likewise. * gas/i386/arch-10-btver2.d: Likewise. * gas/i386/x86-64-arch-2-bdver2.d: Likewise. * gas/i386/x86-64-arch-2-btver1.d: Likewise. * gas/i386/x86-64-arch-2-btver2.d: Likewise. opcodes/ 2012-09-25 Saravanan Ekanathan <saravanan.ekanathan@amd.com> * gas/i386/arch-10-bdver1.d: New file to test bdver1 core. * gas/i386/x86-64-arch-2-bdver1.d: Likewise. * gas/i386/i386.exp: Run bdver1 testcases. * gas/i386/arch-10-bdver2.d: Updated -march flags. * gas/i386/arch-10-btver1.d: Likewise. * gas/i386/arch-10-btver2.d: Likewise. * gas/i386/x86-64-arch-2-bdver2.d: Likewise. * gas/i386/x86-64-arch-2-btver1.d: Likewise. * gas/i386/x86-64-arch-2-btver2.d: Likewise.
2012-09-23gas/testsuite/Richard Sandiford21-0/+394
2012-09-23 Maciej W. Rozycki <macro@codesourcery.com> * gas/mips/hilo-diff-eb.d: New test. * gas/mips/hilo-diff-eb-n32.d: New test. * gas/mips/hilo-diff-eb-n64.d: New test. * gas/mips/hilo-diff-el.d: New test. * gas/mips/hilo-diff-el-n32.d: New test. * gas/mips/hilo-diff-el-n64.d: New test. * gas/mips/mips16@hilo-diff-eb.d: New test. * gas/mips/mips16@hilo-diff-eb-n32.d: New test. * gas/mips/mips16@hilo-diff-eb-n64.d: New test. * gas/mips/mips16@hilo-diff-el.d: New test. * gas/mips/mips16@hilo-diff-el-n32.d: New test. * gas/mips/mips16@hilo-diff-el-n64.d: New test. * gas/mips/micromips@hilo-diff-eb.d: New test. * gas/mips/micromips@hilo-diff-eb-n32.d: New test. * gas/mips/micromips@hilo-diff-eb-n64.d: New test. * gas/mips/micromips@hilo-diff-el.d: New test. * gas/mips/micromips@hilo-diff-el-n32.d: New test. * gas/mips/micromips@hilo-diff-el-n64.d: New test. * gas/mips/hilo-diff.s: New test source. * gas/mips/mips.exp: Run the new tests.