aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2005-03-15Commit new Spanish translation.Alan Modra2-3192/+4565
2005-03-14Commit new Turkish translation.Alan Modra2-3124/+4569
2005-03-12gas:Zack Weinberg6-1/+47
* config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe, wfi, yield. opcodes: * arm-dis.c (thumb_opcodes): Add ARMv6K instructions nop, sev, wfe, wfi, yield. gas/testsuite: * gas/arm/thumbv6k.d, gas/arm/thumbv6k.s: New dump test. * gas/arm/arm.exp: Run it.
2005-03-11 * config-gas.com: Mark vax-vms as obsolete.Daniel Jacobowitz8-5715/+86
* configure.in: Remove fmt=vms support. * config.in: Regenerate. * configure: Regenerate. * config/obj-vms.h, config/obj-vms.c, config/vms-conf.h: Remove.
2005-03-11 * config/tc-xtensa.c (finish_vinsn): Include the last instruction slotBob Wilson3-3/+11
when checking if xg_resolve_literals needs to be called. * config/tc-xtensa.h: Fix spelling typo in a comment.
2005-03-10 * gas/ppc/e500.d: Fix encoding of efscfd.Aldy Hernandez2-1/+5
2005-03-10opcodes/Alan Modra3-8/+30
* ppc-opc.c (insert_sprg, extract_sprg): New Functions. (powerpc_operands <SPRG>): Call the above. Bit field is 5 bits. (SPRG_MASK): Delete. (XSPRG_MASK): Mask off extra bits now part of sprg field. (powerpc_opcodes): Asjust mfsprg and mtsprg to suit new mask. Move mfsprg4..7 after msprg and consolidate. gas/testsuite * gas/ppc/booke.s: Add new m[t,f]sprg testcases. * gas/ppc/booke.d: Likewise.
2005-03-10gas/Jan Beulich3-23/+11
2005-03-10 Jan Beulich <jbeulich@novell.com> * config/tc-tic54x.h (tic54x_macro_info): Change parameter type. * config/tc-tic54x.c (tic54x_macro_info): Likewise. Replace hand- crafted structure declarations with the types from macro.h.
2005-03-09 * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'Richard Sandiford2-1/+6
for -mno-shared optimization.
2005-03-09 * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.Richard Sandiford2-0/+5
(MAX_NOPS): Bump to 4. (mips_fix_vr4130): New variable. (nops_for_vr4130): New function. (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use nops_for_vr4130 if working around VR4130 errata. (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros. (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130. (md_parse_option): Handle them. (md_show_usage): Print them. * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
2005-03-09 * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.Richard Sandiford5-5/+1105
(MAX_NOPS): Bump to 4. (mips_fix_vr4130): New variable. (nops_for_vr4130): New function. (nops_for_insn): Use MAX_DELAY_NOPS rather than MAX_NOPS. Use nops_for_vr4130 if working around VR4130 errata. (OPTION_FIX_VR4130, OPTION_NO_FIX_VR4130): New macros. (md_longopts): Add -mfix-vr4130 and -mno-fix-vr4130. (md_parse_option): Handle them. (md_show_usage): Print them. * doc/c-mips.texi: Document -mfix-vr4130 and -mno-fix-vr4130.
2005-03-09 * config/tc-mips.c (append_insn): Remove cop_interlocks test fromRichard Sandiford8-310/+411
branch delay code.
2005-03-09 * config/tc-mips.h (mips_flush_pending_output): Delete.Richard Sandiford3-118/+116
(mips_emit_delays): Declare. (md_flush_pending_output): Use mips_emit_delays. * config/tc-mips.c (mips_no_prev_insn): Remove parameter; always forget the previous instructions. (md_begin, append_insn, md_parse_option): Update callers. (mips_emit_delay): Remove parameter. Move INSNS != 0 code to start_noreorder. (mips_align, s_change_sec, s_cons, s_float_cons, s_gpword) (s_gpdword): Update callers. (start_noreorder, end_noreorder): New functions. (macro, macro2, mips16_macro, s_mipsset): Use them instead of manipulating mips_opts or prev_nop_frag directly. (mips_flush_pending_output): Delete.
2005-03-09 * config/tc-mips.c (mips_move_labels): New function, taken from...Richard Sandiford2-27/+27
(append_insn, mips_emit_delays): ...here.
2005-03-09 * config/tc-mips.c (MAX_NOPS): New macro.Richard Sandiford2-411/+348
(history): Resize to 1 + MAX_NOPS. (fix_vr4120_class): New enumeration. (vr4120_conflicts): New variable. (init_vr4120_conflicts): New function. (md_begin): Call it. (insn_uses_reg): Constify first argument. (classify_vr4120_insn, insns_between, nops_for_insn, nops_for_sequence) (nops_for_insn_or_target): New functions. (append_insn): Use the new nops_for_* functions instead of inline delay checks. Generalize prev_nop_frag handling to handle an arbitrary history length. Insert nops into the history buffer once the number of nops in prev_nop_frag is fixed. (emit_delays): Use nops_for_insn instead of inline delay checks.
2005-03-09 * config/tc-mips.c (append_insn): Remove now-redundant nops != 0Richard Sandiford2-8/+5
check from branch delay code. Remove unnecessary check for branches.
2005-03-09 * config/tc-mips.c (dummy_opcode): Delete.Richard Sandiford2-312/+269
(nop_insn, mips16_nop_insn): New variables. (NOP_INSN): New macro. (insn_length, create_insn, install_insn, move_insn, add_fixed_insn) (add_relaxed_insn, insert_into_history, emit_nop): New functions. (md_begin): Initialize nop_insn and mips16_nop_insn. (append_insn): Use the new emit_nop function to add nops, recording them in the history buffer. Use add_fixed_insn or add_relaxed_insn to reserve room for the instruction and install_insn to install the final form. Use insert_into_history to record the instruction in the history buffer. Use move_insn to do delay slot filling. (mips_emit_delays): Use add_fixed_insn instead of the emit_nop macro. (macro_build, mips16_macro_build, macro_build_lui, mips_ip) (mips16_ip): Use create_insn to initialize mips_cl_insns.
2005-03-09 * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)Richard Sandiford2-203/+176
(EXTRACT_OPERAND, MIPS16_INSERT_OPERAND, MIPS16_EXTRACT_OPERAND): New. (insn_uses_reg, reg_needs_delay, append_insn, macro_build) (mips16_macro_build, macro_build_lui, mips16_macro, mips_ip) (mips16_ip): Use the new macros instead of explicit masks and shifts.
2005-03-09 * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_pRichard Sandiford2-40/+19
and extended_p fields with a single fixed_p field. (append_insn, mips_no_prev_insn): Adjust accordingly.
2005-03-09 * config/tc-mips.c (mips_cl_insn): Replace reloc_type array withRichard Sandiford2-20/+17
a single mips16_absolute_jump_p bit. (append_insn): Adjust accordingly.
2005-03-09 * config/tc-mips.h (mips_cl_insn): Move definition to...Richard Sandiford3-198/+239
* config/tc-mips.c (mips_cl_insn): ...here. Add new fields: frag, where, fixp, reloc_type, valid_p, noreorder_p, delay_slot_p and extended_p. (history): New variable. (prev_insn, prev_prev_insn, prev_insn_valid, prev_insn_frag) (prev_insn_where, prev_insn_reloc_type, prev_insn_fixp) (prev_insn_is_delay_slot, prev_insn_unreordered, prev_insn_extended) (prev_prev_insn_unreordered): Delete. (reg_needs_delay, append_insn, mips_no_prev_insn, mips_emit_delays) (macro_start): Replace uses of prev_insn* with the equivalent history[] field.
2005-03-08 * gas/maxq10/maxq10.exp: Remove stray semicolons.Ben Elliston3-4/+9
* gas/maxq20/maxq20.exp: Likewise.
2005-03-08 * doc/Makefile.am: Update as.info dependencies.Daniel Jacobowitz5-347/+158
* aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
2005-03-08gas/Jan Beulich3-2/+13
2004-03-08 Jan Beulich <jbeulich@novell.com> * doc/as.texinfo: Add sentence to indicate redefining a macro is an error, and point to .purgem documentation if someone really needs re-definitions. * NEWS: Mention macro redefinition is now an error.
2005-03-08gas/Jan Beulich6-26/+87
2005-03-08 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (emit_one_bundle): Track last slot user insn was emitted to. Add more precise diagnostics for non-fitting insns based on that. Eliminate now superfluous special casing of MLX. Clear out slot information when dropping an insn. gas/testsuite/ 2005-03-08 Jan Beulich <jbeulich@novell.com> * gas/ia64/no-fit.[ls]: New. * gas/ia64/ia64.exp: Run new test.
2005-03-08gas/Jan Beulich7-68/+186
2005-03-08 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (parse_section_name): Rename to... (cross_section): In addition to separating the name from the rest of the arguments, also carry out the operation. (dot_xdata): Use cross_section. (dot_float_cons): Likewise. (dot_xstringer): Likewise. (dot_xdata_ua): Likewise. (dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons. gas/testsuite/ 2005-03-08 Jan Beulich <jbeulich@novell.com> * gas/ia64/xdata.[sd], gas/ia64/xdata-ilp32.d: New. * gas/ia64/ia64.exp: Run new tests.
2005-03-08gas/testsuite/Jan Beulich3-2/+8
2005-03-08 Jan Beulich <jbeulich@novell.com> * gas/ia64/pcrel.d: Account for big endian target. * gas/ia64/reloc-bad.s: Enforce 64-bit ABI.
2005-03-08 Adjust testsuite for cris-axis-aout.Hans-Peter Nilsson13-19/+30
* gas/cris/rd-bcnst.d, gas/cris/rd-usp-1.d: Adjust regexps for a.out output. * gas/cris/mulbug-err-1.s, gas/cris/rd-arch-1.d, gas/cris/rd-arch-2.d, gas/cris/rd-arch-3.d, gas/cris/rd-break32.d, gas/cris/rd-pcrel2.d, gas/cris/rd-ppv1032.d, gas/cris/rd-ppv32.d, gas/cris/rd-usp-1b.d, gas/cris/v32-err-7.s: Pass --em=criself.
2005-03-05Regenerate .pot filesAlan Modra2-2357/+2744
2005-03-05 bfd/ChangeLogThiemo Seufer5-12/+30
* elfxx-mips.c (mips_elf_calculate_relocation): Handle special '__gnu_local_gp' symbol used by gas -mno-shared. gas/ChangeLog * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp' instead of '_gp' for -mno-shared optimization. (s_cpload): Ditto. (s_abicalls): Document it in the comment. (md_show_usage): Document the -mno-shared option. gas/testsuite/ChangeLog * gas/mips/elf-rel23b.d: Use '__gnu_local_gp' instead of '_gp' for -mno-shared optimization. * gas/mips/elf-rel25a.d: Ditto. ld/testsuite/ChangeLog * ld-mips-elf/multi-got-no-shared-1.s, ld-mips-elf/multi-got-no-shared-2.s, ld-mips-elf/multi-got-no-shared.d: New tests. * ld-mips-elf/mips-elf.exp: Run them.
2005-03-04Fix unexpected failrues for arm toolchainsNick Clifton5-18/+28
2005-03-04 * config/tc-mips.c (mips_set_options): Add sym32 field.Richard Sandiford13-756/+2282
(mips_opts): Initialize it. (HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide. (HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES. (HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros. (load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES when deciding whether to use a symbolic %highest/%higher expansion. (macro): Likewise. Remove o64/n32 linux hack. Always use ADDRESS_ADD*_INSN for address addition in the expansion of "dla" and "la". Handle constants separately from symbolic expressions in the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES and using load_register to load the high part of the address. (OPTION_MSYM32, OPTION_NO_MSYM32): New macros. (OPTION_ELF_BASE): Bump by 2. (md_longopts): Add entries for -msym32 and -mno-sym32. (md_parse_option): Handle them. (usage): Document them. (s_mipsset): Handle ".set sym32" and ".set nosym32". (s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp". * doc/c-mips.texi: Document ".set sym32", ".set nosym32", -msym32 and -mno-sym32.
2005-03-03 * config/tc-mips.c (load_address): Implement GP optimizationThiemo Seufer2-42/+88
for 64bit address space non-PIC. Fix formatting. (macro): Likewise. Simplify code. (md_parse_option): Don't bail out if -G 0 is set for PIC code. (mips_after_parse_args): Simplify code.
2005-03-03(and.s): Expect this test to fail for the tic4x-coff target because it usesNick Clifton2-0/+9
the '&' character as a line separator.
2005-03-03Remove redundant code enclosed by #ifdef RELAX_PAREN_GROUPING....#endif.Nick Clifton2-6/+4
2005-03-03* gas/sh/basic.exp: Add an sh-hms version of the pcrel test.Nick Clifton5-2/+38
* gas/sh/pcrel-hms.d: New file. Adjusted form of pcrel-coff.d for the sh-hms target. * gas/sh/arch/arch.exp: Expect the same failures for sh-hms port as for the sh-coff port.
2005-03-03Also expect the msp430 port to fail the strings test because it definesNick Clifton2-1/+5
ONLY_STANDARD_ESCAPES.
2005-03-03 * gas/mips/mips.exp: Move tls tests to main $elf block.Richard Sandiford2-5/+7
2005-03-03* gas/arm/arch6zk.s: Add three nop instructions in order to pad the .textNick Clifton3-0/+15
section out to a 32-byte boundary as will automatically be done by the arm-aout target. * gas/arm/arch6zk.d: Add expected nop disassemblies.
2005-03-03(tc_gen_reloc): Handle the case where the reloc is the difference of twoNick Clifton2-11/+22
symbols defined in the same section.
2005-03-03(line_comment_chars): Include the # character as otherwise this breaksNick Clifton2-1/+6
#APP/#NO_APP processing.
2005-03-03Remove listing lines that are no longer emitted and fix up expected binaryNick Clifton4-21/+19
encoding.
2005-03-032005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>Ramana Radhakrishnan5-0/+24
* gas/arc/extensions.s: Add tests for extcoreregister * gas/arc/extensions.d: Likewise. * gas/arc/warn.s: Warnings for readonly core registers accessed . * gas/arc/warn.d:Likewise. * testsuite/gas/arc/arc.exp:Run extensions testcase.
2005-03-03update copyright datesAlan Modra72-74/+88
2005-03-03 * gas/mips/noat-1.d: Add -mips1 to assembler options.Richard Sandiford2-1/+5
2005-03-032005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>Ramana Radhakrishnan3-0/+10
* gas/arc/ld.s:Add checks for short immediates with ld * gas/arc/ld.d:Likewise.
2005-03-032005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>Ramana Radhakrishnan2-9/+6
* config/tc-arc.c(md_assemble): Remove dead code for handling immediate indexing with ld and st.
2005-03-03update copyright datesAlan Modra71-81/+91
2005-03-03formatting, tack emacs control vars at endAlan Modra5-231/+259
2005-03-02 * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,Daniel Jacobowitz2-0/+32
%dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel. (parse_relocation): Check for a word break after a relocation operator. (md_apply_fix3): Handle TLS relocations, and mark thread-local symbols.