* config/tc-mips.c (load_address): Fix formatting.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 36b50a8b554e1d5b7034e8666989c86d30c604ae..1f50fc2339da64b505fefb1e434f7c6e4ef0df54 100644 (file)
@@ -1,3 +1,354 @@
+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 &
+       within |.
+
+2005-02-13  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-ia64.c (md_parse_option): Handle -xnone and -xdebugn.
+       (md_show_usage): Add -xnone, -xdebugn, and -xdebugx. Relocate default
+       indicator.
+       (ia64_init): Set md.detect_dv.
+       (ia64_start_line): New static variable warned. Warn only once when
+       encountering explicit stops in automatic mode.
+       * doc/c-ia64.texi: Describe -xnone, -xdebugn, and -xdebugx.
+       * NEWS: Mention new default mode.
+
+2005-02-13  Jan Beulich  <jbeulich@novell.com>
+
+       * config/tc-ia64.c (dot_rot): Add comment that name strings should
+       be freed when wiping out previous state. Canonicalize names before
+       use. Free name string when detecting redefinition.
+       (dot_pred_rel): Call generic expression parser to process arguments.
+       Handle O_register case for individual predicates and O_subtract for
+       ranges.
+       (ia64_parse_name): Canonicalize name before looking it up in dynamic
+       register hash.
+       (ia64_canonicalize_symbol_name): Strip off all trailing # characters.
+       Warn if multiple found, issue error if resulting symbol name has zero
+       length.
+       (dot_alias): Canonicalize name before use.
+
+2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-ia64.c (unwind_diagnostic): Return -1 for warning
+       and 0 for error.
+       (in_procedure): Return -1 for warning.
+       (in_prologue): Likewise.
+       (in_body): Likewise.
+
+2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       (dot_xdata): Undo the last change. Section name is used by
+       set_section.
+       (dot_float_cons): Likewise.
+       (dot_xstringer): Likewise.
+       (dot_xdata_ua): Likewise.
+       (dot_float_cons_ua): Likewise.
+
+2005-02-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention "-munwind-check=[warning|error]".
+
+       * config/tc-ia64.c (md): Add unwind_check.
+       (unwind_diagnostic): New.
+       (in_procedure): Call unwind_diagnostic when a directive isn't
+       in procedure.
+       (in_prologue): Call unwind_diagnostic when a directive isn't in
+       prologue.
+       (in_body): Call unwind_diagnostic when a directive isn't in
+       body region.
+       (dot_endp): Set md.unwind_check to error before calling
+       in_procedure and restore it after. When the name is missing or
+       couldn't be found, use the one from the last .proc if
+       md.unwind_check isn't error. Warn if md.unwind_check is
+       warning.
+       (md_parse_option): Handle "-munwind-check=[warning|error]".
+       (md_show_usage): Add "-munwind-check=[warning|error]".
+       (ia64_init): Set md.unwind_check to warning.
+
+       * doc/as.texinfo: Add "-munwind-check=[none|warning|error]".
+       * doc/c-ia64.texi: Likewise.
+
+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-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>
 
This page took 0.026645 seconds and 4 git commands to generate.