+2005-02-11 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
+ (LEX_QM): Likewise.
+ (ia64_parse_name): New third parameter.
+ (md_parse_name): Pass third argument.
+ * config/tc-ia64.c (pseudo_func): Placeholders use NULL as name.
+ (md_operand): Handling of '@'-prefixed symbols moved from here...
+ (ia64_parse_name): ...to here.
+
+2005-02-11 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (md): Remove last_groups and group_idx.
+ (errata_nop_necessary_p): Remove declaraction and definition.
+ (emit_one_bundle): Don't call errata_nop_necessary_p. Don't
+ update md.group_idx. Don't reset md.last_groups.
+
+2005-02-11 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (parse_section_name): Handle non-quoted first
+ argument.
+ (dot_xdata): Free section name after use.
+ (dot_float_cons): Likewise.
+ (dot_xstringer): Likewise.
+ (dot_xdata_ua): Likewise.
+ (dot_float_cons_ua): Likewise.
+ (md_pseudo_table): Add xdata16 and xdata16.ua.
+
+2005-02-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * doc/all.texi: Add IA64.
+ * doc/as.texinfo: Likewise.
+
+ * doc/c-ia64.texi: Fix typos.
+
+2005-02-10 Julian Brown <julian@codesourcery.com>
+
+ * config/tc-arm.c (do_t_ldmstm): Change BFD_RELOC_NONE to
+ BFD_RELOC_UNUSED.
+ (do_t_push_pop): Likewise.
+ (md_assemble): Likewise.
+ (md_apply_fix3): Handle BFD_RELOC_NONE correctly, make
+ BFD_RELOC_UNUSED same as previous meaning of BFD_RELOC_NONE.
+ (create_unwind_entry): Output dependency on the required personality
+ routines.
+ testsuite/gas/arm/unwind.d: Alter expected output to include
+ dependency on __aeabi_unwind_cpp_pr[01].
+
+2005-02-07 Nathan Sidwell <nathan@codesourcery.com>
+
+ * as.h (seg_not_empty_p): Return int, not bfd_boolean.
+ * subsegs.c (seg_not_empty_p): Likewise.
+
+2005-02-07 Inderpreet Singh <inderpreetb@noida.hcltech.com>
+
+ * config/tc-maxq.c (md_estimate_size_before_relax): Correct the
+ relative jump calculation.
+ <md_convert_frag) : Likewise.
+ <output_disp): Likewise.
+
+2005-02-07 Hans-Peter Nilsson <hp@axis.com>
+
+ * write.c (write_object_file): Recognize warning-symbol construct
+ and skip object- and target- handling for the second symbol.
+
+2005-02-02 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (dot_pred_rel): Update comment. Handle @-prefixed
+ designators along with quoted ones. Free copy of quoted designator
+ when done.
+
+2005-02-01 Ben Elliston <bje@au.ibm.com>
+
+ * config/atof-ieee.c, config/obj-coff.c, config/obj-elf.c,
+ config/obj-ieee.c, config/obj-som.c, config/obj-vms.c,
+ config/tc-a29k.c, config/tc-alpha.c, config/tc-arc.c,
+ config/tc-arm.c, config/tc-d30v.c, config/tc-dlx.c,
+ config/tc-fr30.c, config/tc-h8300.c, config/tc-h8500.c,
+ config/tc-i370.c, config/tc-i386.c, config/tc-i960.c,
+ config/tc-ia64.c, config/tc-m32r.c, config/tc-m32r.h,
+ config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-mips.c,
+ config/tc-mn10200.c, config/tc-msp430.c, config/tc-ns32k.c,
+ config/tc-openrisc.c, config/tc-or32.c, config/tc-pdp11.c,
+ config/tc-pj.c, config/tc-sparc.h, config/tc-tic54x.c,
+ config/tc-tic80.c, config/tc-v850.c, config/tc-w65.c,
+ config/tc-xtensa.c, config/tc-z8k.c, config/xtensa-relax.c: Remove
+ #if 0'd code throughout.
+
+2005-01-31 Nick Clifton <nickc@redhat.com>
+
+ * as.c (parse_args): Bump copyright date reported by --version to
+ 2005.
+
+2005-01-31 Nick Clifton <nickc@redhat.com>
+
+ * configure.tgt: Remove obsolete targets m68k-lynxos, sparc-lynxos
+ and vax-vms.
+
+2005-01-31 Jan Beulich <jbeulich@novell.com>
+
+ * macro.c (buffer_and_nest): Allow 'from' being NULL; handle anything
+ that can end with .endr in that case. Make requiring/permitting
+ pseudo-ops without leading dot closer to the logic in read.c serving
+ the same purpose.
+ (expand_irp): Don't pass a mnemonic to buffer_and_nest as it will be
+ ignored.
+
+2005-01-31 Jan Beulich <jbeulich@novell.com>
+
+ * macro.c (do_formals): Adjust to no longer accept empty parameter
+ names.
+ (define_macro): Adjust to no longer accept empty macro name, garbage
+ following the parameters, or macros that were previously defined.
+ * read.c (s_bad_end): Declare.
+ (potable): Add endm. Handler for endr and endm is s_bad_end.
+ (s_bad_end): Rename from s_bad_endr. Adjust to handle both .endm
+ and .endr.
+ * read.h (s_bad_endr): Remove.
+
+2005-01-31 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (parse_operands): Parse all specified operands,
+ immediately discarding (but counting) those exceeding the maximum
+ possible amount. Track whether output and input operand counts ever
+ matched, and use this to better indicate which of the operands/
+ operand types was wrong; specifically don't default to pointing to
+ the first operand.
+
+2005-01-31 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (unwind): Remove proc_end (now an automatic
+ variable in dot_endp). Add body and insn. Make prologue,
+ prologue_mask, body, and insn bitfields.
+ (fixup_unw_records): Remove spurious new-lines from end of diagnostic
+ messages.
+ (in_procedure, in_prologue, in_body): New.
+ (dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
+ dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
+ dot_unwentry, dot_altrp, dot_savemem, dot_saveg, dot_savef, dot_saveb,
+ dot_savegf, dot_spill, dot_spillreg, dot_spillmem, dot_spillreg_p,
+ dot_spillmem_p, dot_label_state, dot_copy_state, dot_unwabi,
+ dot_personality): Use the appropriate one of the above.
+ (dot_proc): Clear unwind.proc_start; set to current location only if
+ none of the entry points were valid. Check for non-zero-length entry
+ point names. Check that entry points aren't defined, yet. Clear
+ unwind.prologue, unwind.body, and unwind.insn.
+ (dot_body): Call in_procedure. Check that first directive in procedure
+ had no insns emitted before. Set unwind.body.
+ (dot_prologue): Call in_procedure. Check that not already in prologue.
+ Check that first directive in procedure had no insns emitted before.
+ Clear unwind.body.
+ (dot_endp): Call in_procedure. Declare proc_end. Check for non-zero-
+ length entry point names. Check that entry points became defined.
+ (md_assemble): Set unwind.insn once unwind.proc_start is defined.
+
+2005-01-31 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (emit_one_bundle): Snapshot manual bundling state
+ before actually using it. Don't generate an error in manual bundling
+ mode when looking at an insn requiring slot 2 but not yet at slot 2.
+ Don't generate an error in manual bundling mode when looking at an
+ insn required to be last in its group but the required slot hasn't
+ been reached, yet. Allow conversion from MII to MI;I for bundle
+ consisting of only 2 insns with the stop between them. Suppress
+ various meaningless errors resulting from detecting earlier ones.
+
+2005-01-31 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (parse_operands): Also handle alloc without first
+ input being ar.pfs.
+
+2005-01-28 Christian Groessler <chris@groessler.org>
+
+ * config/tc-z8k.c (md_assemble): Improve error detection.
+
+2005-01-28 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (ia64_estimate_size_before_relax): Allocate space
+ for personality routine pointer only if there is one.
+ (ia64_convert_frag): Likewise.
+ (generate_unwind_image): Likewise.
+
+2005-01-27 Christian Groessler <chris@groessler.org>
+
+ * config/tc-z8k.c (INSERT): Remove, not used anywhere.
+ (md_apply_fix3): Make relative branches out of range an error
+ instead of a warning. Display correct line number for out of
+ range branches/calls/memory accesses.
+
+2005-01-27 Nathan Sidwell <nathan@codesourcery.com>
+
+ * dwarf2dbg.c (dwarf2_finish): Correct logic for determining when
+ to emit .debug_line and other debug sections.
+ * as.h (seg_not_empty_p): Declare.
+ * subsegs.c (seg_not_empty_p): New predicate.
+
+2005-01-27 Andrew Cagney <cagney@gnu.org>
+
+ * configure: Regenerate to track ../gettext.m4 change.
+
+2005-01-27 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (emit_one_bundle): Change "?imbf??" to "?ibmfxx".
+
+2005-01-27 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (emit_one_bundle): Add late resolution of move
+ to/from application registers dynamic insns.
+ (md_assemble): Defer resolution of move to/from application registers
+ dynamic insns when they can be issued on either the I- or M-units.
+
+2005-01-25 Alexandre Oliva <aoliva@redhat.com>
+
+ * config/tc-frv.c (md_apply_fix3): Mark TLS symbols as such.
+ 2004-12-10 Alexandre Oliva <aoliva@redhat.com>
+ * config/tc-frv.c (frv_pic_ptr): Add tlsmoff support.
+ 2004-11-10 Alexandre Oliva <aoliva@redhat.com>
+ * cgen.c (gas_cgen_parse_operand): Handle
+ CGEN_PARSE_OPERAND_SYMBOLIC.
+ * config/tc-frv.c (md_cgen_lookup_reloc): Handle TLS relocations.
+ (frv_force_relocation): Likewise. Fix handling of PIC
+ relocations.
+ (md_apply_fix3): Likewise.
+
+2005-01-21 Ben Elliston <bje@au.ibm.com>
+
+ * as.h: Remove #if 0'd code.
+ * atof-generic.c (atof_generic): Likewise.
+ * ecoff.c (ecoff_directive_frame): Likewise.
+ * frags.h (FRAG_APPEND_1_CHAR): Likewise.
+ * itbl-ops.c (itbl_add_reg): Likewise.
+ * listing.c (calc_hex): Likewise.
+ * read.c (MASK_CHAR): Likewise.
+ * subsegs.c (subsegs_print_statistics): Likewise.
+ * symbols.c (indent): Likewise.
+ * write.c (write_relocs): Likewise.
+ (write_object_file): Likewise.
+ (relax_frag): Likewise.
+
+2005-01-20 Nick Clifton <nickc@redhat.com>
+
+ * as.c (std_longopts): Add an entry for "--a" in order to prevent
+ getopt_long_only() from considering -a as an abbreviation for
+ --alternate.
+ (parse_args): Fix the parsing of -a=<file>.
+
+2005-01-20 Alan Modra <amodra@bigpond.net.au>
+
+ PR gas/684
+ * read.c (s_incbin): Adjust default count for skip. Check validity
+ of count and skip rigorously.
+
+2005-01-19 Fred Fish <fnf@specifixinc.com>
+
+ * config/tc-mips.c (dummy_opcode): Add init for new struct member.
+
+2005-01-19 Richard Sandiford <rsandifo@redhat.com>
+
+ * read.c (convert_to_bignum): New function, split out from...
+ (emit_expr): ...here. Handle the case where X_add_number is
+ positive and the input value is negative.
+ (output_big_sleb128): Fix setting of continuation bit. Check whether
+ the final byte needs to be sign-extended. Fix size-shrinking loop.
+ (emit_leb128_expr): When generating a signed leb128, see whether the
+ sign of an O_constant's X_add_number matches the sign of the input
+ value. Use a bignum if not.
+
+2005-01-17 Andrew Stubbs <andrew.stubbs@st.com>
+
+ * tc-sh.c (md_begin,md_parse_option): Change arch_sh1_up to
+ arch_sh_up in order to match the external name and make the
+ testsuite's job easier.
+
+2005-01-14 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR 659
+ * config/tc-i386.c (i386_scale): Disallow 0 scale.
+
+2005-01-12 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-iq2000.c (s_iq2000_set): Fix thinko parsing
+ ignored_arguments array.
+
+2005-01-10 H.J. Lu <hongjiu.lu@intel.com>
+
+ * write.c (write_object_file): Disallow a symbol equated to
+ common symbol.
+
+2005-01-10 Inderpreet Singh <inderpreetb@noida.hcltech.com>
+
+ * tc-maxq.c: Replace constants 10 and 20 with bfd_mach_maxq10 and
+ bfd_mach_maxq20.
+ (md_pseudo_table): Add new pseudo ops for maxq10 and maxq20.
+ (maxq_target): New function: Set the machine type.
+
+2005-01-06 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (FPU_DEFAULT): Define for TE_VXWORKS.
+ (md_begin): Handle TE_VXWORKS for FP defaults.
+ (md_apply_fix3): Correct rela offsets.
+ (elf32_arm_target_format): Add VxWorks targets.
+
+2005-01-06 Paul Brook <paul@codesourcery.com>
+
+ * configure.tgt: Set em=vxworks for *-*-vxworks.
+ * config/te-vxworks.h: New File.
+
+2005-01-06 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (arm_cpus): Correct arch field for arm1026ej-s.
+
+2005-01-04 Dmitry Diky <diwil@spec.ru>
+
+ * config/tc-msp430.c (md_apply_fix3): Fix offset calculation for
+ global label.
+
+2005-01-03 David Mosberger <davidm@hpl.hp.com>
+
+ * config/tc-ia64.c (md): Add member "loc_directive_seen".
+ (dot_loc): New function.
+ (md_pseudo_table): Add entry to map .loc to dot_loc().
+ (emit_one_bundle): Only call dwarf2_gen_line_info() if we have
+ seen a .loc directive or we're generating DWARF2 debug info for
+ assembly source.
+
+2004-12-29 Alan Modra <amodra@bigpond.net.au>
+
+ PR gas/619
+ * read.c (s_comm_internal): Don't zero end of name until size
+ expression has been parsed.
+
+2004-12-25 Marek Michalkiewicz <marekm@amelek.gda.pl>
+
+ * config/tc-avr.c (mcu_types): Move attiny{13,2313} from avr4 to avr2.
+
+2004-12-23 Tomer Levi <Tomer.Levi@nsc.com>
+
+ * config/tc-crx.c: Support 'bcop' relaxation (dealt as in 'cmp&branch'
+ case).
+
+2004-12-22 Ian Lance Taylor <ian@airs.com>
+
+ * configure.tgt: New.
+ * configure.in: Move setting of cpu_type, fmt, etc., to
+ configure.tgt.
+ * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add
+ $(srcdir)/configure.tgt.
+ * 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.
+ (avr_offset_expression): New function to parse offsets for LDI
+ instructions.
+ (avr_operand): Use it.
+ (md_apply_fix3): Generate the relocs.
+
+2004-12-16 Andrew Stubbs <andrew.stubbs@st.com>
+
+ * config/tc-sh64.c (shmedia_md_apply_fix3): Add missing
+ BFD_RELOC_SH_IMMS10BY8 relocation.
+
+ * config/tc-sh64.c (shmedia_build_Mytes): Emit an error message rather
+ than just ignoring bad code.
+
+2004-12-16 Richard Sandiford <rsandifo@redhat.com>
+
+ * config/tc-v850.c (handle_lo16): New function.
+ (v850_reloc_prefix): Use it to check lo().
+ (md_assemble, md_apply_fix3): Handle BFD_RELOC_V850_LO16_SPLIT_OFFSET.
+
+2004-12-14 P.J. Darcy <darcypj@us.ibm.com>
+
+ * configure.in: Add s390x-ibm-tpf support.
+ * configure: Regenerate.
+
+2004-12-15 Jan Beulich <jbeulich@novell.com>
+
+ * config/obj-elf.c (obj_elf_change_section): Only set type and
+ attributes on new sections. Emit warning when type of re-declared
+ section doesn't match.
+
+2004-12-15 Jan Beulich <jbeulich@novell.com>
+
+ * dw2gencfi.c (dot.cfi.startproc): Clear cur_cfa_offset so
+ '.cfi_startproc simple' doesn't inherit the old value.
+
+2004-12-15 Jan Beulich <jbeulich@novell.com>
+
+ * dw2gencfi.c (output_cfi_insn): Adjust DW_CFA_def_cfa_sf generation
+ to emit a signed and factored offset. Adjust DW_CFA_def_cfa_offset_sf
+ generation to emit a factored offset.
+
+2004-12-10 Ian Lance Taylor <ian@wasabisystems.com>
+
+ * config/tc-mips.c (macro) [M_LA_AB]: Give an error for a offset
+ which is too large in the case of NO_PIC without 64-bit
+ addresses.
+
+ * config/tc-mips.c (mips_in_shared): New static variable.
+ (macro_build_lui): Permit "_gp" if !mips_in_shared.
+ (md_longopts): Add -mshared and -mno-shared.
+ (md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED.
+ (s_cpload): Implement !mips_in_shared case.
+ (s_cpsetup): Likewise.
+ * doc/c-mips.texi (MIPS Opts): Document -mno-shared.
+ * NEWS: Mention -mno-shared.
+
+2004-12-09 Paul Brook <paul@codesourcery.com>
+
+ * config/tc-arm.c (s_arm_unwind_fnend): Use R_ARM_PREL31 relocation
+ for function start.
+
+2004-12-09 Ian Lance Taylor <ian@wasabisystems.com>
+
+ * config/tc-mips.c (append_insn): If we emit a nop during a relax
+ sequence, increase the size of the sequence.
+
+ * config/tc-mips.c (mips_cpu_info_table): Change "9000" entry to
+ use CPU_RM9000.
+
+2004-12-07 Ben Elliston <bje@gnu.org>
+
+ * read.c (s_align): Use an align_limit temporary to allay a GCC
+ signed/unsigned comparison warning.
+
+2004-12-01 Mark Mitchell <mark@codesourcery.com>
+
+ * Makefile.am (TARG_ENV_HFILES): Add te-armlinuxeabi.h.
+ * configure.in: Use it for arm*-*-linux-gnueabi*.
+ * config/tc-arm.c: Allow emulation file to set FPU_DEFAULT.
+ * config/te-armlinuxeabi.h: New file.
+ * Makefile.in: Regenerated.
+ * aclocal.m4: Likewise.
+ * configure: Likewise.
+ * doc/Makefile.in: Regenerated.
+
+2004-12-02 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xtensa_switch_section_emit_state): Use subseg_set.
+ (xtensa_restore_emit_state): Likewise.
+
+2004-12-02 Alan Modra <amodra@bigpond.net.au>
+
+ * read.c (ALIGN_LIMIT): Define, increasing limit for BFD_ASSEMBLER.
+ (s_align): Use it.
+
+2004-11-30 Tero Niemela <tero_niemela@yahoo.com>
+
+ * Makefile.am: Change LOCALEDIR to $(datadir)/share.
+ * Makefile.in: Regenerate.
+
+2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
+
+ * config/tc-crx.c: Major code cleanup. Remove unused variables and
+ functions, give functions a meaningful name, add comments.
+ (check_range): New function - Replace operand size calculation
+ with range checking.
+ (assemble_insn): Update Algorithm, improve error issuing.
+ (enum op_err): New.
+ (process_label_constant): Bug fix regarding COP_BRANCH_INS relocation
+ handling.
+
+2004-11-29 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+ * config/tc-m32r.c (md_pcrel_from_section): Fixed a pcrel relocte
+ miss between different section in the same module.
+ (tc_gen_reloc): Likewise.
+
+2004-11-25 Theodore A. Roth <troth@openavr.org>
+
+ * gas/config/tc-avr.c (mcu_types): Add support for atmega165,
+ atmega325, atmega3250, atmega645 and atmega6450.
+
+2004-11-25 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (optimize_imm): Adjust immediates to only those
+ permissible for the selected instruction suffix.
+ (process_suffix): For DefaultSize instructions, suppressing the
+ guessing of a 'q' suffix if the instruction doesn't support it is
+ pointless, because only an 'l' suffix can be guessed in this place.
+
+2004-11-24 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-iq2000.c: Remove support for IQ10 processor.
+ Convert to ISO C90 formatting.
+ * config/tc-iq2000.h: Likewise.
+
+2004-11-23 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-mn10300.c (md_relax_table): More fixes to the offsets
+ in this table. They should be correct now.
+
+2004-11-23 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to
+ indicate the MMX extensions added by both SSE and 3DNow!A.
+ (Cpu3dnowA): Declare.
+ (CpuUnknownFlags): Update.
+ * config/tc-i386.c (cpu_sub_arch_name): Declare.
+ (cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do
+ neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies
+ 3DNow!. Athlon additionally implies 3DNow!A. Several new
+ entries (those starting with a dot are for sub-arch specification).
+ (set_cpu_arch): Handle sub-arch specifications.
+ (parse_insn): Distinguish between instructions not supported because
+ of insufficient CPU features and because of 64-bit mode.
+ * doc/c-i386.texi: Describe enhanced .arch directive.
+
+2004-11-22 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.
+
+2004-11-22 Bob Wilson <bob.wilson@acm.org>
+
+ * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section
+ without a corresponding .debug_info section.
+
+2004-11-22 Hans-Peter Nilsson <hp@axis.com>
+
+ * read.c (potable): Add "error" and "warning".
+ (s_errwarn): New function.
+ * read.h (s_errwarn): Declare.
+ * doc/as.texinfo (Error, Warning): Document .error and .warning.
+
+2004-11-22 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-tic54x.c (tic54x_adjust_symtab): Adjust call to
+ c_dot_file_symbol.
+
+2004-11-19 Alan Modra <amodra@bigpond.net.au>
+
+ * config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes,
+ struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h.
+
+2004-11-19 Alan Modra <amodra@bigpond.net.au>
+
+ * config/obj-coff.c (c_dot_file_symbol): Add "app" param.
+ (coff_adjust_symtab): Adjust call.
+ (crawl_symbols): Likewise.
+ * config/obj-coff.h (c_dot_file_symbol): Add "app" param.
+ (obj_app_file): Adjust.
+
+2004-11-18 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
+
+ * configure.in: Enable bfd_assember for the MAXQ port.
+ * configure: Regenerate.
+
+2004-11-12 Bob Wilson <bob.wilson@acm.org>
+ Sterling Augustine <sterling@tensilica.com>
+
+ * config/tc-xtensa.c (finish_vinsn): Clear pending instruction if
+ there is a conflict.
+ (check_t1_t2_reads_and_writes): Check for both reads and writes to
+ interfaces that are related as determined by xtensa_interface_class_id.
+
+2004-11-12 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-mn10300.c (md_relax_table): Fix off by one negative
+ offsets for conditional branches.
+
+2004-11-11 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (MAX_IMMED6): Change value to 65.
+
+2004-11-10 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c (update_next_frag_state): Always add a NOP if
+ relaxing at the end of a loop. Don't mark frags as UNREACHABLE or
+ MAYBE_UNREACHABLE.
+ (relax_frag_immed): Update call to update_next_frag_state.
+
+2004-11-10 Alan Modra <amodra@bigpond.net.au>
+
+ * obj.h (struct format_ops <app_file>): Add int param.
+ * read.h (s_app_file_string): Likewise.
+ * read.c (s_app_file_string): Likewise.
+ (s_app_file): Adjust s_app_file_string call.
+ * config/tc-mips.c (s_mips_file): Likewise.
+ * config/obj-coff.h (obj_app_file): Add app param.
+ * config/obj-ecoff.h (obj_app_file): Likewise.
+ * config/obj-multi.h (obj_app_file): Likewise.
+ * config/obj-elf.h (elf_file_symbol): Likewise.
+ * config/obj-elf.c (elf_file_symbol): Only emit one file symbol
+ if called for # preprocessor lines.
+
+2004-11-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR 528
+ * symbols.c (resolve_symbol_value): Convert weak symbols only
+ for Windows PECOFF.
+ (symbol_equated_reloc_p): Don't equate weaks when relocating
+ only for Windows PECOFF.
+
+2004-11-08 Tomer Levi <Tomer.Levi@nsc.com>
+
+ * config/tc-crx.c (print_insn): Check and set insn_addr.
+ * config/tc-crx.h (md_frag_check): Define.
+
+2004-11-08 Inderpreet Singh <inderpreetb@nioda.hcltech.com>
+ Vineet Sharma <vineets@noida.hcltech.com>
+
+ * configure.in: Add support for new target maxq-coff.
+ * configure: Regenerate.
+ * NEWS: Mention new support.
+ * config/tc-maxq.c: New file.
+ * config/tc-maxq.h: New file.
+ * config/obj-coff.h: Add support for maxq-coff.
+
+2004-11-08 Aaron W. LaFramboise <aaron98wiridge9@aaronwl.com>
+
+ * symbols.c (any_external_name): Define.
+ (resolve_symbol_value): Convert weak symbols.
+ (S_SET_EXTERNAL): Support any_external_name.
+ (S_SET_NAME): Qualify parameter const.
+ (symbol_equated_reloc_p): Equate to weaks when relocating.
+ * symbols.h (S_SET_NAME): Qualfiy parameter const.
+ * tc.h (any_external_name): Declare.
+ * config/obj-coff.c ("coff/pe.h"): Include for BFD
+ assemblers also.
+ (weak_is_altname): Declare and define.
+ (weak_name2altname): Same.
+ (weak_altname2name): Same.
+ (weak_uniquify): Same.
+ (weak_altprefix): Define.
+ (obj_coff_weak): Change .weak syntax and handling.
+ (coff_frob_symbol): Fix PE weak symbol alternates.
+ * config/obj-coff.h (USE_UNIQUE): Define.
+ * config/tc-i386.c (md_apply_fix3): Assume weak symbols
+ are in another segment.
+ (tc_gen_reloc): Remove broken addend hack.
+ doc/as.texinfo: Update.
+
+2004-11-05 Sterling Augustine <sterling@tensilica.com>
+
+ * config/tc-xtensa.c (total_frag_text_expansion): New.
+ (md_estimate_size_before_relax): Use it.
+ (find_address_of_next_align_frag): Likewise.
+
+2004-11-05 Tomer Levi <Tomer.Levi@nsc.com>
+
+ * config/tc-crx.c: Rename argument types.
+ (processing_arg_number): Rename to 'cur_arg_num'.
+ (get_number_of_bits): Rename to 'set_operand_size'.
+ (get_operandtype): Rename to 'parse_operand', totally rewrite.
+ (set_cons_rparams): Rename to 'set_operand', totally rewrite.
+ (set_indexmode_parameters): Remove function, integrate its code into
+ 'set_operand'.
+ (set_operand_size): Get rid of 'Operand Number' function parameter -
+ use global variable 'cur_arg_num' instead.
+ Use a local 'argument' pointer to reference the current argument.
+ (parse_operand): Likewise.
+ (set_operand): Likewise.
+ (process_label_constant): Likewise.
+
+2004-11-04 Bob Wilson <bob.wilson@acm.org>
+
+ * config/tc-xtensa.c: Remove XTENSA_SECTION_RENAME ifdefs.
+ (add_section_rename): Delete. Inlined into...
+ (build_section_rename): ...here. Use xstrdup instead of strdup.
+ (xtensa_section_rename): Drop "const" from argument and return types.
+ (md_show_usage): Indent to match show_usage().
+ * config/tc-xtensa.h: Remove XTENSA_SECTION_RENAME ifdefs.
+ (tc_canonicalize_section_name): Define.
+ (md_elf_section_rename): Remove unused macro.
+ * doc/as.texinfo (Overview): Document Xtensa --rename-section option.
+ * doc/c-xtensa.texi (Xtensa Options): Likewise.
+ (Frame Directive): Delete.
+
+2004-11-04 Daniel Jacobowitz <dan@debian.org>
+
+ * configure.in: Remove arm-*-oabi and thumb-*-oabi.
+ * config/tc-arm.c (target_oabi): Delete.
+ (md_apply_fix3, elf32_arm_target_format): Remove target_oabi checks.
+ (arm_opts): Remove moabi.
+ * doc/as.texinfo (Overview): Remove documentation of -moabi.
+ * doc/c-arm.texi (ARM Options): Likewise.
+ * configure: Regenerated.
+
+2004-11-04 Hans-Peter Nilsson <hp@axis.com>
+
+ * configure.in (crisv32): Recognize. AC_DEFINE_UNQUOTED
+ DEFAULT_CRIS_ARCH. Handle crisv32-*-linux-gnu* like
+ cris-*-linux-gnu* and crisv32-*-* like cris-*-*.
+ * configure: Regenerate.
+ * config/tc-cris.c (enum cris_archs): New.
+ (cris_mach, cris_arch_from_string, s_cris_arch, get_sup_reg)
+ (cris_insn_ver_valid_for_arch): New functions.
+ (DEFAULT_CRIS_ARCH): New macro, default to cris_any_v0_v10.
+ (cris_arch): New variable.
+ (md_pseudo_table): New pseudo .arch.
+ (err_for_dangerous_mul_placement): Initialize according to
+ DEFAULT_CRIS_ARCH.
+ (STATE_COND_BRANCH): Renamed from STATE_CONDITIONAL_BRANCH.
+ All users changed.
+ (STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON)
+ (STATE_ABS_BRANCH_V32, STATE_LAPC, BRANCH_BF_V32, BRANCH_BB_V32)
+ (BRANCH_WF_V32, BRANCH_WB_V32): New.
+ (BRANCH_BF, BRANCH_BB, BRANCH_WF, BRANCH_WB): Don't undef after
+ use in md_cris_relax_table.
+ (md_cris_relax_table): Add entries for STATE_COND_BRANCH_V32,
+ STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
+ Update and improve head comment.
+ (OPTION_PIC): Define in terms of previous option, OPTION_US.
+ (OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): Similar.
+ (OPTION_ARCH): New.
+ (md_longopts): New option --march=...
+ (cris_any_v0_v10_long_jump_size, crisv32_long_jump_size): New
+ macros.
+ (md_long_jump_size): Initialize in terms of DEFAULT_CRIS_ARCH.
+ (HANDLE_RELAXABLE): New macro.
+ (md_estimate_size_before_relax): Use HANDLE_RELAXABLE for common
+ cases. Check for weak symbols and assume not relaxable. Handle
+ STATE_COND_BRANCH_V32, STATE_COND_BRANCH_COMMON,
+ STATE_ABS_BRANCH_V32, STATE_LAPC. Use new variable symbolP, not
+ fragP->fr_symbol.
+ (md_convert_frag): Handle STATE_COND_BRANCH_V32,
+ STATE_COND_BRANCH_COMMON, STATE_ABS_BRANCH_V32, STATE_LAPC.
+ (cris_create_short_jump): Adjust for CRISv32.
+ (cris_relax_frag): Handle new states.
+ (md_create_long_jump): Ditto. Emit error for common_v10_v32.
+ (md_begin): Define symbols "..asm.arch.cris.v32",
+ "..asm.arch.cris.v10", "..asm.arch.cris.common_v10_v32" and
+ "..asm.arch.cris.any_v0_v10". Use cris_insn_ver_valid_for_arch
+ when entering opcode table entry points.
+ (md_assemble): Adjust branch handling for CRISv32. Handle LAPC
+ relaxation. In fix_new_exp call for main insn, pass 1 for pcrel
+ parameter for 8, 16 and 32-bit pc-relative insns and LAPC.
+ (cris_process_instruction): Initialize out_insnp->insn_type to
+ CRIS_INSN_NONE, not CRIS_INSN_NORMAL.
+ <case ']', '[', 'A', 'd', 'Q', 'N', 'n', 'Y', 'U', 'u', 'T'>: New
+ cases.
+ <case 'm'>: Check that modified_char == '.'.
+ <invalid operands>: Consume the rest of the line.
+ When operands don't match, skip over subsequent insns with
+ non-matching version specifier but same mnemonic.
+ <immediate constant, case SIZE_SPEC_REG>: Immediate operands for
+ special registers in CRISv32 are always 32 bit long.
+ <immediate constant, case SIZE_FIELD_SIGNED, SIZE_FIELD_UNSIGNED>:
+ New cases.
+ (get_gen_reg): Only recognize "PC" when followed by "+]" for v32
+ and compatible. Recognize "ACR" for v32, unless followed by "+".
+ (get_spec_reg): Consider cris_arch when looking up register.
+ (get_autoinc_prefix_or_indir_op): Don't recognize assignment for
+ v32 or compatible.
+ (get_3op_or_dip_prefix_op): Check for ']' after seeing '[rN+'.
+ (cris_get_expression): Restore input_line_pointer if failing "early".
+ (get_flags): Consider cris_arch and recognize flags accordingly.
+ (branch_disp): Adjust for CRISv32.
+ (gen_cond_branch_32): Similar. Emit error for common_v10_v32.
+ (cris_number_to_imm): Use as_bad_where, not as_bad. Remove
+ related FIXME. Don't insist on BFD_RELOC_32_PCREL fixup to be
+ resolved. Don't enter zeros in object file for
+ BFD_RELOC_32_PCREL.
+ <case BFD_RELOC_CRIS_LAPCQ_OFFSET, BFD_RELOC_CRIS_SIGNED_16>
+ <case BFD_RELOC_CRIS_SIGNED_8>: New case.
+ (md_parse_option): Break out "return 1".
+ <OPTION_ARCH> New case.
+ (tc_gen_reloc): <case BFD_RELOC_CRIS_LAPCQ_OFFSET>
+ <case BFD_RELOC_CRIS_SIGNED_16, BFD_RELOC_CRIS_SIGNED_8>
+ <case BFD_RELOC_CRIS_UNSIGNED_8, BFD_RELOC_CRIS_UNSIGNED_16>
+ <case BFD_RELOC_32_PCREL>: New cases.
+ Addends for non-zero fx_pcrel are too in fx_offset.
+ (md_show_usage): Show --march=<arch>.
+ (md_apply_fix3): Adjust val for BFD_RELOC_CRIS_LAPCQ_OFFSET.
+ (md_pcrel_from): BFD_RELOC_CRIS_LAPCQ_OFFSET is PC-relative too.
+ (s_syntax) <struct syntaxes>: Properly constify member operand.
+ * config/tc-cris.h (TARGET_MACH): Define.
+ (cris_mach): Declare.
+ * doc/as.texinfo (Overview) <CRIS>: Add --march=...
+ * doc/c-cris.texi (CRIS-Symbols): New node for built-in symbols.
+ (CRIS-Opts): Document --march=...
+ (CRIS-Pseudos): Document .arch.
+
+2004-11-04 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-i386.c (set_intel_syntax): Allow % in symbol names when
+ intel syntax and no register prefix, allow $ in symbol names when
+ intel syntax.
+ (set_16bit_gcc_code_flag): Replace literal 'l' by LONG_MNEM_SUFFIX.
+ (intel_float_operand): Add fourth return value indicating math control
+ operations. Make classification more precise.
+ (md_assemble): Complain if memory operand of mov[sz]x has no size
+ specified.
+ (parse_insn): Translate word operands to floating point instructions
+ operating on integers as well as control instructions to short ones
+ as expected by AT&T syntax. Translate 'd' suffix to short one only for
+ floating point instructions operating on non-integer operands.
+ (match_template): Remove fldcw special case. Adjust q-suffix handling
+ to permit it on fild/fistp/fisttp in AT&T mode.
+ (process_suffix): Don't guess DefaultSize insns' suffix from
+ stackop_size for certain floating point control instructions. Guess
+ suffix for branch and [ls][gi]dt based on flag_code. Split error
+ messages for Intel and AT&T syntax, and make the condition more strict
+ for the former. Adjust suppressing of generation of operand size
+ overrides.
+ (intel parser): Allow the full set of MASM operators. Add FWORD, TBYTE,
+ OWORD, and XMMWORD operand size specifiers (TBYTE replaces XWORD). Add
+ more error checking.
+ * config/tc-i386.h (BYTE_PTR WORD_PTR DWORD_PTR QWORD_PTR XWORD_PTR
+ SHORT OFFSET_FLAT FLAT NONE_FOUND): Remove unused defines.
+
+2004-11-03 Hans-Peter Nilsson <hp@axis.com>
+
+ * symbols.c (colon) [!WORKING_DOT_WORD]: Don't declare
+ md_short_jump_size, md_long_jump_size.
+ * write.c [!WORKING_DOT_WORD]: Ditto.
+ * tc.h [!WORKING_DOT_WORD]: Declare them here. Drop const
+ qualifier.
+ * config/tc-cris.h (md_short_jump_size, md_long_jump_size): Don't
+ declare.
+ * config/tc-cris.c (md_short_jump_size, md_long_jump_size): Drop
+ const qualifier in these definitions.
+ * config/tc-i370.c, config/tc-m68k.c, config/tc-pdp11.c,
+ config/tc-s390.c, config/tc-tahoe.c, config/tc-vax.c: Ditto.
+
+2004-11-02 Nick Clifton <nickc@redhat.com>
+
+ * dwarf2dbg.c (dwarf2_finish): Check for the existence of a file
+ table before deciding to produce a .debug_line section to match up
+ with a user provided .debug_info section.
+
+2004-10-28 Tomer Levi <Tomer.Levi@nsc.com>
+
+ * config/tc-crx.c (getreg_image): Bug fix, a return value was
+ mistakenly omitted from CRX_C_REGTYPE and CRX_CS_REGTYPE cases.
+
2004-10-27 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c: Remove global variable 'post_inc_mode'.
(get_flags): New function.
- (get_number_of_bits): Edit comments, update numeric values to supported
- sizes.
- (process_label_constant): Don't support the colon format (SYMBOL:[s|m|l]).
+ (get_number_of_bits): Edit comments, update numeric values to
+ supported sizes.
+ (process_label_constant): Don't support the colon
+ format (SYMBOL:[s|m|l]).
(set_cons_rparams): Support argument type 'arg_rbase'.
(get_operandtype): Bug fix in 'rbase' operand type parsing.
(handle_LoadStor): Bug fix, first handle post-increment mode.
- (getreg_image): Remove redundant code, update according to latest CRX spec.
+ (getreg_image): Remove redundant code, update according to latest
+ CRX spec.
(print_constant): Bug fix relate to 3-word instructions.
- (assemble_insn): Bug fix, when matching instructions, verify also
+ (assemble_insn): Bug fix, when matching instructions, verify also
instruction type (not only mnemonic).
Add various error checking.
(preprocess_reglist): Support HI/LO and user registers.
2004-10-25 David Mosberger-Tang <davidm@hpl.hp.com>
- * config/tc-ia64.c (fixup_unw_records): Don't let the "t" value
+ * config/tc-ia64.c (fixup_unw_records): Don't let the "t" value
in an epilogue directive go negative.
2004-10-25 H.J. Lu <hongjiu.lu@intel.com>
(lit4_state struct): Add lit4_seg_name and lit4_seg fields.
(XTENSA_PROP_*, GET_XTENSA_PROP_*, SET_XTENSA_PROP_*): Define.
(frag_flags struct): New.
- (xtensa_block_info struct): Move from tc-xtensa.h. Add flags field.
+ (xtensa_block_info struct): Move from tc-xtensa.h. Add flags field.
(subseg_map struct): Add cur_total_freq and cur_target_freq fields.
(bitfield, bit_is_set, set_bit, clear_bit): Define.
(MAX_FORMATS): Define.
(do_align_targets): New.
(get_directive): Accept dashes in directive names. Warn about
[no-]generics and [no-]relax directives and treat them as
- [no-]transform.
+ [no-]transform.
(xtensa_begin_directive): Call md_flush_pending_output only for some
directives. Check for directives inside instruction bundles. Warn
about deprecated ".begin literal" usage. Warn and ignore [no-]density
2004-10-07 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c (preprocess_reglist): Handle Co-processor
- Special registers.
+ Special registers.
(md_assemble): Add error checking for Co-Processor instructions.
(get_cinv_parameters): Add 'b' option to invalidate the
branch-target cache.
2004-09-20 Tomer Levi <Tomer.Levi@nsc.com>
- * config/tc-crx.c (handle_LoadStor): New function.
+ * config/tc-crx.c (handle_LoadStor): New function.
Handle load/stor unique instructions before parsing.
2004-09-17 Paul Brook <paul@codesourcery.com>
2004-07-06 Nick Clifton <nickc@redhat.com>
* config.in: Undefine TARGET_SYMBIAN by default.
- * configure.in:
- * configure: Regenerate. Add sh-symbian-elf target. If
- selected define TARGET_SYMBIAN.
- * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target
- format if TARGET_SYMBIAN has been defined.
+ * configure.in:
+ * configure: Regenerate. Add sh-symbian-elf target. If
+ selected define TARGET_SYMBIAN.
+ * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target
+ format if TARGET_SYMBIAN has been defined.
* output-file.c (output_file_create): Report the target format
chosen when bfd_openw reports that it is invalid.
2004-04-19 Eric Christopher <echristo@redhat.com>
- * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
- of previous patch for fix in gcc.
+ * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
+ of previous patch for fix in gcc.
2004-04-19 Jakub Jelinek <jakub@redhat.com>