aboutsummaryrefslogtreecommitdiff
path: root/gas/config
AgeCommit message (Collapse)AuthorFilesLines
2007-03-18 gas/Mark Shinwell1-6/+6
* config/tc-arm.c (do_mul): Don't warn about overlapping Rd and Rm operands when assembling for v6 or above. Correctly capitalize register names in the messages. (do_mlas): Likewise. Delete spurious blank line. gas/testsuite/ * gas/arm/mul-overlap.s: New. * gas/arm/mul-overlap.d: New. * gas/arm/mul-overlap.l: New. * gas/arm/mul-overlap-v6.s: New. * gas/arm/mul-overlap-v6.d: New.
2007-03-16 * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.Kazu Hirata1-0/+1
2007-03-15gas/H.J. Lu1-2/+3
2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (md_begin): Use i386_regtab_size to scan i386_regtab. (parse_register): Use i386_regtab_size instead of ARRAY_SIZE on i386_regtab. opcodes/ 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.c: Include "libiberty.h". (i386_regtab): Remove the last entry. (i386_regtab_size): New. (i386_float_regtab_size): Likewise. * i386-opc.h (i386_regtab_size): New. (i386_float_regtab_size): Likewise.
2007-03-15gas/H.J. Lu2-231/+6
2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am: Run "make dep-am". * Makefile.in: Regenerated. * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of "opcode/i386.h". (md_begin): Check reg_name != NULL for the last entry in i386_regtab. * config/tc-i386.h: Move many entries to opcode/i386.h and opcodes/i386-opc.h. * configure.in (need_opcodes): Set true for i386. * configure: Regenerated. include/opcode/ 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * i386.h: Add entries from config/tc-i386.h and move tables to opcodes/i386-opc.h. opcodes/ 2007-03-15 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (CFILES): Add i386-opc.c. (ALL_MACHINES): Add i386-opc.lo. Run "make dep-am". * Makefile.in: Regenerated. * configure.in: Add i386-opc.lo for bfd_i386_arch. * configure: Regenerated. * i386-dis.c: Include "opcode/i386.h". (MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition. (FWAIT_OPCODE): Remove definition. (UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition. (MAX_OPERANDS): Remove definition. * i386-opc.c: New file. * i386-opc.h: Likewise.
2007-03-15 gas/Daniel Jacobowitz2-0/+12
* config/tc-arm.c (arm_copy_symbol_attributes): New. * config/tc-arm.h (arm_copy_symbol_attributes): Declare. (TC_COPY_SYMBOL_ATTRIBUTES): Define. * gas/symbols.c (copy_symbol_attributes): Use TC_COPY_SYMBOL_ATTRIBUTES. gas/testsuite/ * gas/arm/thumbver.d, gas/arm/thumbver.s: New test.
2007-03-142007-03-14 Paul Brook <paul@codesourcery.com>Paul Brook1-1/+1
gas/ * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding. gas/testsuite/ * gas/arm/thumb2_add.d: Add tests using sp. * gas/arm/thumb2_add.s: Ditto.
2007-03-122007-03-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-10/+21
* config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX on i.tm.base_opcode. (match_template): Likewise. (process_operands): Use ~0x3 mask to match MOV_AX_DISP32. * config/tc-i386.h (Opcode_D): New. (Opcode_FloatR): Likewise. (Opcode_FloatD): Likewise. (D): Redefined. (W): Likewise. (FloatMF): Likewise. (FloatR): Likewise. (FloatD): Likewise.
2007-03-09 * config/tc-i386.h (WORKING_DOT_WORD): Define.Alan Modra1-0/+2
2007-03-062007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>Martin Schwidefsky1-0/+2
* opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR, INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New instruction formats added. (MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF, MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format masks added. * opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point instructions added. * opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added. (main): z9-ec cpu type option added. * include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added. 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com> * config/tc-s390.c (md_parse_option): z9-ec option added. 2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com> * gas/s390/zarch-z9-ec.d: New file. * gas/s390/zarch-z9-ec.s: New file. * gas/s390/s390.exp: Run the z9-ec testcases.
2007-03-022007-03-02 Paul Brook <paul@codesourcery.com>Paul Brook1-18/+46
gas/ * config/tc-arm.c (relax_immediate): Always return positive values. (relaxed_symbol_addr): New function. (relax_adr, relax_branch): Use it. (arm_relax_frag): Pass stretch argument. Adjust infinite loop check. gas/testsuite/ * gas/arm/relax_branch_align.d: New test. * gas/arm/relax_branch_align.s: New test.
2007-02-28PR gas/3797Nick Clifton1-11/+8
* config/tc-d10v.c (do_assemble): Do not generate error messages, just return -1 whenever a problem is encoun$ (md_assemble): If do_assemble returns -1 generate a non-fatal error message and return. * gas/lns/lns.exp: Do not run the lns-common test for the d10v port. * gas/d10v/address-002.l: Update expected assembler output. * gas/d10v/address-003.l, gas/d10v/address-004.l, gas/d10v/address-005.l, gas/d10v/address-006.l, gas/d10v/address-007.l, gas/d10v/address-008.l, gas/d10v/address-009.l, gas/d10v/address-010.l, gas/d10v/address-011.l, gas/d10v/address-012.l, gas/d10v/address-013.l, gas/d10v/address-014.l, gas/d10v/address-015.l, gas/d10v/address-016.l, gas/d10v/address-017.l, gas/d10v/address-018.l, gas/d10v/address-019.l, gas/d10v/address-020.l, gas/d10v/address-021.l, gas/d10v/address-022.l, gas/d10v/address-023.l, gas/d10v/address-024.l, gas/d10v/address-025.l, gas/d10v/address-026.l, gas/d10v/address-027.l, gas/d10v/address-030.l, gas/d10v/address-031.l, gas/d10v/address-032.l, gas/d10v/address-033.l, gas/d10v/address-034.l, gas/d10v/address-035.l, gas/d10v/address-036.l, gas/d10v/address-037.l, gas/d10v/address-038.l, gas/d10v/address-039.l, gas/d10v/address-040.l, gas/d10v/address-041.l: Likewise.
2007-02-28PR gas/2623Nick Clifton1-1/+1
* config/tc-msp430.c (line_separator_char): Change to '{'.
2007-02-27 * config/tc-m68hc11.c (fixup24): Correct fixup size.Alan Modra1-7/+7
(build_jump_insn): Likewise. (build_insn): Likewise. (s_m68hc11_relax): Likewise.
2007-02-27 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.Alan Modra1-0/+1
2007-02-25 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.Mark Shinwell1-2/+2
2007-02-22 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.Alan Modra1-11/+2
(md_assemble): Likewise.
2007-02-20 PR 4082Alan Modra1-1/+5
* config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
2007-02-20 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.Thiemo Seufer1-2/+9
2007-02-20 [ gas/ChangeLog ]Thiemo Seufer1-11/+110
* config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2, ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support. (macro_build): Add case '2'. (macro): Expand M_BALIGN to nop, packrl.ph or balign. (validate_mips_insn): Add support for balign instruction. (mips_ip): Handle DSP R2 instructions. Support balign instruction. (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE, md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2 command line options. (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives. (md_show_usage): Add -mdspr2 and -mno-dspr2 help output. * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2, .set dspr2, .set nodspr2. [ gas/testsuite/ChangeLog ] * gas/mips/mips32-dspr2.s, gas/mips/mips32-dspr2.d: New test for DSP R2. * gas/mips/mips.exp: Run new test. [ include/opcode/Changelog ] * mips.h (OP_SH_BP, OP_MASK_BP): Add support for balign instruction. (INSN_DSPR2): Add flag for DSP R2 instructions. (M_BALIGN): New macro. [ opcodes/ChangeLog ] * mips-dis.c (mips_arch_choices): Add DSP R2 support. (print_insn_args): Add support for balign instruction. * mips-opc.c (D33): New shortcut for DSP R2 instructions. (mips_builtin_opcodes): Add DSP R2 instructions. [ sim/mips/ChangeLog ] * Makefile.in (IGEN_INCLUDE): Add dsp2.igen. * configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*): Add dsp2 to sim_igen_machine. * configure: Regenerate. * dsp.igen (do_ph_op): Add MUL support when op = 2. (do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph. (mulq_rs.ph): Use do_ph_mulq. (MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen. * mips.igen: Add dsp2 model and include dsp2.igen. (MFHI, MFLO, MTHI, MTLO): Extend these instructions for for *mips32r2, *mips64r2, *dsp. (MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions for *mips32r2, *mips64r2, *dsp2. * dsp2.igen: New file for MIPS DSP REV 2 ASE. [ sim/testsuite/sim/mips/ChangeLog ] * basic.exp: Run the dsp2 test. * utils-dsp.inc (dspckacc_astio, dspck_tsimm): New macro. * mips32-dsp2.s: New test.
2007-02-20 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.Nathan Sidwell1-0/+23
(m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
2007-02-17 * write.c (TC_FX_SIZE_SLACK): Define.Alan Modra5-0/+17
(write_relocs): Reinstate check for fixup within frag. * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define. * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define. * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define. * config/tc-sh.h (TC_FX_SIZE_SLACK): Define. * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
2007-02-15 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.Nathan Sidwell2-18/+52
* config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names. (mcf5475_ctrl, mcf5485_ctrl): New. (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families. (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling. (init_table): Add asid, mmubar, adjust rombar0.
2007-02-13gas/Alan Modra2-96/+160
* config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete. * config/tc-i386.c: Wrap overly long lines, whitespace fixes. (process_operands): Move old Seg2ShortForm and Seg3ShortForm code, and test for these insns using a combination of opcode_modifier and operand_types. include/opcode/ * i386.h (i386_optab): Replace all occurrences of Seg2ShortForm and Seg3ShortFrom with Shortform.
2007-02-05Support for Toshiba MeP and for complex relocations.Dave Brolley3-0/+2009
2007-02-04* config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3DJ Delorie2-0/+35
byte relocs. * config/tc-m32c.h (TC_CONS_FIX_NEW): Define. (m32c_cons_fix_new): Prototype.
2007-02-03 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.Bob Wilson1-4/+4
(xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
2007-02-02 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.Bob Wilson1-51/+97
(xtensa_elf_suffix): Use suffix_relocs instead of local mapping table. (map_suffix_reloc_to_operator): New. (map_operator_to_reloc): New. (expression_maybe_register): Fix incorrect test of return value from xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator. (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
2007-02-02 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.Bob Wilson2-15/+1
(tinsn_get_tok): Delete prototype. * config/tc-xtensa.c (tinsn_get_tok): Delete.
2007-02-02 * config/xtensa-relax.h (struct build_instr): Delete id field.Bob Wilson2-131/+72
* config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL and LABEL tokens. (append_literal_op, append_label_op): Remove litnum/labnum arguments; set op_data fields to zero. (parse_id_constant): Delete. (build_transition): Remove code to handle numbered literals and labels.
2007-02-02 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.Bob Wilson1-59/+26
(build_transition_table): Likewise.
2007-02-01 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use ofBob Wilson2-13/+2
fx_tcbit. * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
2007-02-01 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.Alan Modra12-22/+21
(struct fix <fx_plt>): Rename to tcbit2. * write.c (fix_new_internal): Adjust. (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise. * config/tc-msp430.c (msp430_force_relocation_local): Likewise. * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt. * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt. Instead, compare fx_r_type. * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use fx_tcbit in place of fx_plt. * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define. * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference to fx_plt.
2007-01-282076-01-28 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-37/+10
* config/tc-i386.c (swap_imm_operands): Renamed to ... (swap_2_operands): This. Take 2 ints. (md_assemble): Updated. (swap_operands): Call swap_2_operands to swap 2 operands.
2007-01-24* config/tc-m32c.c (md_pseudo_table): Add .3byte.DJ Delorie1-0/+1
2007-01-22* tc-score.c: Remove unnecessary uses of _().Nick Clifton1-57/+49
Make the err_msg[] a file level local array in order to save storage space. Remove unnecessary sprintf()s.
2007-01-182007-01-18 Mei Ligang <ligang@sunnorth.com.cn>Mei Ligang1-79/+69
* config/tc-score.c : Using _() for const string. Do not assign inst.error with a local string pointer. (md_section_align): Pad section.
2007-01-132007-01-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-15/+15
* config/tc-i386.c (build_modrm_byte): Check number of operands when procssing memory/register operand.
2007-01-12 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.Alan Modra4-34/+15
* config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete. (TC_FORCE_RELOCATION): Define. (TC_FORCE_RELOCATION_LOCAL): Define. * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
2007-01-112007-01-11 Paul Brook <paul@codesourcery.com>Paul Brook1-2/+2
gas/ * config/tc-arm.c (do_t_add_sub): Use Rd and Rs. gas/testsuite/ * gas/arm/thumb2_add.d: Add test for missing operand. * gas/arm/thumb2_add.s: Ditto.
2007-01-11PR gas/3707Nick Clifton1-2/+2
* config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt variable.
2007-01-11* config/tc-mcore.c (md_number_to_chars): Use ↵Nick Clifton1-18/+4
number_to_chars_{big|little}endian.
2007-01-08bfd/Kazu Hirata1-7/+5
* archures.c (bfd_mach_cpu32_fido): Rename to bfd_mach_fido. * bfd-in2.h: Regenerate. * cpu-m68k.c (arch_info_struct): Use bfd_mach_fido instead of bfd_mach_cpu32_fido. (m68k_arch_features): Use fido_a instead of cpu32. (bfd_m68k_compatible): Reject the combination of Fido and ColdFire. Accept the combination of CPU32 and Fido with a warning. * elf32-m68k.c (elf32_m68k_object_p, elf32_m68k_merge_private_bfd_data, elf32_m68k_print_private_bfd_data): Treat Fido as an architecture by itself. binutils/ * readelf.c (get_machine_flags): Treat Fido as an architecture by itself. gas/ * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an architecture by itself. (m68k_ip): Don't issue a warning for tbl instructions on fido. (m68k_elf_final_processing): Treat Fido as an architecture by itself. include/elf/ * m68k.h (EF_M68K_FIDO): New. (EF_M68K_ARCH_MASK): OR EF_M68K_FIDO. (EF_M68K_CPU32_FIDO_A, EF_M68K_CPU32_MASK): Remove. include/opcode/ * m68k.h (m68010up): OR fido_a. opcodes/ * m68k-opc.c (m68k_opcodes): Replace cpu32 with cpu32 | fido_a except on tbl instructions.
2007-01-052007-01-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-7/+2
* config/tc-i386.c (set_intel_syntax): Update set_intel_syntax depending on allow_naked_reg.
2007-01-042007-01-04 Paul Brook <paul@codesourcery.com>Paul Brook1-1/+6
gas/ * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form. gas/testsuite/ * gas/arm/archv6.s: Add more cpsie tests. * gas/arm/archv6.d: Ditto. opcodes/ * arm-dis.c (arm_opcodes): Fix cpsie and cpsid entries.
2007-01-042007-01-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-11/+20
PR gas/3826 * config/tc-i386.c (register_prefix): New. (set_intel_syntax): Set set_intel_syntax to "" if register prefix is needed. (check_byte_reg): Use register_prefix for error message. (check_long_reg): Likewise. (check_qword_reg): Likewise. (check_word_reg): Likewise.
2007-01-04 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.Julian Brown1-4/+37
(do_neon_qshl_imm): Likewise. (do_neon_rshl): New function. Handle rounding variants of v{q}shl-by-register. (insns): Use do_neon_rshl for vrshl, vqrshl.
2007-01-042007-01-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-29/+20
* config/tc-i386.c (swap_operands): Remove branches.
2007-01-042007-01-04 Paul Brook <paul@codesourcery.com>Paul Brook1-6/+6
gas/ * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt and vacle. gas/testsuite/ * gas/arm/neon-cov.d: Adjust expected output. * gas/arm/neon-omit.s: Add tests for vcgt and vcle. Reorder vacle and vacle. * gas/arm/neon-omit.d: Adjust expected output.
2007-01-032007-01-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+2
* config/tc-i386.c: Update copyright year. * config/tc-i386.h: Likewise.
2007-01-032007-01-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+1
* config/tc-i386.c (smallest_imm_type): Return unsigned int instead of int.