* read.c (potable): Add string8, string16, string32 and string64. Add bit size for...
[binutils-gdb.git] / gas / ChangeLog
index 1d13235e74d15f31946bad18ef2ecfe6e88a165e..6694d9896a584315df1d9fe551fda1e544c02b6b 100644 (file)
@@ -1,3 +1,244 @@
+2007-10-04  Helge Deller  <deller@gmx.de>
+
+       * read.c (potable): Add string8, string16, string32 and string64.
+       Add bit 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.
+
+2007-10-03  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/5078
+       * config/tc-avr.c (avr_get_constant): Extend error message to
+       mention that the constant must be positive.
+
+2007-10-03  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-avr.c (avr_get_constant): 
+       PR gas/5089
+       * config/tc-arm.c (s_arm_unwind_handlerdata): Fix spelling typo.
+       PR gas/5090
+       (md_assemble): Fix spelling typo.
+
+2007-10-03  Alan Modra  <amodra@bigpond.net.au>
+
+       PR 4303
+       * stabs.c (aout_process_stab): Set BSF_DEBUGGING.
+
+2007-10-01  M R Swami Reddy <MR.Swami.Reddy@nsc.com>
+
+       * config/tc-cr16.c: Replaced 'tabs' with white spaces and
+       added R_CR16_DISP8 as default reloc type for b<cc> instructions.
+
+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.
+
+2007-09-27  Kazu Hirata  <kazu@codesourcery.com>
+
+       * 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.
+
+2007-09-26  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-i386.c (build_modrm_byte): Also check for RegEip
+       when considering IP-relative addressing.
+
+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-26  Jan Beulich  <jbeulich@novell.com>
+
+       * dw2gencfi.c: Conditionalize whole body upon TARGET_USE_CFIPOP.
+       (cfi_finish): Add second empty instance.
+
+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-26  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-i386.c (NUM_FLAG_CODE): Remove.
+
+2007-09-26  Jan Beulich  <jbeulich@novell.com>
+
+       * as.c (itbl_parse): Remove #define.
+       (struct itbl_file_list): Move down and ...
+       (itbl_files): .. conditionalize upon HAVE_ITBL_CPU.
+       (show_usage): Conditionalize printing of --itbl option upon
+       HAVE_ITBL_CPU.
+       (parse_args): Conditionalize handling of -t/--itbl options upon
+       HAVE_ITBL_CPU. Remove OPTION_INSTTBL and replace its use with
+       't'.
+
+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.
+
+2007-09-25  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/tc-m68k.c (LONG_BRANCH_VIA_COND): New.
+       (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.
+
+2007-09-24  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * config/tc-mips.c (s_align): Set max_alignment to 28.
+       
+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.
+
+2007-09-19  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-h8300.c (md_apply_fix): Do not abort or handle 8 byte
+       fixups.
+
+2007-09-19  Bob Wilson  <bob.wilson@acm.org>
+
+       * doc/c-xtensa.texi (Xtensa Immediate Relaxation): Fix "addi" typo.
+
+2007-09-18  Bernd Schmidt  <bernd.schmidt@analog.com>
+
+       * config/bfin-parse.y (asm_1): Slightly improve error messages
+       for "reg += const;".
+
+2007-09-18  Alan Modra  <amodra@bigpond.net.au>
+
+       PR gas/5026
+       * read.c (emit_expr): Only use long long if required and available.
+
+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.
+
+2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/5035
+       * config/obj-coff.c (obj_coff_endef): Remove checking size of
+       def_symbol_in_progress.
+
+2007-09-17  Evandro Menezes  <evandro@yahoo.com>
+
+       PR gas/5026
+       * read.c (emit_expr): Use unsigned long long values in warning
+       message about truncated expressions.
+
+2007-09-17  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (intel_e04): Revert the last change.
+
+2007-09-17  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+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.
+
+2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (build_modrm_byte): Adjust comment line
+       wrap.
+
+2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (build_modrm_byte): Use (A || B) instead
+       of (A || B) != 0.
+
+2007-09-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (build_modrm_byte): Adjust indentation.
+
+2007-09-14  Michael Meissner  <michael.meissner@amd.com>
+           Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
+           Tony Linthicum  <tony.linthicum@amd.com>
+
+       * NEWS: Add SSE5 support to NEWS file.
+       
+       * config/tc-i386.h (drex_byte): Add fields to allow process_drex
+       and build_modrm_byte to communicate.
+       (DREX_OC0): New SSE5 macro.
+       (DREX_OC0_MASK): Ditto.
+       (DREX_OC1): Ditto.
+       (DREX_OC1_MASK): Ditto.
+       (DREX_XMEM_X1_X2_X2): Ditto.
+       (DREX_X1_XMEM_X2_X2): Ditto.
+       (DREX_X1_XMEM_X2_X1: Ditto.
+       (DREX_X1_X2_XMEM_X1: Ditto.
+       (DREX_XMEM_X1_X2): Ditto.
+       (DREX_X1_XMEM_X2): Ditto.
+       (drex_byte): New structure to describe the DREX byte.
+
+       * config/tc-i386.c (process_drex): New function to handle SSE5
+       DREX bits.
+       (build_modrm_byte): Use the information cached away in
+       process_drex in the case of DREX instructions.
+       (i386_insn): Add drex field.
+       (pi): Add debugging of drex field.
+       (md_assemble): Treat SSE5 like SSE3 in instructions with an
+       immediate byte.  Move REX field to DREX if this is a DREX
+       instruction.
+       (process_operands): Add SSE5 support.
+       (build_modrm_byte): Ditto.
+       (output_insn): Ditto.
+       (cpu_arch): Ditto.
+       (i386_align_code): Ditto.
+
+2007-09-12  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-i386.c (md_assemble): Move handling of extrq/insertq
+       after generic operand swapping, and swap only the immediate operands.
+
 2007-09-11  Nathan Sidwell  <nathan@codesourcery.com>
 
        * config/tc-m68k.c (m68k_ip): Add mcfisa_c case.