Replace VXWORKS with ARM_COFF_BUGFIX.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 936969d1c3988bed4e98ec1372e5496f84fd469d..eaa252a65685fb2be56fae063cf43a0c5dcb0e55 100644 (file)
@@ -1,5 +1,373 @@
+2001-08-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-i386.c (lex_got): Match lower case relocation tokens.
+       Don't allocate more space than necessary for the input line copy.
+
+2001-08-01  Alan Modra  <amodra@bigpond.net.au>
+
+       * read.c: Standardize error/warning messages - don't capitalise, no
+       final period or newline, don't say "ignored" or "zero assumed" for
+       as_bad messages.  In some cases, change the wording to that used
+       elsewhere for similar messages.
+       * app.c: Likewise.
+       * as.c: Likewise.
+       * atof-generic.c: Likewise.
+       * cgen.c: Likewise.
+       * cond.c: Likewise.
+       * depend.c: Likewise.
+       * dwarf2dbg.c: Likewise.
+       * ecoff.c: Likewise.
+       * expr.c: Likewise.
+       * frags.c: Likewise.
+       * input-file.c: Likewise.
+       * input-scrub.c: Likewise.
+       * listing.c: Likewise.
+       * output-file.c: Likewise.
+       * stabs.c: Likewise.
+       * subsegs.c: Likewise.
+       * symbols.c: Likewise.
+       * write.c: Likewise.
+       * ecoff.c (ecoff_directive_end): Test for missing name by
+       comparing input line pointers rather than reading string.
+       (ecoff_directive_ent): Likewise.
+       * read.c (s_set): Likewise.
+       (s_align): Report a warning rather than an error for
+       alignment too large.
+       (s_comm): Check for missing symbol name.
+       (s_lcomm_internal): Likewise.
+       (s_lsym): Likewise.
+       (s_globl): Use is_end_of_line instead of looking for '\n'.
+       (s_lcomm_internal): Likewise.
+       (ignore_rest_of_line): Report a warning rather than an error.
+
+2001-07-31  Geoffrey Keating  <geoffk@redhat.com>
+
+       * config/tc-ppc.c (ppc_elf_validate_fix): It's OK to have
+       any kind of relocation against a not-loaded section.
+
+2001-07-30  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/obj-elf.c (obj_elf_symver): Temporarily modify lex_type
+       to include '@' in symbol names when parsing versioned symbols
+       rather than calling get_symbol_end multiple times.
+       * config/tc-i370.c (register_name): Format fixes.  Don't call
+       get_symbol_end after parsing number.
+       * config/tc-mn10200.c (data_register_name): Format fixes.  Hoist
+       code out of conditional.
+       (address_register_name): Likewise.
+       (other_register_name): Likewise.
+       * config/tc-mn10300.c (r_register_name): Likewise.
+       (xr_register_name): Likewise.
+       (data_register_name): Likewise.
+       (address_register_name): Likewise.
+       (other_register_name): Likewise.
+       * config/tc-ppc.c (register_name): Likewise.
+       * config/tc-s390.c (register_name): Likewise.
+
+2001-07-27  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/tc-m68hc11.c (md_estimate_size_before_relax): Fix bsr
+       and bra relax: update fragP->fr_fix after the fixup.
+
+2001-07-27  Tracy Kuhrt  <Tracy.Kuhrt@microchip.com>
+
+       * read.c (s_set): Check for missing symbol name.
+
+2001-07-26  Alan Modra  <amodra@bigpond.net.au>
+
+       * write.c (relax_segment <rs_space>): Account for fr_fix.
+
+2001-07-25  H.J. Lu  <hjl@gnu.org>
+
+       * config/tc-mips.c (md_estimate_size_before_relax): Make sure
+       we treat weak like extern only for ELF.
+       (mips_fix_adjustable): Make sure we don't adjust extern/weak
+       symbols only for ELF.
+
+2001-07-25  Chris Demetriou  <cgd@broadcom.com>
+
+       * config/tc-mips.c: Fix spelling error in comment.
+
+2001-07-25  Dave Brolley  <brolley@redhat.com>
+
+       * app.c (LEX_IS_PARALLEL_SEPARATOR): New macro.
+       (IS_PARALLEL_SEPARATOR): New macro.
+       (do_scrub_begin): Set up characters in tc_parallel_separator_chars
+       as LEX_IS_PARALLEL_SEPARATOR, if it is defined.
+       (do_scrub_chars): Handle LEX_PARALLEL_SEPARATOR chars like
+       LEX_LINE_SEPARATOR except that we go to state 1 (as if the label has
+       been seen).
+
+2001-07-24  Alan Modra  <amodra@bigpond.net.au>
+
+       * Makefile.am (DEP_FLAGS): Define, add -DOBJ_MAYBE_ELF.
+       (DEP1, DEPTC, DEPOBJ, DEP2): Use it.
+       Update dependencies with "make dep-am".
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+
+2001-07-23  Kazu Hirata  <kazu@hxi.com>
+
+       * config/tc-alpha.h: Fix formatting.
+       * config/tc-arc.c: Likewise.
+       * config/tc-d10v.h: Likewise.
+       * config/tc-hppa.c: Likewise.
+       * config/tc-i370.c: Likewise.
+       * config/tc-i386.h: Likewise.
+       * config/tc-i960.h: Likewise.
+       * config/tc-ia64.c: Likewise.
+       * config/tc-ia64.h: Likewise.
+       * config/tc-m32r.c: Likewise.
+       * config/tc-m68k.c: Likewise.
+       * config/tc-m88k.c: Likewise.
+       * config/tc-ns32k.c: Likewise.
+       * config/tc-pdp11.c: Likewise.
+       * config/tc-pj.h: Likewise.
+       * config/tc-s390.c: Likewise.
+       * config/tc-sparc.c: Likewise.
+       * config/tc-sparc.h: Likewise.
+       * config/tc-tic80.c: Likewise.
+       * config/tc-w65.h: Likewise.
+
+2001-07-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * symbols.c (S_GET_VALUE): Don't treat O_constant and local
+       symbols specially.  Always resolve, adding fr_address to value.
+       * write.c (write_object_file): Don't add fr_address to sym values.
+       (relax_frag): Likewise.
+       (relax_segment): Likewise.
+       * config/obj-ieee.c (do_symbols): Likewise.
+       * config/tc-cris.c (md_convert_frag): Likewise.
+       * config/tc-fr30.c (md_convert_frag): Likewise.
+       * config/tc-i386.c (md_convert_frag): Likewise.
+       * config/tc-m32r.c (md_convert_frag): Likewise.
+       * config/tc-m68hc11.c (md_convert_frag): Likewise.
+       * config/tc-mcore.c (md_convert_frag): Likewise.
+       * config/tc-mips.c (mips16_extended_frag): Likewise.
+       * config/tc-ns32k.c (md_convert_frag): Likewise.
+       * config/tc-m68k.c (md_convert_frag_1): Likewise.
+       (BRANCHBWL, BRABSJUNC, BRABSJCOND, BRANCHBW, FBRANCH, DBCCLBR,
+       DBCCABSJ, PCREL1632, PCINDEX, ABSTOPCREL): Decrement.
+       (md_relax_table): Remove first four entries.  Format.
+       (md_estimate_size_before_relax): Remove old_fix.  Don't bother
+       setting fr_var.  Simplify byte branch checks.
+
+2001-07-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-hppa.c (pa_parse_nonneg_cmpsub_cmpltr): Remove
+       "isbranch" param as all calls have it set.
+       (pa_parse_neg_cmpsub_cmpltr): Likewise.
+       (pa_parse_nonneg_add_cmpltr): Likewise.  Remember result of
+       strcasecmp in "nullify" var.
+       (pa_parse_neg_add_cmpltr): Likewise.
+       (pa_ip): Don't "save_s" unnecessarily.  Update calls to above
+       functions.  Don't print wrong conditions in error messages.
+
+2001-07-23  Andreas Jaeger  <aj@suse.de>
+
+       * config/tc-s390.c (s390_force_relocation): Removed.
+
+       * config/tc-s390.h: Remove double declaration of
+       TC_FORCE_RELOCATION.
+
+2001-07-22  H.J. Lu <hjl@gnu.org>
+
+       * config/tc-mips.c (s_mips_end): Remove unused variables.
+       (s_mips_frame): Add ATTRIBUTE_UNUSED.
+
+2001-07-17  Andreas Schwab  <schwab@suse.de>
+
+       * config/tc-m68k.c (md_pseudo_table) [OBJ_ELF]: Add .file and
+       .loc.
+       (md_assemble) [OBJ_ELF]: Call dwarf2_emit_insn before emitting
+       insn.
+       * config/tc-m68k.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
+
+2001-07-17  matthew green  <mrg@eterna.com.au>
+
+       * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
+       TE_NetBSD.
+       (line_comment_chars): Set to '/' if TE_NetBSD.
+
+2001-07-14  matthew green  <mrg@eterna.com.au>
+
+       * configure.in (i386-*-netbsdelf*): New target.
+       * configure: Regenerate.
+
+2001-07-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * testsuite/gas/sparc/unalign.s: Remove .uaxword test.
+       * testsuite/gas/sparc/unalign.d: Adjust accordingly.
+
+2001-07-10  Mark Elbrecht  <snowball3@softhome.net>
+
+       * config/obj-coff.c (coff_frob_symbol): Don't merge if the storage
+       class of the non-debug symbol is C_NULL.
+
+2001-07-10  Anders Norlander <anorland@synergenix.se>
+
+       * doc/as.texinfo (Incbin): Fix grammatical errors.
+
+2001-07-10  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * depend.c: Use FOPEN_.. macros in calls to fopen().
+       * input-file.c: As above.
+       * itbl-ops.c: As above.
+       * listing.c: As above.
+       * output-file.c: As above.
+       * read.c: As above.
+
+2001-07-08  Anders Norlander <anorland@synergenix.se>
+
+       * read.c (s_incbin): New .incbin function.
+       * read.c (potable): Add "incbin" pseudo-op.
+       * read.h: Add s_incbin prototype.
+       * doc/as.texinfo (incbin): Document .incbin pseudo-op.
+       * NEWS: Mention new feature.
+
+2001-07-07  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * ecoff.c (add_file): Only set debug_type to DEBUG_NONE if it is
+       DEBUG_UNSPECIFIED.
+
+2001-07-06  John Healy  <jhealy@redhat.com>
+
+       * cgen.c (gas_cgen_save_fixups): Modified to allow more than one
+       set of fixups to be stored.
+       (gas_cgen_restore_fixups): Modified to allow the fixup chain to be
+       restored to be chosen from any that are saved.
+       (gas_cgen_swap_fixups): Modified to allow the current set of
+       fixups to be swapped with any other set that has been saved.
+       (gas_cgen_initialize_saved_fixups_array): New routine.
+       * cgen.h: Modifed prototypes for gas_cgen_save_fixups,
+       gas_cgen_restore_fixups, and gas_cgen_swap_fixups.  Added definitions
+       or MAX_SAVED_FIXUP_CHAINS.
+       * config/tc-m32r.c (assemble_two_insns): Changed calls to fixup
+       store, swap and restore fuctions to reflect the new interface.
+
+2001-07-06  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-m68k.c (md_estimate_size_before_relax): Catch and
+       ignore empty, ineffectual alignment frags when deciding if a
+       branch can be short.
+
+2001-07-05  Steve Ellcey  <sje@cup.hp.com>
+
+       * config/tc-ia64.c (special_section): Add SPECIAL_SECTION_INIT_ARRAY
+       and SPECIAL_SECTION_FINI_ARRAY.
+       (special_section_name): Add .init_array and .fini_array.
+       (md_pseudo_table): Add init_array and fini_array.
+       (md): Add pointer_size and pointer_size_shift fields.
+       (setup_unwind_header): New static function.
+       (output_unw_records): Modify to use setup_unwind_header.
+       (generate_unwind_image, dot_endp): Modify to use md.pointer_size and
+       md.pointer_size_shift.
+       (md_begin): Initialize md.pointer_size and md.pointer_size_shift.
+
+2001-07-05  Ben Elliston  <bje@redhat.com>
+
+       * README (Supported platforms): m88k no longer suffers bitrot.
+
+       * config/tc-m88k.c (md_pseudo_table): Remove redundant "global".
+
+2001-07-05  Alan Modra  <amodra@bigpond.net.au>
+
+       * struc-symbol.h (struct local_symbol): Rename lsy_offset to
+       lsy_value.  Correct typos in comments.
+       * symbols.c (local_symbol_make): Update for name change.
+       (local_symbol_convert): Likewise.
+       (colon): Likewise.
+       (S_GET_VALUE): Likewise.
+       (S_SET_VALUE): Likewise.
+       (print_symbol_value_1): Likewise.
+       (resolve_symbol_value): Likewise.  Don't divide local sym values
+       by OCTETS_PER_BYTE twice.
+
+2001-07-04  Jim Wilson  <wilson@redhat.com>
+
+       * config/tc-ia64.c (md_pseudo_table): Add 2byte, 4byte, and 8byte.
+
+       * config/tc-ia64.c (is_conditional_branch): Rewrite to exclude mod
+       sched branches.
+
+2001-07-05  Ben Elliston  <bje@redhat.com>
+
+       * read.c (s_fill): Correct spelling error in comments.
+
+       * doc/c-m88k.texi: New file.
+       * doc/Makefile.am (CPU_DOCS): Add c-m88k.texi.
+       * doc/Makefile.in: Regenerate.
+       * doc/all.texi: Set M880X0.
+       * doc/as.texinfo: Hook in m88k-dependent documentation.
+
+2001-07-04  Eric Christopher  <echristo@redhat.com>
+
+       * doc/c-mips.texi (MIPS Opts): Document 12000 as valid cpu.
+
+       * config/tc-mips.c (mips_cpu_info_table): Add rm5200, rm5231, rm5261,
+       and rm5721 as valid cpu strings.
+       (md_show_usage): Add rm5200, rm5231, rm5261, rm5721.
+
+2001-07-04  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/tc-mips.c (md_apply_fix): Prevent addend from becoming zero
+       if it's expected to be non-zero.
+
+2001-07-03  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/tc-sh.c (sh_frob_section): Replace symbol_get_frag() with
+       fscan->fx_frag.
+
+       * write.c (TC_FINALIZE_SYMS_BEFORE_SIZE_SEG): Default to 1.
+       (write_object_file): Set finalize_syms to
+       TC_FINALIZE_SYMS_BEFORE_SIZE_SEG just before size_segs is
+       called.
+
+       * doc/internals.texi; Document
+       TC_FINALIZE_SYMS_BEFORE_SIZE_SEG.
+
+2001-07-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * config/tc-ppc.c: Formatting fixes.
+
+2001-07-01  Ben Elliston  <bje@redhat.com>
+
+       * config/tc-m88k.c: Back out warning fixes from 2001-06-24, as
+       they cause some subtle breakage.  Will fix them again later.
+
+2001-06-28  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/obj-coff.c (obj_coff_ln): Treat a .ln directive
+       outside of a function as a .appline directive.
+
+2001-06-28  Eric Christopher <echristo@redhat.com>
+           H.J. Lu  <hjl@gnu.org>
+
+       * config/tc-mips.c (mips_arch): New. Use mips_arch instead
+       of mips_cpu for the ISA selection.
+       (md_longopts): Add OPTION_MARCH and OPTION_MTUNE.
+       (md_parse_option): Handle OPTION_MARCH and OPTION_MTUNE.
+       (mips_tune): New.  Use mips_tune for scheduling and optimization
+       issues.
+       (append_insn): Use mips_tune and mips_arch.
+       (macro_build): Ditto.
+       (mips_ip): Ditto.
+       (md_begin): Handle mips_arch, mips_tune and mips_cpu.  For
+       backwards compatability mips_cpu generates arch and tune.
+       (md_show_usage): Document new behavior.
+
+       * doc/c-mips.texi (MIPS Opts): Document -march and -mtune.
+       Deprecate -mcpu.
+
+       * NEWS: Update.
+
 2001-06-27  Nick Clifton  <nickc@cambridge.redhat.com>
 
+       * write.c (write_object_file): Do not set finalize_syms until
+       after the segments have been sized.  Some backends may still
+       need to access the syms's frags in order to adjust relaxed
+       frags.
+
        * config/tc-arm.c (do_ldst): Use MVN to build simple inverted
        constants.
 
 
 2001-06-18  H.J. Lu <hjl@gnu.org>
 
-        * doc/Makefile.am (info): Depend on $(MANS).
-        (as.1): Remove the prefix `$(srcdir)/'.
-        * doc/Makefile.in: Regenerated.
+       * doc/Makefile.am (info): Depend on $(MANS).
+       (as.1): Remove the prefix `$(srcdir)/'.
+       * doc/Makefile.in: Regenerated.
 
-        * as.1: Removed.
+       * as.1: Removed.
 
 2001-06-18  Philip Blundell  <philb@gnu.org>
 
 2001-06-12  Peter Jakubek <pjak@snafu.de>
 
        * gas/config/tc-m68k.c (parse_mri_control_operand): Fix handling
-        of AND/OR.
-        (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS).
-        (reverse_mri_condition): Likewise.
-        (swap_mri_condition): Issue warning for conditions that can not be
-        swapped.
-        (build_mri_control_operand): Fix order of operands (swapped).
-        (build_mri_control_operand): Allow upper case extension in structured
-        control directives.
-        (s_mri_else): Likewise.
-        (s_mri_next): Likewise.
-        (s_mri_for): Likewise.
-        (s_mri_if): Fix handling comment ('*') in mri mode.
-        (s_mri_while): Likewise.
-        * gas/macro.c (macro_expand): Allow macro invocation with empty
-        extension.
+       of AND/OR.
+       (swap_mri_condition): Add HS (alias fo CC) and LO (alias for CS).
+       (reverse_mri_condition): Likewise.
+       (swap_mri_condition): Issue warning for conditions that can not be
+       swapped.
+       (build_mri_control_operand): Fix order of operands (swapped).
+       (build_mri_control_operand): Allow upper case extension in structured
+       control directives.
+       (s_mri_else): Likewise.
+       (s_mri_next): Likewise.
+       (s_mri_for): Likewise.
+       (s_mri_if): Fix handling comment ('*') in mri mode.
+       (s_mri_while): Likewise.
+       * gas/macro.c (macro_expand): Allow macro invocation with empty
+       extension.
 
 2001-06-12  Nick Clifton  <nickc@cambridge.redhat.com>
 
This page took 0.032883 seconds and 4 git commands to generate.