+2005-03-24 Nick Clifton <nickc@redhat.com>
+
+ * write.h (bit_fix_new): Remove redundant prototype.
+ * config/atof-ieee.c: Convert to ISO-C90 and fix formatting.
+ * config/obj-aout.c: Convert to ISO-C90 and fix formatting.
+ * config/obj-aout.h: Convert to ISO-C90 and fix formatting.
+ * config/obj-bout.c: Convert to ISO-C90 and fix formatting.
+ * config/obj-bout.h: Convert to ISO-C90 and fix formatting.
+ * config/obj-ecoff.c: Convert to ISO-C90 and fix formatting.
+ * config/obj-ecoff.h: Convert to ISO-C90 and fix formatting.
+ * config/obj-som.c: Convert to ISO-C90 and fix formatting.
+ * config/obj-som.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-a29k.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-a29k.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-alpha.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-alpha.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-arc.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-arc.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-d10v.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-d10v.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-d30v.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-d30v.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-dlx.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-dlx.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-fr30.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-fr30.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-h8500.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-h8500.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-i370.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-i370.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-i960.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-ip2k.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-ip2k.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-m32r.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-m32r.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-m88k.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-m88k.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-mcore.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-mcore.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-mn10200.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-ns32k.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-ns32k.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-openrisc.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-openrisc.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-or32.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-or32.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-pdp11.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-pj.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-pj.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-tahoe.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-tic80.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-tic80.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-v850.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-v850.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-w65.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-w65.h: Convert to ISO-C90 and fix formatting.
+ * config/tc-xstormy16.c: Convert to ISO-C90 and fix formatting.
+ * config/tc-xstormy16.h: Convert to ISO-C90 and fix formatting.
+
+2005-03-23 Jim Blandy <jimb@redhat.com>
+
+ * config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
+ attributes properly.
+
+2005-03-23 Mike Frysinger <vapier@gentoo.org>
+ Nick Clifton <nickc@redhat.com>
+
+ * configure.tgt: Accept any C library to accompany a GNU Linux
+ implementation, not just the GNU C library.
+ * configure.in: Likewise.
+ * configure: Regenerate.
+
+2005-03-23 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-tic30.c: Convert to ISO C90 formatting.
+ * config/tc-tic30.h: Convert to ISO C90 formatting.
+ * config/tc-pdp11.c: Convert to ISO C90 formatting.
+ * config/atof-vax.c: Convert to ISO C90 formatting.
+
+2005-03-21 Maciej W. Rozycki <macro@mips.com>
+
+ * config/tc-mips.c (mips_frob_file): Sort BFD_RELOC_MIPS16_LO16
+ relocations correctly as well.
+ (mips_fix_adjustable): Don't make BFD_RELOC_MIPS16_LO16
+ relocations in mergeable sections section-relative either.
+
+2005-03-21 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (md_apply_fix3): Recognize XTENSA_PLT relocations.
+
+2005-03-21 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-sh.c (sh_elf_final_processing): Fix compile time
+ warning by providing a prototype for sh_symbian_find_elf_flags.
+
+ * cgen.c (gas_cgen_parse_operand): Fix typo introduced by
+ previous delta.
+
+2005-03-21 Alan Modra <amodra@bigpond.net.au>
+
+ * configure.tgt: Handle setting of bfd_gas for fmt=multi targets
+ along with other formats that set bfd_gas. Remove unnecessary
+ setting of bfd_gas. Delete strongarm cases in generic_target
+ switch.
+
+2005-03-21 Alan Modra <amodra@bigpond.net.au>
+
+ PR gas/780
+ * config/tc-m68k.c (TRUNC, SEXT): Define.
+ (issbyte, isubyte, issword, isuword, isbyte, isword): Use the above.
+ (m68k_ip): Truncate or sign extend expressions as appropriate.
+ (get_num): Likewise.
+ (md_apply_fix3): Use SEXT.
+
+2005-03-21 Alan Modra <amodra@bigpond.net.au>
+
+ * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.
+ (OBJ_FORMAT_HFILES): Prune config/obj-vms.h.
+ (obj-vms.o): Delete rule.
+ Run "make dep-am".
+ * Makefile.in: Regenerate.
+ * aclocal.m4: Regenerate.
+ * doc/Makefile.in: Regenerate.
+ * po/POTFILES.in: Regenerate.
+
+2005-03-18 C Jaiprakash <cjaiprakash@noida.hcltech.com>
+
+ * config/tc-m68k.c (m68k_elf_final_processing): Set file specific
+ flag for coldfire v4e.
+
+2005-03-17 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xg_apply_tentative_value): Rename to
+ xg_apply_fix_value and return a value to indicate success.
+ (md_pcrel_from): Skip check of fx_done. Return 0 if not PC-relative.
+ (xtensa_force_relocation): Remove checks for VTABLE relocs.
+ (xtensa_validate_fix_sub): New.
+ (xtensa_fix_adjustable): Remove check for external or weak symbols.
+ (tc_gen_reloc): Move code to handle difference of symbols and code to
+ apply tentative fix values to ...
+ (md_apply_fix3): ...here. Enable standard overflow checks for simple
+ 8, 16, and 32 bit relocations. Apply fixes for slot-specific
+ relocations when linkrelax flag is not set.
+ * config/tc-xtensa.h (xtensa_validate_fix_sub): Add prototype.
+ (TC_FORCE_RELOCATION_SUB_SAME, TC_VALIDATE_FIX_SUB): Define.
+
+2005-03-17 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (i386_scale): Beautify error message.
+ (Intel syntax comments): Update.
+ (struct intel_parser_s): Add fields in_offset, in_bracket, and
+ next_operand.
+ (intel_e04_1, intel_e05_1, intel_e05_1, intel_e09_1, intel_e10_1):
+ Remove declarations.
+ (intel_bracket_expr): Declare.
+ (i386_intel_operand): Initialize new intel_parser fields. Wrap most
+ of the function body in a loop allowing to split an operand into two.
+ Replace calls to malloc and checks of it returning non-NULL with
+ calls to xmalloc/xstrdup.
+ (intel_expr): SHORT no longer handled here. Add comment indicating
+ comparison ops need implementation.
+ (intel_e04, intel_e04_1): Combine, replace recursion with loop.
+ Check right operand of - does not specify a register when parsing
+ the address of a memory reference.
+ (intel_e05, intel_e05_1): Combine, replace recursion with loop.
+ Check operands do not specify a register when parsing the address of
+ a memory reference.
+ (intel_e06, intel_e06_1): Likewise.
+ (intel_e09, intel_e09_1): Combine, replace recursion with loop. Also
+ handle SHORT as well as unary + and -. Don't accept : except for
+ segment overrides or in direct far jump/call insns.
+ (intel_brack_expr): New.
+ (intel_e10, intel_e10_1): Combine, replace recursion with loop. Use
+ intel_brack_expr.
+ (intel_e11): Replace chain of if/else-if by switch, alloing fall-
+ through in certain cases. Use intel_brack_expr. Add new diagnostics.
+ Allow symbolic constants as register scale value.
+ (intel_get_token): Replace call to malloc and check of return value
+ with call to xmalloc. Change handling for FLAT to match MASM's.
+ (intel_putback_token): Don't try to back up/free current token if
+ that is T_NIL.
+
+2005-03-16 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * configure.tgt: Set emulation for arm-*-eabi*.
+ * config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
+ * config/te-armeabi.h: New file.
+ * config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
+ * config/te-symbian.h: Include "te-armeabi.h".
+
+2005-03-16 Nick Clifton <nickc@redhat.com>
+
+ * cgen.c (gas_cgen_parse_operand): Copy opinfo parameter into a
+ local variable in case it is clobbered by the setjmp.
+
+2005-03-16 Nick Clifton <nickc@redhat.com>
+ Ben Elliston <bje@au.ibm.com>
+
+ * configure.in (werror): New switch: Add -Werror to the
+ compiler command line. Enabled by default. Disable via
+ --disable-werror.
+ * configure: Regenerate.
+
+2005-03-16 Nick Clifton <nickc@redhat.com>
+
+ * config/obj-coff.h: Convert to ISO C90 formatting.
+ * config/obj-coff.c: Convert to ISO C90 formatting.
+
+2005-03-15 Zack Weinberg <zack@codesourcery.com>
+
+ * config/tc-arm.c (do_mla): Rename to do_mlas, take second
+ is_mls parameter; do not diagnose Rm==Rd when is_mls.
+ (do_mla, do_mls, five_bit_unsigned_immediate, bfci_lsb_and_width)
+ (do_bfc, do_bfi, do_bfx, do_rbit, do_mov16, do_ldsttv4): New functions.
+ (insns): Add ARMv6T2 instructions:
+ bfc bfi mls movw movt rbit sbfx ubfx ldrht ldrsht ldrsbt strht.
+ (arm_archs): Add V6T2 variants.
+
+2005-03-15 Nick Clifton <nickc@redhat.com>
+
+ * NEWS: Add cutoff for changes in 2.16 release.
+
+2005-03-15 Jan Beulich <jbeulich@novell.com>
+
+ * expr.c (operand): Merge handling of unary + into that for unary
+ -, !, and ~.
+
+2005-03-14 Eric Christopher <echristo@redhat.com>
+
+ * config/tc-mips.c: Include dw2gencfi.h.
+ (mips_cfi_frame_initial_instructions): New.
+ * config/tc-mips.h (TARGET_USE_CFIPOP): Define.
+ (tc_cfi_frame_initial_instructions): Ditto.
+ (DWARF2_DEFAULT_RETURN_COLUMN): Ditto.
+ (DWARF2_CIE_DATA_ALIGNMENT): Ditto.
+ * Makefile.am: Update dependencies.
+ * Makefile.in: Regenerate.
+
+2005-03-15 Alan Modra <amodra@bigpond.net.au>
+
+ * po/es.po: Commit new Spanish translation.
+
+2005-03-14 Alan Modra <amodra@bigpond.net.au>
+
+ * po/tr.po: Commit new Turkish translation.
+
+2005-03-12 Zack Weinberg <zack@codesourcery.com>
+
+ * config/tc-arm.c (tinsns): Add ARMv6K instructions sev, wfe,
+ wfi, yield.
+
+2005-03-11 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * config-gas.com: Mark vax-vms as obsolete.
+ * 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-10 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (finish_vinsn): Include the last instruction slot
+ when checking if xg_resolve_literals needs to be called.
+ * config/tc-xtensa.h: Fix spelling typo in a comment.
+
+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 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
+ for -mno-shared optimization.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
+ (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 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (append_insn): Remove cop_interlocks test from
+ branch delay code.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.h (mips_flush_pending_output): Delete.
+ (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 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (mips_move_labels): New function, taken from...
+ (append_insn, mips_emit_delays): ...here.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (MAX_NOPS): New macro.
+ (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 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (append_insn): Remove now-redundant nops != 0
+ check from branch delay code. Remove unnecessary check for branches.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (dummy_opcode): Delete.
+ (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 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (INSERT_BITS, EXTRACT_BITS, INSERT_OPERAND)
+ (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 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (mips_cl_insn): Replace the valid_p, delay_slot_p
+ and extended_p fields with a single fixed_p field.
+ (append_insn, mips_no_prev_insn): Adjust accordingly.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (mips_cl_insn): Replace reloc_type array with
+ a single mips16_absolute_jump_p bit.
+ (append_insn): Adjust accordingly.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.h (mips_cl_insn): Move definition to...
+ * 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 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * doc/Makefile.am: Update as.info dependencies.
+ * aclocal.m4, Makefile.in, doc/Makefile.in: Regenerated.
+
+2005-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-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.
+
+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.
+
+2005-03-05 Alan Modra <amodra@bigpond.net.au>
+
+ * po/gas.pot: Regenerate.
+
+2005-03-04 David Daney <ddaney@avtrex.com>
+
+ * 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.
+
+2005-03-04 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-mips.c (mips_set_options): Add sym32 field.
+ (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 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (load_address): Implement GP optimization
+ 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 Nick Clifton <nickc@redhat.com>
+
+ * expr.c (operand): Remove redundant code enclosed by #ifdef
+ RELAX_PAREN_GROUPING....#endif.
+
+ * config/tc-mn10200.c (tc_gen_reloc): Handle the case where the
+ reloc is the difference of two symbols defined in the same
+ section.
+
+ * config/tc-iq2000.c (line_comment_chars): Include the # character
+ as otherwise this breaks #APP/#NO_APP processing.
+
+2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
+
+ * config/tc-arc.c(md_assemble): Remove dead code for handling
+ immediate indexing of ld and st .
+
+2005-03-02 Daniel Jacobowitz <dan@codesourcery.com>
+ Joseph Myers <joseph@codesourcery.com>
+
+ * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,
+ %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.
+
+2005-03-02 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.
+
+2005-03-02 Jan Beulich <jbeulich@novell.com>
+
+ * as.c (main): Use unlink_if_ordinary instead of unlink.
+ * messages.c (as_fatal): Likewise.
+
+2005-03-02 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15
+ accesses.
+ (parse_register): Allow cr8...15 in all modes.
+
+2005-03-02 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE
+ etc. like normal symbol references (T_ID).
+
+2005-03-02 Alan Modra <amodra@bigpond.net.au>
+
+ * symbols.c (fb_label_name): Fix silly thinko in last change.
+
+2005-03-02 Alan Modra <amodra@bigpond.net.au>
+
+ * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.
+ * config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
+
+ * symbols.c (fb_label_name): Allow an augend of 2 for mmix.
+
+2005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
+
+ PR gas/708
+ * config/tc-arc.c (md_assemble): Initialize suffix for extension
+ suffixes also.
+
+2005-03-01 Alan Modra <amodra@bigpond.net.au>
+
+ * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.
+
+ * as.h (assert): Warning fix.
+ * expr.c (expr): Correct assertion.
+ * read.c (s_comm_internal): Remove assertion.
+ * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER.
+ (fixup_segment): Remove assertion.
+ * config/tc-dlx.c (machine_ip): Remove untrue assertions.
+ (md_apply_fix3): Likewise.
+ * config/tc-i370.c (md_begin): Correct assertion.
+ (i370_macro): Warning fix for assertion.
+
+2005-03-01 Alan Modra <amodra@bigpond.net.au>
+
+ * configure.in (AC_C_BIGENDIAN): Invoke.
+ * configure: Regenerate.
+ * write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof
+ host variable to set string header size.
+ * config/obj-aout.c (obj_header_append): Don't use host structs.
+ (obj_symbol_to_chars): Likewise.
+ (obj_emit_strings): Likewise. Use the passed in output pointer.
+ * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE.
+ * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size,
+ not sizeof host struct.
+ (obj_header_append, obj_symbol_to_chars): Don't use host structs.
+ (obj_emit_strings): Likewise.
+ * config/obj-bout.h (EXEC_BYTES_SIZE): Define.
+ (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of
+ sizeof host struct.
+ (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using
+ sizeof host struct.
+ (host_number_to_chars): Define.
+ * config/obj-hp300.c (hp300_header_append): Don't use sizeof
+ host internal struct to set header sizes.
+ * config/tc-i960.c (md_number_to_field): Warning fix.
+ (md_ri_to_chars): Use host byte order.
+ (get_cdisp, md_apply_fix3): Warning fix.
+ * config/tc-m68k.c (md_assemble): Don't use sizeof host short.
+
+2005-02-28 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
+
+ * doc/c-arc.texi: Update documentation about ARC's extension
+ instructions.
+
+2005-02-27 Svein E. Seldal <svein@dev.seldal.com>
+
+ * config/tc-tic4x.c (tic4x_gen_to_words): Changed mail
+ address for myself.
+
+2005-02-23 Alan Modra <amodra@bigpond.net.au>
+
+ * cgen.c: Warning fixes.
+ * config/tc-arc.c: Likewise.
+ * config/tc-arm.c: Likewise.
+ * config/tc-avr.c: Likewise.
+ * config/tc-d10v.c: Likewise.
+ * config/tc-d30v.c: Likewise.
+ * config/tc-frv.c: Likewise.
+ * config/tc-frv.h: Likewise.
+ * config/tc-h8300.c: Likewise.
+ * config/tc-h8500.c: Likewise.
+ * config/tc-i370.c: Likewise.
+ * config/tc-i960.c: Likewise.
+ * config/tc-ia64.c: Likewise.
+ * config/tc-ip2k.c: Likewise.
+ * config/tc-m68hc11.c: Likewise.
+ * config/tc-maxq.c: Likewise.
+ * config/tc-mcore.c: Likewise.
+ * config/tc-mips.c: Likewise.
+ * config/tc-msp430.c: Likewise.
+ * config/tc-pj.c: Likewise.
+ * config/tc-ppc.c: Likewise.
+ * config/tc-ppc.h: Likewise.
+ * config/tc-s390.c: Likewise.
+ * config/tc-sh.c: Likewise.
+ * config/tc-sh64.c: Likewise.
+ * config/tc-tic4x.c: Likewise.
+ * config/tc-tic80.c: Likewise.
+ * config/tc-v850.c: Likewise.
+ * config/tc-vax.c: Likewise.
+ * config/tc-w65.c: Likewise.
+ * config/tc-xstormy16.c: Likewise.
+ * config/tc-z8k.c: Likewise.
+
+2005-02-22 Catherine Moore <clm@cm00re.com>
+
+ * read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.
+ * doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
+
+2005-02-22 Eric Christopher <echristo@redhat.com>
+
+ * config/tc-mips.c (struct proc): Change isym to
+ func_sym. New member func_end_sym.
+ (s_mips_ent): Update.
+ (s_mips_end): Ditto. Add code to compute function size.
+
+2005-02-22 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c: Warning fixes.
+ * config/obj-elf.c: Likewise.
+
+2005-02-22 Maciej W. Rozycki <macro@mips.com>
+
+ * config/tc-mips.c (append_insn): Call dwarf2_emit_insn() before
+ emitting insn.
+
+2005-02-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/obj-coff.c (obj_coff_section): Replace SEC_SHARED with
+ SEC_COFF_SHARED.
+
+ * config/tc-tic54x.c (tic54x_bss): Replace SEC_BLOCK with
+ SEC_TIC54X_BLOCK.
+ (demand_empty_rest_of_line): Likewise.
+ (tic54x_sblock): Likewise.
+ (tic54x_clink): Replace with SEC_CLINK with SEC_TIC54X_CLINK.
+
+2005-02-21 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c (address_bytes): New function.
+ (TC_ADDRESS_BYTES): Default for BSD_ASSEMBLER to address_bytes.
+ (potable): Add "dc.a".
+ (cons_worker): Handle "dc.a".
+ * doc/internals.texi (TC_ADDRESS_BYTES): Document.
+
+2005-02-21 Alan Modra <amodra@bigpond.net.au>
+
+ * input-file.c (input_file_open): Rearrange to avoid warning.
+
+2005-02-19 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-hppa.h (TC_EQUAL_IN_INSN): Delete.
+ * read.c (read_a_source_file): Remove TC_EQUAL_IN_INSN test.
+ * doc/internals.texi (TC_EQUAL_IN_INSN): Delete.
+
+2005-02-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (macro_build_ldst_constoffset): Fail on $at
+ uses after .set noat.
+ (load_address): Likewise.
+ (macro): Likewise. Don't try to avoid $at use by sacrificing
+ the target register before it is stored, it won't work.
+
+2005-02-17 James E Wilson <wilson@specifixinc.com>
+
+ * config/tc-ia64.c (emit_one_bundle): Stop filling a bundle if we
+ see an instruction that specifies a template.
+
+2005-02-18 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-openrisc.c (openrisc_relax_frag): Delete unused function.
+ * config/tc-sparc.c (sparc_ip): Make op_exp static to silence warnings.
+ * config/tc-tic80.c (build_insn): Init insn[1] to silence warning.
+
+2005-02-17 H.J. Lu <hongjiu.lu@intel.com>
+
+ * NEWS: Mention "-mhint.b=[ok|warning|error]".
+
+ * config/tc-ia64.c (md): Add hint_b.
+ (emit_one_bundle): Handle md.hint_b for "hint".
+ (md_parse_option): Accepted "-mhint.b=[ok|warning|error]".
+ (md_show_usage): Add "-mhint.b=[ok|warning|error]".
+ (ia64_init): Set md.hint_b to error.
+ (md_assemble): Handle md.hint_b for "hint.b".
+
+ * doc/as.texinfo: Add "-mhint.b=[ok|warning|error]".
+ * doc/c-ia64.texi: Likewise.
+
+2005-02-17 Alan Modra <amodra@bigpond.net.au>
+
+ * tc.h (struct relax_type, relax_typeS): Move from here..
+ * as.h: ..to here. Make rlx_forward and rlx_backward an offsetT.
+ * ecoff.c (ecoff_new_file): Add appfile param.
+ * ecoff.h (ecoff_new_file): Likewise.
+ * itbl-lex.h: New file.
+ * itbl-lex.l: Include itbl-lex.h.
+ * itbl-parse.y: Likewise.
+ (insntbl_line, yyparse, yylex): Move to itbl-lex.h.
+ * read.c (s_app_file_string): Mark appfile possibly unused.
+ * subsegs.c (seg_not_empty_p): Make sec possibly unused.
+ * subsegs.h (struct seg_info_trash): Delete.
+ (seg_info): Use segment_info_type instead.
+ * config/obj-coff.c (struct filename_list): Make filename const char *.
+ * config/obj-ecoff.h (obj_app_file): Pass app to ecoff_new_file.
+ * config/obj-elf.c (elf_file_symbol): Similarly.
+ * config/tc-a29k.c (md_apply_fix3): Make val a valueT. Don't use
+ signed right shift.
+ * config/tc-arc.c (md_operand): Warning fix.
+ * config/tc-arm.c (arm_parse_reloc): Only define when OBJ_ELF.
+ (md_begin): Rearrange #if defined OBJ_COFF || defined OBJ_ELF.
+ * config/tc-cris.h (TC_IMPLICIT_LCOMM_ALIGNMENT): Use do while.
+ * config/tc-frv.c (frv_force_relocation): Warning fix.
+ * config/tc-m68k.c (md_parse_option): Delete unused var.
+ * config/tc-mcore.c (mylog2): Rename from log2 throughout.
+ * config/tc-sparc.c: Likewise.
+ (s_common): Warning fix.
+ * config/tc-mips.c (append_insn): Use unsigned long long expressions.
+ * config/tc-mmix.c (PUSHJSTUB_MAX, PUSHJSTUB_MIN): Define from
+ addressT.
+ * config/tc-s390.c (s390_insn): Delete test of unsigned >= 0.
+ * config/tc-sh.c (sh_cfi_frame_initial_instructions,
+ sh_regname_to_dw2regnum): Only define for OBJ_ELF.
+ * config/tc-tic4x.c (tic4x_insert_reg): Use ISLOWER.
+ (tic4x_do_align): Use TIC_NOP_OPCODE.
+ * config/tc-tic4x.h (TIC_NOP_OPCODE): Rename from NOP_OPCODE.
+ * config/tc-vax.c: Include netinet/in.h.
+ (tc_headers_hook): Formatting.
+ * config/tc-xstormy16.c (md_pcrel_from_section): Correct parens.
+
+2005-02-17 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (ia64_parse_name): Don't advance 'name' when
+ parsing inN, locN, outN. Set 'idx' to offset register number starts
+ at. Don't handle numbers with leading zeroes or beyond 95. Remove
+ pointless cast.
+
+2005-02-16 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * config/tc-mips.c (load_address): Fix formatting.
+ (macro): Don't use AT if .set noat is in effect. Fix formatting.
+ Catch macros which are unexpandable without AT. Remove duplicate
+ zeroing of used_at.
+ (macro2): Remove duplicate zeroing of used_at.
+
+2005-02-16 Alan Modra <amodra@bigpond.net.au>
+
+ * dw2gencfi.c (output_cie, output_fde): Use DW_CFA_nop rather
+ than zero.
+
+2005-02-15 Nigel Stephens <nigel@mips.com>
+ Maciej W. Rozycki <macro@mips.com>
+
+ * config/tc-mips.c (reloc_needs_lo_p): Handle
+ BFD_RELOC_MIPS16_HI16_S.
+ (fixup_has_matching_lo_p): Handle BFD_RELOC_MIPS16_LO16.
+ (append_insn): Add BFD_RELOC_MIPS16_GPREL, BFD_RELOC_MIPS16_HI16_S
+ and BFD_RELOC_MIPS16_LO16 to relocs to suppress overflow
+ complaints on.
+ (mips16_ip): Resolve BFD_RELOC_MIPS16_HI16_S,
+ BFD_RELOC_MIPS16_HI16 and BFD_RELOC_MIPS16_LO16 for constants.
+ Call my_getSmallExpression() to parse percent operators.
+ (percent_op_match, mips_percent_op): Separate definitions.
+ (mips16_percent_op): Define percent operators for the MIPS16 mode.
+ (parse_relocation): Handle the MIPS16 mode using
+ mips16_percent_op.
+ (md_apply_fix3): Handle BFD_RELOC_MIPS16_HI16,
+ BFD_RELOC_MIPS16_HI16_S and BFD_RELOC_MIPS16_LO16.
+
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (md_apply_fix3): Call ia64_gen_real_reloc_type
+ instead of explicitly dealing with the translation; exclude
+ relocations that are already pcrel, however.
+
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c: Include limits.h (if available).
+ (gr_values[0]): Set path to INT_MAX.
+ (dot_reg_val): Don't allow changing value of r0. Limit range of
+ general registers at r127.
+ (specify_resource): Default resource index is -1. Don't set resource
+ index (in case IA64_RS_RSE) without setting the specific flag.
+ (note_register_values): Check operand is O_constant before tracking
+ input value of moves. Add tracking for dep.z with constant inputs.
+ (print_dependency): Resource index of specific resource may be zero.
+ (check_dependencies): Likewise.
+
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (parse_operands): New local variables reg1, reg2,
+ reg_class. Check operands and emit diagnostics for illegal use of
+ registers.
+
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (ia64_gen_real_reloc_type): Define and initialize
+ new variables type, suffix, and width. Handle
+ BFD_RELOC_IA64_DIR(32|64)[LM]SB in FUNC_LT_FPTR_RELATIVE case.
+ Handle BFD_RELOC_IA64_DIR64[LM]SB in FUNC_TP_RELATIVE case. Add
+ FUNC_DTP_MODULE case. Handle BFD_RELOC_IA64_DIR32[LM]SB in
+ FUNC_DTP_RELATIVE case. Return incoming relocation type if
+ BFD_RELOC_IA64_IPLT[LM]SB in FUNC_IPLT_RELOC case. Generate warning
+ if unable to translate relocation type, using the new variables.
+
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.h (ia64_symbol_chars): Declare.
+ (ty_symbol_chars): Define.
+ * config/tc-ia64.c (ia64_symbol_chars): Define.
+
+2005-02-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (ia64_parse_name): Only update next character if
+ input_line_pointer was advanced.
+
2005-02-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* config/tc-sh.c (md_apply_fix3): Add parentheses around &
2005-02-11 H.J. Lu <hongjiu.lu@intel.com>
- (dot_xdata): Undo the last change. Section name is used by
- set_section.
+ * config/tc-ia64.c (dot_xdata): Undo the last change.
(dot_float_cons): Likewise.
(dot_xstringer): Likewise.
(dot_xdata_ua): Likewise.
2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
* config/tc-maxq.c (md_estimate_size_before_relax): Correct the
- relative jump calculation.
+ relative jump calculation.
<md_convert_frag) : Likewise.
<output_disp): Likewise.
2005-01-14 H.J. Lu <hongjiu.lu@intel.com>
- PR 659
+ PR 659
* config/tc-i386.c (i386_scale): Disallow 0 scale.
2005-01-12 Nick Clifton <nickc@redhat.com>
* configure, Makefile.in: Rebuild.
2004-12-22 Klaus Rudolph <lts-rudolph@gmx.de>
-
+
* config/tc-avr.c: Add support for the new R_AVR_LDI, R_AVR_6 and
R_AVR_6_ADIW relocs for the LDI, ADIW/SBIW and LDD/STD
instructions.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
- * doc/Makefile.in: Regenerated.
+ * doc/Makefile.in: Regenerated.
2004-12-02 Bob Wilson <bob.wilson@acm.org>
(set_section, add_unwind_adjustsp, flush_pending_unwind,
finish_unwind_opcodes, start_unwind_section, create_unwind_entry,
require_hashconst, add_unwind_opcode): New functions.
- * doc/tc-arm.text: Document unwinding opcodes.
+ * doc/c-arm.texi: Document unwinding opcodes.
* NEWS: Mention the new feature.
2004-10-04 Eric Christopher <echristo@redhat.com>
(md_begin): Set flags for EABI v3.
(arm_eabis): Add.
(arm_long_opts): Add meabi.
- * doc/as.texinf <ARM>: Document -meabi.
+ * doc/as.texinfo <ARM>: Document -meabi.
* doc/c-arm.texi: Ditto.
2004-03-22 Bob Wilson <bob.wilson@acm.org>