Configury changes: update src repository (binutils, gdb, and rda) to use
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 64067ad5020545507b8f96d8a4a6990e9f2fe9c8..3e2cb644426556bd94f824f45ed2fffaa4e26a7e 100644 (file)
@@ -1,3 +1,432 @@
+2006-05-31  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * Makefile.am: Replace INTLLIBS and INTLDEPS with LIBINTL
+       and LIBINTL_DEP everywhere.
+       (INTLLIBS): Remove.
+       (INCLUDES, DEP_INCLUDES): Use @INCINTL@.
+       * acinclude.m4: Include new gettext macros.
+       * configure.in: Use ZW_GNU_GETTEXT_SISTER_DIR and AM_PO_SUBDIRS.
+       Remove local code for po/Makefile.
+       * Makefile.in, configure, doc/Makefile.in: Regenerated.
+
+2006-05-30  Nick Clifton  <nickc@redhat.com>
+
+       * po/es.po: Updated Spanish translation.
+
+2006-05-06  Denis Chertykov  <denisc@overta.ru>
+
+       * doc/c-avr.texi: New file.
+       * doc/Makefile.am (CPU_DOCS): Add c-avr.texi
+       * doc/all.texi: Set AVR
+       * doc/as.texinfo: Include c-avr.texi
+
+2006-05-28  Jie Zhang  <jie.zhang@analog.com>
+       * config/bfin-parse.y (check_macfunc): Loose the condition of
+       calling check_multiply_halfregs ().
+
+2006-05-25  Jie Zhang  <jie.zhang@analog.com>
+
+       * config/bfin-parse.y (asm_1): Better check and deal with
+       vector and scalar Multiply 16-Bit Operands instructions.
+
+2006-05-24  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-hppa.c: Convert to ISO C90 format.
+       * config/tc-hppa.h: Likewise.
+
+2006-05-24  Carlos O'Donell  <carlos@systemhalted.org>
+           Randolph Chung  <randolph@tausq.org>
+           
+       * config/tc-hppa.c (is_tls_gdidx, is_tls_ldidx, is_tls_dtpoff,
+       is_tls_ieoff, is_tls_leoff): Define.
+       (fix_new_hppa): Handle TLS.
+       (cons_fix_new_hppa): Likewise.
+       (pa_ip): Likewise.
+       (md_apply_fix): Handle TLS relocs.
+       * config/tc-hppa.h (hppa_fix_adjustable): Handle TLS.
+
+2006-05-24  Bjoern Haase  <bjoern.m.haase@web.de> 
+
+       * config/tc-avr.c: Add new cpu targets avr6, avr2560 and avr2561.
+
+2006-05-23  Thiemo Seufer  <ths@mips.com>
+            David Ung  <davidu@mips.com>
+            Nigel Stephens  <nigel@mips.com>
+
+       [ gas/ChangeLog ]
+       * config/tc-mips.c (ISA_SUPPORTS_SMARTMIPS): Rename.
+       (ISA_SUPPORTS_DSP_ASE, ISA_SUPPORTS_MT_ASE, ISA_HAS_64BIT_FPRS,
+       ISA_HAS_MXHC1): New macros.
+       (HAVE_32BIT_FPRS): Use ISA_HAS_64BIT_FPRS instead of
+       ISA_HAS_64BIT_REGS.  Formatting fixes.  Improved comments.
+       (mips_cpu_info): Change to use combined ASE/IS_ISA flag.
+       (MIPS_CPU_IS_ISA, MIPS_CPU_ASE_SMARTMIPS, MIPS_CPU_ASE_DSP,
+       MIPS_CPU_ASE_MT, MIPS_CPU_ASE_MIPS3D, MIPS_CPU_ASE_MDMX): New defines.
+       (mips_after_parse_args): Change default handling of float register
+       size to account for 32bit code with 64bit FP. Better sanity checking
+       of ISA/ASE/ABI option combinations.
+       (s_mipsset): Support switching of GPR and FPR sizes via
+       .set {g,f}p={32,64,default}. Better sanity checking for .set ASE
+       options.
+       (mips_elf_final_processing): We should record the use of 64bit FP
+       registers in 32bit code but we don't, because ELF header flags are
+       a scarce ressource.
+       (mips_cpu_info_table): Add ASE flags for CPUs with mandatory ASE
+       extensions. Add 4ksc, 4kec, 4kem, 4kep, 4ksd, m4kp, 24kec, 24kef,
+       24kex, 34kc, 34kf, 34kx, 25kf CPU definitions.
+       (mips_cpu_info_from_isa): Use MIPS_CPU_IS_ISA.
+       * doc/c-mips.texi: Document .set {g,f}p={32,64,default}. Document
+       missing -march options. Document .set arch=CPU. Move .set smartmips
+       to ASE page. Use @code for .set FOO examples.
+
+2006-05-23  Jie Zhang  <jie.zhang@analog.com>
+
+       * config/tc-bfin.c (bfin_start_line_hook): Bump line counters
+       if needed.
+
+2006-05-23  Jie Zhang  <jie.zhang@analog.com>
+
+       * config/bfin-defs.h (bfin_equals): Remove declaration.
+       * config/bfin-parse.y (asm_1): Remove "expr ASSIGN expr".
+       * config/tc-bfin.c (bfin_name_is_register): Remove.
+       (bfin_equals): Remove.
+       * config/tc-bfin.h (TC_EQUAL_IN_INSN): Redefine as 1.
+       (bfin_name_is_register): Remove declaration.
+
+2006-05-19  Thiemo Seufer  <ths@mips.com>
+            Nigel Stephens  <nigel@mips.com>
+
+       * config/tc-mipc.c (ISA_HAS_ODD_SINGLE_FPR): New define.
+       (mips_oddfpreg_ok): New function.
+       (mips_ip): Use it.
+
+2006-05-19  Thiemo Seufer  <ths@mips.com>
+            David Ung  <davidu@mips.com>
+
+       * config/tc-mips.h (tc_mips_regname_to_dw2regnum): Declare.
+       * config/tc-mipc.c (ABI_NEEDS_64BIT_REGS, ISA_HAS_64BIT_REGS,
+       ISA_HAS_DROR, ISA_HAS_ROR): Reformat.
+       (regname, RTYPE_MASK, RTYPE_NUM, RTYPE_FPU, RTYPE_FCC, RTYPE_VEC,
+       RTYPE_GP, RTYPE_CP0, RTYPE_PC, RTYPE_ACC, RTYPE_CCC, RNUM_MASK,
+       RWARN, GENERIC_REGISTER_NUMBERS, FPU_REGISTER_NAMES,
+       FPU_CONDITION_CODE_NAMES, COPROC_CONDITION_CODE_NAMES,
+       N32N64_SYMBOLIC_REGISTER_NAMES, O32_SYMBOLIC_REGISTER_NAMES,
+       SYMBOLIC_REGISTER_NAMES, MIPS16_SPECIAL_REGISTER_NAMES,
+       MDMX_VECTOR_REGISTER_NAMES, MIPS_DSP_ACCUMULATOR_NAMES, reg_names,
+       reg_names_o32, reg_names_n32n64): Define register classes.
+       (reg_lookup): New function, use register classes.
+       (md_begin): Reserve register names in the symbol table. Simplify
+       OBJ_ELF defines.
+       (mips_ip): Fix comment formatting. Handle symbolic COP0 registers.
+       Use reg_lookup.
+       (mips16_ip): Use reg_lookup.
+       (tc_get_register): Likewise.
+       (tc_mips_regname_to_dw2regnum): New function.
+
+2006-05-19  Thiemo Seufer  <ths@mips.com>
+
+       * config/tc-arm.c, config/tc-arm.h (tc_arm_regname_to_dw2regnum):
+       Un-constify string argument.
+       * config/tc-i386.c, config/tc-i386.h (tc_x86_regname_to_dw2regnum):
+       Likewise.
+       * config/tc-m68k.c, config/tc-m68k.h (tc_m68k_regname_to_dw2regnum):
+       Likewise.
+       * config/tc-ppc.c, config/tc-ppc.h (tc_ppc_regname_to_dw2regnum):
+       Likewise.
+       * config/tc-s390.c, config/tc-s390.h (tc_s390_regname_to_dw2regnum):
+       Likewise.
+       * config/tc-sh.c, config/tc-sh.h (sh_regname_to_dw2regnum):
+       Likewise.
+       * config/tc-sparc.c, config/tc-sparc.h (sparc_regname_to_dw2regnum):
+       Likewise.
+
+2006-05-19  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * gas/config/tc-m68k.c (m68k_init_arch): Move checking of
+       cfloat/m68881 to correct architecture before using it.
+
+2006-05-16  Bjoern Haase  <bjoern.m.haase@web.de>
+
+        * config/tc-avr.h (TC_VALIDATE_FIX): Allow fixups for immediate
+       constant values.
+
+2006-05-15  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (arm_adjust_symtab): Use
+       bfd_is_arm_special_symbol_name.
+
+2006-05-15  Bob Wilson  <bob.wilson@acm.org>
+
+       * config/tc-xtensa.c (is_direct_call_opcode, is_branch_jmp_to_next,
+       xg_assemble_vliw_tokens, xtensa_mark_narrow_branches,
+       xtensa_fix_short_loop_frags, is_local_forward_loop, relax_frag_immed):
+       Handle errors from calls to xtensa_opcode_is_* functions.
+
+2006-05-14  Thiemo Seufer  <ths@mips.com>
+
+       * config/tc-mips.c (macro_build): Test for currently active
+       mips16 option.
+       (mips16_ip): Reject invalid opcodes.
+
+2006-05-11  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * doc/as.texinfo: Rename "Index" to "AS Index",
+       and "ABORT" to "ABORT (COFF)".
+
+2006-05-11  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (parse_half): New function.
+       (operand_parse_code): Remove OP_Iffff.  Add OP_HALF.
+       (parse_operands): Ditto.
+       (do_mov16): Reject invalid relocations.
+       (do_t_mov16): Ditto.  Use Thumb reloc numbers.
+       (insns): Replace Iffff with HALF.
+       (md_apply_fix): Add MOVW and MOVT relocs.
+       (tc_gen_reloc): Ditto.
+       * doc/c-arm.texi: Document relocation operators
+
+2006-05-11  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (arm_fix_adjustable): Return 0 for function symbols.
+
+2006-05-11  Thiemo Seufer  <ths@mips.com>
+
+       * config/tc-mips.c (append_insn): Don't check the range of j or
+       jal addresses.
+
+2006-05-11  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * config/tc-arm.c (md_pcrel_from_section): Force a bias for
+       relocs against external symbols for WinCE targets. 
+       (md_apply_fix): Likewise.
+
+2006-05-09  David Ung  <davidu@mips.com>
+
+       * config/tc-mips.c (append_insn): Only warn about an out-of-range
+       j or jal address.
+
+2006-05-09  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (arm_fix_adjustable): For COFF, convert fixups
+       against symbols which are not going to be placed into the symbol
+       table.
+
+2006-05-09  Ben Elliston  <bje@au.ibm.com>
+
+       * expr.c (operand): Remove `if (0 && ..)' statement and
+       subsequently unused target_op label.  Collapse `if (1 || ..)'
+       statement.
+       * app.c (do_scrub_chars): Remove unused case 0, as it is handled
+       separately above the switch.
+
+2006-05-08  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/2623
+       * config/tc-msp430.c (line_separator_character): Define as |.
+
+2006-05-08  Thiemo Seufer  <ths@mips.com>
+            Nigel Stephens  <nigel@mips.com>
+            David Ung  <davidu@mips.com>
+
+       * config/tc-mips.c (mips_set_options): Add ase_smartmips flag.
+       (mips_opts): Likewise.
+       (file_ase_smartmips): New variable.
+       (ISA_HAS_ROR): SmartMIPS implements rotate instructions.
+       (macro_build): Handle SmartMIPS instructions.
+       (mips_ip): Likewise.
+       (md_longopts): Add argument handling for smartmips.
+       (md_parse_options, mips_after_parse_args): Likewise.
+       (s_mipsset): Add .set smartmips support.
+       (md_show_usage): Document -msmartmips/-mno-smartmips.
+       * doc/as.texinfo: Document -msmartmips/-mno-smartmips and
+       .set smartmips.
+       * doc/c-mips.texi: Likewise.
+
+2006-05-08  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (relax_segment): Add pass count arg.  Don't error on
+       negative org/space on first two passes.
+       (relax_seg_info): New struct.
+       (relax_seg, write_object_file): Adjust.
+       * write.h (relax_segment): Update prototype.
+
+2006-05-05  Julian Brown  <julian@codesourcery.com>
+
+       * config/tc-arm.c (parse_vfp_reg_list): Improve register bounds
+       checking.
+       (do_neon_mov): Enable several VMOV variants for VFP. Add suitable
+       architecture version checks.
+       (insns): Allow overlapping instructions to be used in VFP mode.
+
+2006-05-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/2598
+       * config/obj-elf.c (obj_elf_change_section): Allow user
+       specified SHF_ALPHA_GPREL.
+
+2006-05-05  Bjoern Haase  <bjoern.m.haase@web.de>
+
+       * gas/config/tc-avr.h (TC_VALIDATE_FIX): Define.  Disable fixups
+       for PMEM related expressions.
+
+2006-05-05  Nick Clifton  <nickc@redhat.com>
+
+       PR gas/2582
+       * dwarf2dbg.c (INSERT_DIR_SEPARATOR): New macro.  Handles the
+       insertion of a directory separator character into a string at a
+       given offset.  Uses heuristics to decide when to use a backslash
+       character rather than a forward-slash character.
+       (dwarf2_directive_loc): Use the macro.
+       (out_debug_info): Likewise.
+
+2006-05-05  Thiemo Seufer  <ths@mips.com>
+            David Ung  <davidu@mips.com>
+
+       * config/tc-mips.c (macro_build): Add case 'k' to handle cache
+       instruction.
+       (macro): Add new case M_CACHE_AB.
+
+2006-05-04  Kazu Hirata  <kazu@codesourcery.com>
+
+       * config/tc-arm.c (opcode_tag): Add OT_cinfix3_deprecated.
+       (opcode_lookup): Issue a warning for opcode with
+       OT_cinfix3_deprecated.  Otherwise treat OT_cinfix3_deprecated
+       identical to OT_cinfix3.
+       (TxC3w, TC3w, tC3w): New.
+       (insns): Use tC3w and TC3w for comparison instructions with
+       's' suffix.
+
+2006-05-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * subsegs.h (struct frchain): Delete frch_seg.
+       (frchain_root): Delete.
+       (seg_info): Define as macro.
+       * subsegs.c (frchain_root): Delete.
+       (abs_seg_info, und_seg_info, absolute_frchain): Delete.
+       (subsegs_begin, subseg_change): Adjust for above.
+       (subseg_set_rest): Likewise.  Add new frchain structs to seginfo
+       rather than to one big list.
+       (subseg_get): Don't special case abs, und sections.
+       (subseg_new, subseg_force_new): Don't set frchainP here.
+       (seg_info): Delete.
+       (subsegs_print_statistics): Adjust frag chain control list traversal.
+       * debug.c (dmp_frags):  Likewise.
+       * dwarf2dbg.c (first_frag_for_seg): Don't start looking for frag
+       at frchain_root.  Make use of known frchain ordering.
+       (last_frag_for_seg): Likewise.
+       (get_frag_fix): Likewise.  Add seg param.
+       (process_entries, out_debug_aranges): Adjust get_frag_fix calls.
+       * write.c (chain_frchains_together_1): Adjust for struct frchain.
+       (SUB_SEGMENT_ALIGN): Likewise.
+       (subsegs_finish): Adjust frchain list traversal.
+       * config/tc-xtensa.c (xtensa_cleanup_align_frags): Likewise.
+       (xtensa_fix_target_frags, xtensa_mark_narrow_branches): Likewise.
+       (xtensa_mark_zcl_first_insns, xtensa_fix_a0_b_retw_frags): Likewise.
+       (xtensa_fix_b_j_loop_end_frags): Likewise.
+       (xtensa_fix_close_loop_end_frags): Likewise.
+       (xtensa_fix_short_loop_frags, xtensa_sanity_check): Likewise.
+       (retrieve_segment_info): Delete frch_seg initialisation.
+
+2006-05-03  Alan Modra  <amodra@bigpond.net.au>
+
+       * subsegs.c (subseg_get): Don't call obj_sec_set_private_data.
+       * config/obj-elf.h (obj_sec_set_private_data): Delete.
+       * config/tc-hppa.c (tc_gen_reloc): Don't use bfd_abs_symbol.
+       * config/tc-mn10300.c (tc_gen_reloc): Likewise.
+
+2006-05-02  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/tc-arm.c (do_iwmmxt_wldstbh): Don't multiply offset by 4
+       here.
+       (md_apply_fix3): Multiply offset by 4 here for
+       BFD_RELOC_ARM_CP_OFF_IMM_S2 and BFD_RELOC_ARM_T32_CP_OFF_IMM_S2.
+
+2006-05-02  H.J. Lu  <hongjiu.lu@intel.com>
+           Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-i386.c (output_invalid_buf): Change size for
+       unsigned char.
+       * config/tc-tic30.c (output_invalid_buf): Likewise.
+
+       * config/tc-i386.c (output_invalid): Cast none-ascii char to
+       unsigned char.
+       * config/tc-tic30.c (output_invalid): Likewise.
+
+2006-05-02  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * doc/Makefile.am (AM_MAKEINFOFLAGS): New.
+       (TEXI2POD): Use AM_MAKEINFOFLAGS.
+       (asconfig.texi): Don't set top_srcdir.
+       * doc/as.texinfo: Don't use top_srcdir.
+       * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
+
+2006-05-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (output_invalid_buf): Change size to 16.
+       * config/tc-tic30.c (output_invalid_buf): Likewise.
+
+       * config/tc-i386.c (output_invalid): Use snprintf instead of
+       sprintf.
+       * config/tc-ia64.c (declare_register_set): Likewise.
+       (emit_one_bundle): Likewise.
+       (check_dependencies): Likewise.
+       * config/tc-tic30.c (output_invalid): Likewise.
+
+2006-05-02  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (arm_optimize_expr): New function.
+       * config/tc-arm.h (md_optimize_expr): Define
+       (arm_optimize_expr): Add prototype.
+       (TC_FORCE_RELOCATION_SUB_SAME): Define.
+
+2006-05-02  Ben Elliston  <bje@au.ibm.com>
+
+       * config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS): Make single bit
+       field unsigned.
+
+       * sb.h (sb_list_vector): Move to sb.c.
+       * sb.c (free_list): Use type of sb_list_vector directly.
+       (sb_build): Fix off-by-one error in assertion about `size'.
+
+2006-05-01  Ben Elliston  <bje@au.ibm.com>
+
+       * listing.c (listing_listing): Remove useless loop.
+       * macro.c (macro_expand): Remove is_positional local variable.
+       * read.c (s_comm_internal): Simplify `if' condition 1 || x -> 1
+       and simplify surrounding expressions, where possible.
+       (assign_symbol): Likewise.
+       (s_weakref): Likewise.
+       * symbols.c (colon): Likewise.
+
+2006-05-01  James Lemke  <jwlemke@wasabisystems.com>
+
+       * subsegs.c (subseg_set_rest): Always set seginfp->frchainP if NULL.
+
+2006-04-30  Thiemo Seufer  <ths@mips.com>
+            David Ung  <davidu@mips.com>
+
+       * config/tc-mips.c (validate_mips_insn): Handling of udi cases.
+       (mips_immed): New table that records various handling of udi
+       instruction patterns.
+       (mips_ip): Adds udi handling.
+
+2006-04-28  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf2dbg.c (get_line_subseg): Attach new struct line_seg to end
+       of list rather than beginning.
+
+2006-04-26  Julian Brown  <julian@codesourcery.com>
+
+       * gas/config/tc-arm.c (neon_is_quarter_float): Move, and rename to...
+       (is_quarter_float): Rename from above. Simplify slightly.
+       (parse_qfloat_immediate): Parse a "quarter precision" floating-point
+       number.
+       (parse_neon_mov): Parse floating-point constants.
+       (neon_qfloat_bits): Fix encoding.
+       (neon_cmode_for_move_imm): Tweak to use floating-point encoding in
+       preference to integer encoding when using the F32 type.
+
 2006-04-26  Julian Brown  <julian@codesourcery.com>
 
        * config/tc-arm.c (neon_el_type): Make NT_invtype be the zero (so
This page took 0.026981 seconds and 4 git commands to generate.