* app.c (do_scrub_chars): Cope with \ at end of buffer.x
[external/binutils.git] / gas / ChangeLog
index 2822c52..8d9483a 100644 (file)
@@ -1,3 +1,303 @@
+2007-05-28  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * app.c (do_scrub_chars): Cope with \ at end of buffer.
+
+2007-05-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
+       top 32 bits of 64 bit value if so doing results in passing
+       range check.  Rewrite sign extension fudges similarly.  Enable
+       fudges for powerpc64 too.  Report user value if range check
+       fails rather than fudged value.  Negate PPC_OPERAND_NEGATIVE
+       range rather than value, also to report user value on failure.
+
+2007-03-25  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (T2_SUBS_PC_LR): Define.
+       (do_t_add_sub): Correctly encode subs pc, lr, #const.
+       (do_t_mov_cmp): Correctly encode movs pc, lr.
+
+2007-05-24  Steve Ellcey  <sje@cup.hp.com>
+
+       * Makefile.in: Regnerate.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2007-05-22  Bob Wilson  <bob.wilson@acm.org>
+       
+       * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
+       and index entries about automatic alignment of ENTRY instructions.
+       
+2007-05-22  Nick Clifton  <nickc@redhat.com>
+
+       * doc/as.texinfo: Use @copying around the copyright notice.
+
+2007-05-18  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/tc-mips.c (s_mipsset): Use generic s_set for directives
+       containing a comma.
+
+2007-05-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/4517
+       2003-06-05  Michal Ludvig  <mludvig@suse.cz>
+       * doc/as.texinfo: Document new directives: .cfi_restore, 
+       .cfi_undefined, .cfi_same_value, .cfi_return_column, 
+       .cfi_remember_state and .cfi_restore_state.
+
+2007-05-17  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/tc-m68k.c (md_apply_fix): Show value of out of range
+       fixups in error message.
+       (md_conver_frag_1): Propagate the fix source location and use
+       as_bad_where rather than fatal, for better error messages.
+
+2007-05-16  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
+
+2007-05-15  Mark Shinwell  <shinwell@codesourcery.com>
+
+       * app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
+
+2007-05-15  Vincent Riviere  <vincent.riviere@freesbee.fr>     
+
+       PR gas/3041
+       * config/tc-m68k.c (relaxable_symbol): Make sure that the correct
+       addend is stored for relocs against weak symbols.
+       (md_apply_fix): So not loose track of addend for relocs against
+       weak symbols.
+
+2007-05-14  Thiemo Seufer  <ths@mips.com>
+
+       * config/tc-mips.c (md_parse_option): Fix parsing of -O option.
+
+2007-05-14  Mei Ligang  <ligang@sunnorth.com.cn>
+
+       * config/tc-score.c (data_op2, validate_immediate): Fix bug for
+       addri, addri.c, subi, and subi.c when immediate number is hex.
+       (score_insns): Remove subis and subis.c.
+       (do_sub_rdi16): Delete.
+       
+2007-05-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-spu.c (md_pseudo_table): Add int, long, quad.  Call
+       spu_cons for word.
+       (md_assemble): Tidy use of insn.flag.
+       (get_imm): Likewise.  Handle uppercase input too.
+       (spu_cons): New function.
+       * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
+       (TC_FORCE_RELOCATION): Don't resolve them either.
+
+2007-05-05  Mark Shinwell  <shinwell@codesourcery.com>
+       * config/tc-arm.c (md_apply_fix): Generate more accurate
+       diagnostic when 8-bit immediate range is exceeded for
+       BFD_RELOC_ARM_OFFSET_IMM8.
+
+2007-05-04  Alan Modra  <amodra@bigpond.net.au>
+
+       PR gas/4460
+       * config/tc-i386.c (lex_got): Don't replace the reloc token with
+       a space if we already have a space.
+
+2007-05-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (match_template): Don't explicitly check
+       suffix for crc32 in Intel mode.
+       (process_suffix): Issue an error for crc32 if the operand size
+       is ambiguous.
+
+2007-05-03  Vincent Riviere  <vincent.riviere@freesbee.fr>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR gas/3041
+       * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
+       (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
+       (md_apply_fix): Put zero values into the frags referencing weak
+       symbols.
+
+2007-05-02  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4448
+       * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
+       PPC_OPERAND_PLUS1.
+
+2007-05-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (match_template): Check suffix for crc32 in
+       Intel mdoe.
+       (process_suffix): Default the suffix of 8bit crc32 to
+       BYTE_MNEM_SUFFIX.
+       (check_byte_reg): Skip check for 8bit crc32.
+
+2007-04-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (md_assemble): Use register_prefix in
+       error/warning message.
+       (check_byte_reg): Likewise.
+       (check_long_reg): Likewise.
+       (check_qword_reg): Likewise.
+       (check_word_reg): Likewise.
+       (process_operands): Likewise.
+
+2007-04-30  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4436
+       * config/tc-ppc.c (ppc_insert_operand): Disable range check if
+       min > max.
+
+2007-04-28  Thiemo Seufer  <ths@networkno.de>
+
+       * config/tc-mips.c: Fix comment.
+
+2007-04-26  Anatoly Sokolov <aesok@post.ru>
+
+       * config/tc-avr.c (mcu_types): Add support for atmega8hva and
+       atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
+       * doc/c-avr.texi: Document new devices.
+
+2007-04-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am: Run "make dep-am".
+       * Makefile.in: Regenerate.
+
+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