aboutsummaryrefslogtreecommitdiff
path: root/gas/config
AgeCommit message (Collapse)AuthorFilesLines
2007-10-19Add MN10300 linker relaxation support for symbol differencesNick Clifton2-45/+113
2007-10-19* elf-m10300.c: Convert to ISO C.Nick Clifton1-557/+279
* tc-mn10300.c: Convert to ISO C.
2007-10-19 * config/tc-ppc.c (ppc_parse_name): Skip leading '%'.Alan Modra1-1/+9
(md_assemble): When parsing PPC_OPERAND_CR, add '%' to set of chars that can start a name.
2007-10-18gas/Carlos O'Donell1-2/+2
2007-10-18 Carlos O'Donell <carlos@systemhalted.org> * config/tc-hppa.c (pa_ip): Fix comment typo. (pa_comm): Likewise.
2007-10-18PR gas/5172Nick Clifton5-23/+24
* config/tc-arc.c (md_estimate_size_before_relax): Change error message. (md_convert_frag): Just call abort. * config/tc-i860.c (md_estimate_size_before_relax): Change error message. * config/tc-i860.h (md_convert_frag): Just call abort. * config/tc-ip2k.c (md_estimate_size_before_relax): Change error message. (md_convert_frag): Just call abort. * config/tc-m68k.c (m68k_ip): Do not attempt translation of architecture names.
2007-10-18PR gas/5174Nick Clifton1-284/+276
* config/tc-arm.c: Fix formatting and spelling errors. * gas.pot: Regenerate.
2007-10-18PR gas/5175Nick Clifton1-7/+5
* config/tc-xc16x.c: Fix formatting and internationalization. * gas.pot: Regenerate.
2007-10-17Remove duplicate definitions of the md_atof() functionNick Clifton56-2331/+244
2007-10-16Support the use of the STT_COMMON type. (In source and object files only at ↵Nick Clifton1-0/+27
the moment)
2007-10-16gas/Peter Bergner1-0/+12
* config/tc-ppc.c (ppc_setup_opcodes): Verify instructions are sorted according to major opcode number. opcodes/ * ppc-opc.c (TE): Correct signedness. (powerpc_opcodes): Sort psq_st and psq_stu according to major opcode number.
2007-10-122007-10-12 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-9/+13
* config/tc-i386.c (process_operands): Simplify implicit xmm0 handling.
2007-10-12gas/H.J. Lu1-51/+46
2007-10-12 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (process_operands): Check the firstxmm0 field in opcode_modifier for instruction with a implicit xmm0 as the first operand. opcodes/ 2007-10-12 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (opcode_modifiers): Add FirstXmm0. * i386-opc.h (FirstXmm0): New. (IsPrefix): Updated. (i386_opcode_modifier): Add firstxmm0. * i386-opc.tbl (blendvpd): Replace RegKludge with FirstXmm0. (blendvps): Likewise. (pblendvb): Likewise. * i386-tbl.h: Regenerated.
2007-10-12* config/tc-avr.c (mcu_types): Add new devices: AT90PWM2B, AT90PWM3B.Nick Clifton1-0/+2
* doc/c-avr.texi: Document new devices.
2007-10-12* elf32-cr16.c (elf32_cr16_relax_section): Fix condition check typo.Nick Clifton1-1/+1
* config/tc-cr16.c: Update the md_relax_table for 1 word b<cc> instruction range information.
2007-10-11* config/obj-elf.c (obj_elf_section): When pushing a section, if there is aNick Clifton1-2/+10
comma then the following argument must be a subsection number. * testsuite/gas/elf/elf.exp (run_elf_list_test): Run section6 test. * testsuite/gas/elf/section6.s: New file: Check behaviour of .pushsection with a subsection argument. * testsuite/gas/elf/section6.d: New file: Expected disassembly.
2007-10-11PR gas/5161Nick Clifton1-167/+165
* config/tc-ia64.c: Allow for translations of error and warning messages. * po/gas.pot: Regenerate.
2007-10-11PR gas/5158Nick Clifton1-7/+7
* config/tc-h8300.c (tc_gen_reloc): Allow for translation of error message. * po/gas.pot: Regenerate.
2007-10-11PR gas/5155Nick Clifton1-20/+17
* config/tc-msp430.c: Fix spelling typos.
2007-10-08gas/:Maciej W. Rozycki1-24/+47
* config/tc-mips.c (AT): Rename to... (ATREG): ... this. (AT): New definition. (mips_set_options): Rename "noat" to "at"; change the type. (mips_opts): Update accordingly. (append_insn): Likewise. (macro_build_ldst_constoffset): Likewise. (load_address): Likewise. (macro, macro2): Likewise. (s_mipsset): Handle ".set at=REG". Update handling of ".set at" and ".set noat". gas/testsuite/: * gas/mips/at-1.d, gas/mips/at-2.l: New tests to check the ".set at=REG" directive. * gas/mips/at-1.s, gas/mips/at-2.s: Sources for the new tests. * gas/mips/mips.exp: Run the new tests.
2007-10-08PR 5142: Allow for translation of error messagesNick Clifton1-4/+4
2007-10-08PR gas/5121 gas/5122 gas/5123 gas/5124 gas/5125 gas/5126 gas/5129 gas/5131 ↵Nick Clifton6-80/+80
gas/5132 gas/5137 gas/5143 * Makefile.am (CFILES): Add cgen.c (TARGET_CPU_CFILES): Add tc-iq2000.c, tc-maxq.c, tc-mt.c, tc-tic4x.c and xtensa-relax.c. (TARGET_CPU_HFILES): Add tc-iq2000.h, tc-maxq.h, tc-mt.h, tc-tic4x.h and xtensa-relax.h. (TARG_ENV_HFILES): Remove te-aux.h, te-delta.h, te-delt88.h, te-ic960.h, te-linux.h. Add te-aix5.h, te-armeabi.h, te-freebsd.h, te-gnu.h, te-interix.h, te-vxworks.h. (CONFIG_ATOF_CFILES): New variable. (POTFILES): Add CONFIG_ATOF_CFILES to dependencies. Fix typo with dependency upon TARG_ENV_HFILES. (DEPTC): Do not put "#include opcodes/<foo>-desc.h" into cgen-desc.h when foo-desc.h does not exit. Run make dep-am. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate. * po/es.po: Regenerate. * po/fr.po: Regenerate. * po/gas.pot: Regenerate. * po/rw.po: Regenerate. * po/tr.po: Regenerate. * config/obj-elf.c (obj_elf_vtable_inherit): Allow for translation of error messages. * config/obj-som.c: Likewise. * config/tc-arc.c: Likewise. * config/tc-arm.c: Likewise. * config/tc-bfin.c: Likewise. * config/tc-frv.c: Likewise.
2007-10-08* config/tc-avr.c (mcu_types): Add new devices: AT90PWM216, AT90PWM316.Nick Clifton1-0/+2
* doc/c-avr.texi: Document new devices.
2007-10-08* config/tc-avr.c (mcu_types): Add new devices: ATtiny43U, ATtiny48.Nick Clifton1-0/+2
* doc/c-avr.texi: Document new devices.
2007-10-08PR gas/5134Nick Clifton1-1/+1
* config/tc-arm.c (md_apply_fix): Likewise.
2007-10-08PR gas/5133Nick Clifton1-1/+1
* config/tc-arm.c (md_apply_fix): Correct error message
2007-10-08PR gas/5135Nick Clifton1-2/+2
(Expr_Node_Gen_Reloc_R): Fix spelling typos in error messages.
2007-10-08PR gas/5136Nick Clifton1-1/+1
* config/tc-bfin.c (md_apply_fix): Fix error message.
2007-10-052007-10-05 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-4/+5
* config/tc-i386.c (build_modrm_byte): Check the first 2 8bit immediate operands directly for instructions with 4 operands.
2007-10-04gas/H.J. Lu1-1/+5
2007-10-04 H.J. Lu <hongjiu.lu@intel.com> PR gas/5109 * config/tc-i386.c (process_suffix): Clear QWORD suffix if it is ignored in Intel mode. gas/testsuite/ 2007-10-04 H.J. Lu <hongjiu.lu@intel.com> PR gas/5109 * gas/i386/simd-intel.d: Updated. * gas/i386/simd.d: Likewise. * gas/i386/x86-64-simd-intel.d: Likewise. * gas/i386/x86-64-simd.d: Likewise. * gas/i386/simd.s: Add more tests. * gas/i386/x86-64-simd.s: Likewise.
2007-10-04* read.c (potable): Add string8, string16, string32 and string64. Add bit ↵Nick Clifton11-18/+17
size for stringer function. (stringer_append_char): New. (stringer): Use stringer_append_char(). * config/obj-coff.c (obj_coff_ident): Add bit size for stringer function. * config/obj-elf.c (obj_elf_ident): Likewise. * config/tc-alpha.c (s_alpha_stringer): Likewise. * config/tc-dlx.c (dlx_pseudo_table): Likewise. * config/tc-hppa.c (pa_stringer): Likewise. * config/tc-ia64.c (md_pseudo_table, pseudo_opcode): Likewise. * config/tc-m68hc11.c (md_pseudo_table): Likewise. * config/tc-mcore.c (md_pseudo_table): Likewise. * config/tc-mips.c (mips_pseudo_table): Likewise. * config/tc-spu.c (md_pseudo_table): Likewise. * config/tc-s390.c (md_pseudo_table): Likewise. Replace '2' by '1'. * doc/as.texinfo (ABORT): Fix identing. (String): Document new string8, string16, string32, string64 functions. * NEWS: Mention the new feature. * testsuite/gas/all/gas.exp: Include new test "strings". * testsuite/gas/all/string.s: New * testsuite/gas/all/string.d: New.
2007-10-03PR gas/5078Nick Clifton1-1/+1
* config/tc-avr.c (avr_get_constant): Extend error message to mention that the constant must be positive.
2007-10-03PR gas/5089 * config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo.Nick Clifton1-2/+2
PR gas/5090 (md_assemble): Fix spelling typo.
2007-10-01Various CR16 fixesNick Clifton1-370/+432
2007-09-30gas/H.J. Lu1-6/+8
2007-09-30 H.J. Lu <hongjiu.lu@intel.com> PR gas/5080 * config/tc-i386.c (check_long_reg): Also handle cvttss2si. (check_qword_reg): Also handle cvttsd2si. gas/testsuite/ 2007-09-30 H.J. Lu <hongjiu.lu@intel.com> PR gas/5080 * gas/i386/simd-intel.d: Updated. * gas/i386/simd.d: Likewise. * gas/i386/x86-64-simd-intel.d: Likewise. * gas/i386/x86-64-simd.d: Likewise. * gas/i386/simd.s: Add new tests for cvttsd2si and cvttss2si. * gas/i386/x86-64-simd.s: Likewise.
2007-09-27gas/Kazu Hirata2-5/+6
* config/m68k-parse.h (m68k_register): Use MBO instead of MBB. (last_movec_reg): Change to MBO. * config/tc-m68k.c (fido_ctrl): Use MBO instead of MBB. (m68k_ip): Use MBO instead of MBO. (init_table): Use MBO instead of MBO. Add an entry for mbo. gas/testsuite/ * gas/m68k/fido.s: Add tests for %mbo. * gas/m68k/fido.d: Update accordingly. opcodes/ * m68k-dis.c (print_insn_arg): Use %mbo instead of %mbb.
2007-09-26gas/Jan Beulich1-2/+4
2007-09-26 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (build_modrm_byte): Also check for RegEip when considering IP-relative addressing. gas/testsuite/ 2007-09-26 Jan Beulich <jbeulich@novell.com> * gas/i386/reloc64.s: Adjust for %eip-relative addressing no longer generating errors. * gas/i386/reloc64.d, gas/i386/reloc64.l: Update. * gas/i386/x86-64-addr32.s: Remove explicit addr32 prefix for %eip-realtive addressing case. opcodes/ 2007-09-26 Jan Beulich <jbeulich@novell.com> * i386-opc.h (RegEip): Define. (RegEiz): Adjust. * i386-reg.tbl: Add eip. Mark rip and eip with RegRex64. * i386-tbl.h: Re-generate.
2007-09-26gas/Jan Beulich2-0/+3
2007-09-26 Jan Beulich <jbeulich@novell.com> * config/tc-i386.h (md_register_arithmetic): Define. * config/tc-ia64.h (md_register_arithmetic): Likewise. * doc/internals.texi: Document md_register_arithmetic. * expr.c (make_expr_symbol): Force O_register expressions into reg_section. (expr): Provide default for md_register_arithmetic. Don't resolve adding/subtracting constants to/from registers if md_register_arithmetic is zero.
2007-09-26gas/Jan Beulich1-6/+3
2007-09-26 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (dot_pred_rel): Replace specialized handling with simple call to parse_operand.
2007-09-26gas/Jan Beulich1-1/+0
2007-09-26 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (NUM_FLAG_CODE): Remove.
2007-09-26gas/H.J. Lu1-27/+30
2007-09-25 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (output_insn): Use i.tm.opcode_length to check opcode length. opcodes/ 2007-09-25 H.J. Lu <hongjiu.lu@intel.com> * i386-gen.c (process_i386_opcodes): Process opcode_length. * i386-opc.h (template): Add opcode_length. * 386-opc.tbl: Likewise. * i386-tbl.h: Regenerated.
2007-09-25* config/tc-m68k.c (LONG_BRANCH_VIA_COND): New.Nick Clifton1-8/+43
(BRANCHBWPL, FRAG_VAR_SIZE): New. (md_relax_table): Add BRANCHBWPL entries. (m68k_ip): Choose BRANCHBWPL relaxation if necessary. (md_assemble): Use FRAG_VAR_SIZE. (md_convert_frag_1): Add BRANCHBWPL cases. (md_estimate_size_before_relaz): Likewise. * gas/m68k/br-isaa.d: Dump relocs too. * gas/m68k/br-isab.d: Likewise. * gas/m68k/br-isac.d: Likewise. Adjust for long branch relaxation. Index: gas/config/tc-m68k.c
2007-09-24gas/Carlos O'Donell1-1/+1
2007-09-24 Carlos O'Donell <carlos@codesourcery.com> * config/tc-mips.c (s_align): Set max_alignment to 28. gas/testsuite/ 2007-09-24 Carlos O'Donell <carlos@codesourcery.com> * gas/mips/align.s, gas/mips/align.d: New test. * gas/mips/mips.exp: Run it.
2007-09-20gas/H.J. Lu1-20/+34
2007-09-20 H.J. Lu <hongjiu.lu@intel.com> PR 658 * config/tc-i386.c (SCALE1_WHEN_NO_INDEX): Removed. (set_allow_index_reg): New. (allow_index_reg): Likewise. (md_pseudo_table): Add "allow_index_reg" and "disallow_index_reg". (build_modrm_byte): Set i.sib.index to NO_INDEX_REGISTER for fake index registers. (i386_scale): Updated. (i386_index_check): Support fake index registers. (parse_real_register): Return NULL on eiz/riz if fake index registers aren't allowed. gas/testsuite/ 2007-09-20 H.J. Lu <hongjiu.lu@intel.com> PR 658 * gas/i386/i386.exp: Run sib-intel, x86-64-sib and x86-64-sib-intel. * gas/i386/nops-1-i386-i686.d: Updated. * gas/i386/nops-1-i386.d: Likewise. * gas/i386/nops-1.d: Likewise. * gas/i386/nops-2-i386.d: Likewise. * gas/i386/nops-2-merom.d: Likewise. * gas/i386/nops-2.d: Likewise. * gas/i386/nops-3-i386.d: Likewise. * gas/i386/nops-3.d : Likewise. * gas/i386/sib.d: Likewise. * gas/i386/sib.s: Use %eiz in testcases. * gas/i386/sib-intel.d: New. * gas/i386/x86-64-sib-intel.d: Likewise. * gas/i386/x86-64-sib.d: Likewise. * gas/i386/x86-64-sib.s: Likewise. ld/testsuite/ 2007-09-20 H.J. Lu <hongjiu.lu@intel.com> PR 658 * ld-i386/tlsbin.dd: Updated. * ld-i386/tlsld1.dd: Likewise. opcodes/ 2007-09-20 H.J. Lu <hongjiu.lu@intel.com> PR 658 * 386-dis.c (index64): New. (index32): Likewise. (intel_index64): Likewise. (intel_index32): Likewise. (att_index64): Likewise. (att_index32): Likewise. (print_insn): Set index64 and index32. (OP_E_extended): Use index64/index32 for index register for SIB with INDEX == 4. * i386-opc.h (RegEiz): New. (RegRiz): Likewise. * i386-reg.tbl: Add eiz and riz. * i386-tbl.h: Regenerated.
2007-09-19* config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte fixups.Nick Clifton1-0/+7
2007-09-18 * config/bfin-parse.y (asm_1): Slightly improve error messagesBernd Schmidt1-0/+2
for "reg += const;".
2007-09-18gas/H.J. Lu1-3/+2
2007-09-17 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (baseindex): Removed. (build_modrm_byte): Check reg_num for RIP register instead of reg_type. (i386_index_check): Likewise. opcodes/ 2007-09-17 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.h (RegRip): New. * i386-reg.tbl (rip): Use RegRip for reg_num. * i386-tbl.h: Regenerated.
2007-09-172007-09-17 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-1/+0
PR gas/5035 * config/obj-coff.c (obj_coff_endef): Remove checking size of def_symbol_in_progress.
2007-09-17gas/H.J. Lu1-3/+0
2007-09-17 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (intel_e04): Revert the last change. gas/testsuite/ 2007-09-17 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/x86-64-rip.s: Revert the last change. * gas/i386/x86-64-rip-intel.d: Likewise. * gas/i386/x86-64-rip.d: Likewise.
2007-09-15gas/H.J. Lu1-0/+3
2007-09-15 H.J. Lu <hongjiu.lu@intel.com> PR gas/5034 * config/tc-i386.c (intel_e04): Return 1 if cur_token.code is T_NIL. gas/testsuite/ 2007-09-15 H.J. Lu <hongjiu.lu@intel.com> PR gas/5034 * gas/i386/x86-64-rip.s: Add Intel mode testcases. * gas/i386/x86-64-rip-intel.d: Updated. * gas/i386/x86-64-rip.d: Likewise.
2007-09-152007-09-14 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu1-2/+2
* config/tc-i386.c (build_modrm_byte): Adjust comment line wrap.