gas/testsuite/
[deliverable/binutils-gdb.git] / gas / ChangeLog
index dde64e6514b7802345e7729488317147504a827d..98c4d2cfcb9929915d207d84f8e122052f56b0df 100644 (file)
@@ -1,3 +1,480 @@
+2007-04-23  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/tc-m68k.c (mcf54455_ctrl): New.
+       (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
+       (m68k_archs): Add isac.
+       (m68k_cpus): Add 54455 family.
+       (m68k_ip): Split Bg into Bb, Bs, Bg.
+       (m68k_elf_final_processing): Add ISA_C.
+       * doc/c-m68k.texi (M680x0 Options): Add isac.
+
+2007-04-22  Alan Modra  <amodra@bigpond.net.au>
+
+       * read.c (read_a_source_file): Skip multiple spaces to
+       cover hack in mmix md_start_line_hook which overwrites a
+       colon with a space.  Delete sermon and needless assertion.
+
+2007-04-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
+       (md_atof): Make number_of_chars unsigned.  Revert last change.
+       * config/tc-or32.c (md_apply_fix): Delete bogus assertions.
+       * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
+       * config/tc-sh.h (md_optimize_expr): Likewise.
+       * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
+       assertion.
+       * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
+
+2007-04-21  Nick Clifton  <nickc@redhat.com>
+
+       * config/atof-vax.c (md_atof): Fix comparison inside know().
+
+       * config/tc-ia64.c (emit_one_bundle): Fix typo.
+
+2007-04-21  Alan Modra  <amodra@bigpond.net.au>
+
+       * expr.c (expr): Assert on rankarg, not rank which can be unsigned.
+       * read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
+       Don't skip over NUL char.
+       (pseudo_set): Set X_op for registers to O_register.
+       * symbols.c (symbol_clone): Remove assertion that sym is defined.
+       (resolve_symbol_value): Resolve O_register symbols.
+       * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
+       Instead find st(0) by hash lookup.
+       * config/tc-ppc.c (ppc_macro): Warning fix.
+
+       * as.h (ENABLE_CHECKING): Default define to 0.
+       (know): Assert if ENABLE_CHECKING.
+       (struct relax_type): Remove superfluous declaration.
+       * configure.in (--enable-checking): New.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
+       Check for duplicate powerpc_operands entries.
+
+2007-04-20  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/tc-m68k.c (mcf5253_ctrl): New.
+       (mcf52223_ctrl): New.
+       (m68k_cpus): Add 5253, 52221, 52223.
+
+       * config/m68k-parse.h (RAMBAR_ALT): New.
+       * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
+       (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
+       mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
+       mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
+       mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
+       RAMBAR1.
+       (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
+       (m68k_cpus): Adjust 5206, 5206e & 5307 entries.
+       (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used.  Add it
+       to control register mapping.
+
+2007-04-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * messages.c (as_internal_value_out_of_range): Fix typo in
+       error message.  Return after printing domain error.
+       * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
+       in max when shifting right.
+
+2007-04-20  Alan Modra  <amodra@bigpond.net.au>
+
+       * messages.c (as_internal_value_out_of_range): Extend to report
+       errors for values with invalid low bits set.
+       * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
+       fields.  Check that operands and opcode fields are disjoint.
+       (ppc_insert_operand): Check operands using mask rather than bit
+       count.   Check low bits too.  Handle PPC_OPERAND_PLUS1.  Adjust
+       insertion code.
+       (md_apply_fix): Adjust for struct powerpc_operand change.
+
+2007-04-19  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
+       Thumb-1.  Add sanity check for bogus relaxations.
+
+2007-04-19  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
+
+2007-04-19  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+2007-04-19  Nathan Froyd <froydnj@codesourcery.com>
+
+       * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
+
+2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
+
+       * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
+
+2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
+       (match_template): Handle operand size for crc32 in SSE4.2.
+       (process_suffix): Handle operand type for crc32 in SSE4.2.
+       (output_insn): Support SSE4.2.
+
+2007-04-18  H.J. Lu <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (cpu_arch): Add .sse4.1.
+       (process_operands): Adjust implicit operand for blendvpd,
+       blendvps and pblendvb in SSE4.1.
+       (output_insn): Support SSE4.1.
+
+2007-04-18  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
+
+2007-04-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * config/tc-sh.c (sh_handle_align):  Call as_bad_where instead
+       of as_warn_where for misaligned data.
+
+2007-04-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
+       rs_fill frags.
+
+2007-04-14  Steve Ellcey  <sje@cup.hp.com>
+
+       * Makefile.am: Add ACLOCAL_AMFLAGS.
+       * Makefile.in: Regenerate.
+
+2007-04-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
+
+       * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
+       (sh_optimize_expr): Likewise.
+       * config/tc-sh.h (md_optimize_expr): Define.
+       (sh_optimize_expr): Prototype.
+
+2007-04-06  Matt Thomas  <matt@netbsd.org>
+
+       * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
+       to emit pcrel relocations by DWARF2 in non-code sections.  Borrowed
+       heavily from tc-sparc.c.  (vax_cons_fix_new): Likewise.
+
+2007-04-04  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
+
+2007-04-04  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (do_neon_ext): Enforce immediate range.
+       (insns): Use I15 for vext.
+
+2007-04-04  Paul Brook  <paul@codesourcery.com>
+
+       * configure.tgt: Loosen checks for arm uclinux eabi targets.
+
+2007-04-02  Sterling Augustine  <sterling@tensilica.com>
+
+       * config/tc-xtensa.c (xtensa_flush_pending_output): Check
+       outputting_stabs_line_debug.
+
+2007-03-26  Anatoly Sokolov <aesok@post.ru>
+
+       * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
+       at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
+       devices.
+       * doc/c-avr.texi: Document new devices.
+
+2007-04-02  Richard Sandiford  <richard@codesourcery.com>
+
+       * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
+       * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
+       * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
+
+2007-03-30  Sterling Augustine  <sterling@tensilica.com>
+           Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
+       Do not check is_loop_target flag.
+       (xtensa_frob_label): Adjust calls to xtensa_move_labels.
+       (xg_assemble_vliw_tokens): Likewise.  Also avoid calling
+       xtensa_move_labels for alignment of loop opcodes.
+       
+2007-03-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (process_suffix): Reindent a bit.
+
+2007-03-30  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (encode_thumb2_ldmstm): New function.
+       (do_t_ldmstm): Generate 16-bit push/pop.  Use encode_thumb2_ldmstm.
+       (do_t_push_pop):  Use encode_thumb2_ldmstm.
+
+2007-03-29  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-m32c.c (rl_for, relaxable): Protect argument.
+       (md_relax_table): Add entries for ADJNZ macros.
+       (M32C_Macros): Add ADJNZ macros.
+       (subtype_mappings): Add entries for ADJNZ macros.
+       (insn_to_subtype): Check for adjnz and sbjnz insns.
+       (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
+       (md_convert_frag): Convert adjnz and sbjnz.
+
+2007-03-29  Nick Clifton  <nickc@redhat.com>
+
+       * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
+       initialization.
+       * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
+       using ITBL_NUMBER_OF_PROCESSORS.
+       * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
+
+2007-03-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (build_modrm_byte): For instructions with 2
+       register operands, encode destination in i.rm.regmem if its
+       RegMem bit is set.
+
+2007-03-28  Richard Sandiford  <richard@codesourcery.com>
+           Phil Edwards  <phil@codesourcery.com>
+
+       * doc/as.texinfo: Put the contents after the title page rather
+       than at the end of the document.
+
+2007-03-27  Alan Modra  <amodra@bigpond.net.au>
+
+       * NEWS: Mention ".reloc".
+
+2007-03-26  Sterling Augustine  <sterling@tensilica.com>
+       
+       * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
+       in FLIX instructions.
+       
+2007-03-26  Julian Brown  <julian@codesourcery.com>
+
+       * config/tc-arm.c (arm_it): Add immisfloat field.
+       (parse_qfloat_immediate): Disallow integer syntax for floating-point
+       immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
+       (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
+       float.
+       (neon_cmode_for_move_imm): Reject non-float immediates for float
+       operands.
+       (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
+
+2007-03-26  Julian Brown  <julian@codesourcery.com>
+
+       * doc/c-arm.texi: Add documentation for .dn/.qn directives.
+
+2007-03-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * doc/as.texinfo (Reloc): Document.
+       * read.c (potable): Add "reloc".
+       (s_reloc): New function.
+       * write.c (reloc_list): New global var.
+       (resolve_reloc_expr_symbols): New function.
+       (write_object_file): Call it.
+       (write_relocs): Process reloc_list.
+       * write.h (struct reloc_list): New.
+       (reloc_list): Declare.
+
+2007-03-24  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
+
+2007-03-24  Paul Brook  <paul@codesourcery.com>
+       Mark Shinwell  <shinwell@codesourcery.com>
+
+       * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
+       (parse_operands): Don't expect comma if first operand missing.
+       Handle OP_oRRw.
+       (do_srs): Encode register number, checking it is r13.  Update comment.
+       (insns): Update SRS entries to take a register.
+
+2007-03-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
+
+2007-03-23  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
+       attempt to jump to the next instruction into NOPs.
+
+2007-03-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-spu.c: Don't include opcode/spu.h.
+       (md_assemble): Set tc_fix_data.insn_tag and arg_format.
+       (md_apply_fix): Adjust.
+       * config/tc-spu.h: Include opcode/spu.h.
+       (struct tc_fix_info): New.
+       (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
+       (TC_FORCE_RELOCATION): Define.
+
+2007-03-22  Joseph Myers  <joseph@codesourcery.com>
+
+       * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
+
+2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (process_suffix): Check 0x90 instead of
+       xchg for xchg %rax,%rax.
+
+2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
+       and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
+
+2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/4218
+       * config/tc-i386.c (match_template): Properly handle 64bit mode
+       "xchg %eax, %eax".
+
+2007-03-21  Anton Ertl  <anton@mips.complang.tuw>
+
+       PR gas/4124
+       * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
+
+2007-03-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am: Run dep-am.
+       * Makefile.in: Regenerated.
+
+       * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
+
+       * config/tc-i386.h: Include "opcodes/i386-opc.h".
+       (NOP_OPCODE): Removed.
+       (template): Likewise.
+
+2007-03-21  Andreas Schwab  <schwab@suse.de>
+
+       * config/tc-i386.h (NOP_OPCODE): Restore.
+
+2007-03-18  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * 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.
+
+2007-03-16  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
+
+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.
+
+2007-03-15  Alexandre Oliva  <aoliva@redhat.com>
+
+       PR gas/4184
+       * app.c (do_scrub_chars): PUT after setting states.
+
+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.
+
+2007-03-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makefile.am (REPORT_BUGS_TO): Removed.
+       (INCLUDES): Remove -DREPORT_BUGS_TO.
+       * Makefile.in: Regenerated.
+
+       * configure.in (--with-bugurl): Removed.
+       * configure: Regenerated.
+
+       * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
+       (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
+       (TEXI2DVI): Likewise.
+       (gasver.texi): Removed.
+       (MOSTLYCLEANFILES): Remove gasver.texi.
+       (as.1): Don't depend on gasver.texi.
+       * doc/Makefile.in: Regenerated.
+
+       * doc/as.texi: Include bfdver.texi instead of gasver.texi.
+
+2007-03-14  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * 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.
+
+2007-03-14  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
+
+2007-03-14  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4029
+       * write.c (relax_segment): Insert extra alignment padding
+       to break infinite relax loop when given impossible
+       gcc_except_table assembly.
+
+2007-03-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * 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  Alexandre Oliva  <aoliva@redhat.com>
+
+       * app.c (do_scrub_chars): Recognize comments after # line "file".
+       * read.c (get_linefile_number): New.
+       (s_app_line): Accept ill-formed .linefile lines as comments.
+
+2007-03-09  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-i386.h (WORKING_DOT_WORD): Define.
+
+2007-03-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
+       * as.h (new_logical_line_flags): New.
+       * input-scrub.c (new_logical_line): Turned into wrapper for...
+       (new_logical_line_flags): this.  Handle flags.
+       * read.c (potable): Add linefile.  Adjust appline argument.
+       (s_app_file): Fake .appfiles no more.
+       (s_app_line): For .linefile, accept file name and flags.
+
+2007-03-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * symbols.c (symbol_relc_make_sym): Comment typo fixes.
+
+2007-03-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+       * po/POTFILES.in: Regenerate.
+
+2007-03-07  Joseph Myers  <joseph@codesourcery.com>
+
+       * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
+       bug-reporting URL.
+       * doc/Makefile.am (gasver.texi): Define BUGURL.
+       * doc/as.texinfo: Use BUGURL.
+       * Makefile.in, configure, doc/Makefile.in: Regenerate.
+
 2007-03-06  Andreas Krebbel  <krebbel1@de.ibm.com>
 
        * config/tc-s390.c (md_parse_option): z9-ec option added.
This page took 0.02724 seconds and 4 git commands to generate.