* cgen.h: New file.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 8a565efd93226eabca47bcdc43b7ae91e3dc0469..22b3e6051d1d3f4940eac992508748b915ee71d8 100644 (file)
@@ -1,3 +1,349 @@
+Thu May  7 02:19:14 1998  Doug Evans  <devans@charmed.cygnus.com>
+
+       * cgen.h: New file.
+       * cgen.c: Include it.
+       (MAX_FIXUPS): Renamed to CGEN_MAX_FIXUPS.
+       (cgen_asm_finish_insn): Result is now void.  New arg `result'.
+       All callers updated.
+       * config/tc-m32r.c: Include cgen.h.
+       (m23r_insn): New members num_fixups,fixups.
+start-sanitize-m32rx
+       (assemble_parallel_insn): Initialize debug_sym_link for each insn.
+       (md_assemble): Simplify code to pack two insns in parallel.
+       When swapping two insns, update their fixups.
+end-sanitize-m32rx
+
+start-sanitize-sky
+Wed May  6 16:26:57 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * config/tc-dvp.c: Delete inclusion of "sysdep.h".
+
+end-sanitize-sky
+Wed May  6 16:29:19 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-hppa.c (md_apply_fix): Slightly rework some code
+       to avoid compiler warning.
+
+Wed May  6 15:26:34 1998  Klaus Kaempf  <kkaempf@progis.de>
+
+       * makefile.vms: Run dec c with /nodebug.  Pass CC value when
+       calling make.
+
+        * makefile.vms (OBJS): Add ehopt.obj
+
+Wed May  6 15:11:12 1998  Klaus Kaempf  <kkaempf@progis.de>
+
+       * doc/c-vax.texi: Correct and extend vax/vms documentation.
+
+Wed May  6 11:51:51 1998  Richard Henderson  <rth@cygnus.com>
+
+       * config/tc-d30v.c (do_assemble): Accept a new parameter requesting
+       a short format insn.
+       (md_assemble): Set it for explicitly packed insns.
+
+Tue May  5 13:23:13 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * config/obj-coff.c (c_symbol_merge): Do not take address of
+       native fields when performing the memcpy.
+
+Tue May  5 13:10:41 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * config/tc-mips.c (macro,macro2): Implement 
+       M_DMULO_I, M_MULO_I, M_DMULOU_I, and M_MULOU_I.
+
+Mon May  4 17:49:14 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * config/tc-m68k.h (TC_RELOC_RTSYM_LOC_FIXUP): Changed to keep
+       relocations against globally visible symbols.
+       * config/tc-m68k.c (relaxable_symbol): New macro.
+       (m68k_ip, md_estimate_size_before_relax): Use it.
+       (tc_m68k_fix_adjustable): Also handle weak symbols.
+
+Mon May  4 16:12:23 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-i386.h (TC_RELOC_RTSYM_LOC_FIXUP): Keep relocs for all
+       references to externally visible symbols.
+       * config/tc-i386.c (md_apply_fix3): When OBJ_ELF, don't add the
+       values in twice for a PC relative reloc if the symbol is
+       externally defined.
+
+       * config/tc-sparc.h (tc_fix_adjustable) [OBJ_AOUT]: When PIC,
+       don't adjust a PC relative reloc against an externally visible
+       symbol.
+       * config/tc-sparc.c (md_apply_fix3): When generating a.out PIC,
+       for a PC relative fixup against an externally visible defined
+       symbol, arrange to store object file and addend values as though
+       the symbol were not defined.
+       (tc_gen_reloc): Likewise.
+
+Thu Apr 30 13:09:39 1998  Fred Fish  <fnf@ninemoons.com>
+
+       * read.c (sizeof_leb128): Referenced externally by write.c so
+       don't inline.
+
+Wed Apr 29 15:45:57 1998  Michael Meissner  <meissner@cygnus.com>
+
+       * config/tc-m32r.c ({,expand_}debug_sym): New functions to record
+       and expand a 'debug' symbol associated with the next instruction
+       that does not cause a short instruction to be filled with a NOP.
+       (md_pseudo_table): Add support for .debugsym.
+       (assemble_parallel_insn): Add calls to expand_debug_sym as
+       appropriate.
+       (md_assemble): Ditto.
+
+Tue Apr 28 19:16:26 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * as.c (main): Conditionally call setlocale.
+       * gasp.c (main): Likewise.
+       * asintl.h: Include <locale.h> if HAVE_LOCALE_H.
+       (LC_MESSAGES): Now can be defined even when ENABLE_NLS.
+
+start-sanitize-d30v
+Tue Apr 28 18:33:23 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * config/tc-d30v.c (md_show_usage): Correct gettext typo.
+       
+end-sanitize-d30v
+Tue Apr 28 12:16:30 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-hppa.c: Change all calls to bzero to use memset.
+       (pa_ip): Add cast to avoid warning.
+       (tc_gen_reloc, md_apply_fix): Likewise.
+       (pa_find_space_by_number): Likewise.
+       (hppa_force_relocation): Likewise.
+       (pa_block): Change i to unsigned int.
+       * config/obj-som.h (obj_som_copyright): Declare.
+
+Tue Apr 28 11:35:56 1998  Frank Ch. Eigler  <fche@cygnus.com>
+
+       * ecoff.c (ecoff_build_lineno): Do not use dummy first_lineno
+       for line numbers for assembly source.
+
+Mon Apr 27 15:58:46 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Change version number to 2.9.4
+       * configure: Rebuild.
+
+Mon Apr 27 12:07:33 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen.c (cgen_asm_finish_insn): New arg relax_p.  All callers updated.
+start-sanitize-m32rx
+       * config/tc-m32r.c (assemble_parallel_insn): No need to try
+       non-relaxable variant any more.  Simplify test for nop insn.
+       (md_assemble): Only scan operands if m32rx.  Set orig_insn in case
+       scan of operands yields an insn different from original (e.g. a macro).
+       Fix call to can_make_parallel.
+end-sanitize-m32rx
+
+Mon Apr 27 15:16:12 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * ecoff.h: Change symbolS in function declaration to struct
+       symbol.
+
+Sun Apr 26 13:44:22 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-sh.c (parse_reg): Add casts to avoid warnings.
+       (md_convert_frag): Fix i18n typo.
+
+Sat Apr 25 20:12:02 1998  Richard Henderson  <rth@cygnus.com>
+
+       * ecoff.c (ecoff_get_cur_proc_sym): New function.
+       * ecoff.h: Protoype it.
+       * config/tc-alpha.c [ELF] (s_alpha_prologue): New function.
+       [EVAX] (s_alpha_prologue): Delete.
+       (md_pseudo_table): Update.
+
+Sat Apr 25 14:00:52 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-i960.c (md_assemble): Change bp_error_msg from static
+       array to local pointer.
+       (get_args, parse_expr): Add casts to avoid warnings.
+
+Fri Apr 24 12:47:42 1998  Philippe De Muyter  <phdm@macqel.be>
+
+       * read.c (s_set): Cast xmalloc return value to fragS *.
+       * config/tc-m68k.c (m68k_ip): Function made static to match
+       previous forward declaration.
+       (insert_reg, init_regtable, md_convert_frag_1): Likewise.
+
+Fri Apr 24 09:26:46 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-v850.c: Add internationalisation macros to error
+       strings.  
+
+       * config/tc-m32r.c (can_make_parallel): Add internationalisation
+       macros to error strings.
+
+Thu Apr 23 19:23:23 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-ppc.c (ppc_fix_adjustable): Correct test of whether a
+       reloc is in the TOC csect.
+       (md_apply_fix3): Correct gettext typo.
+
+Thu Apr 23 14:58:31 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-arm.c (find_real_start): Ignore symbols starting with
+       .L - they are local labels and the branches are not really
+       function calls but rather far jumps.
+
+start-sanitize-sky
+Thu Apr 23 11:09:34 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * config/tc-dvp.c (dvp_frob_label): Don't emit _$ versions of
+       local labels ($ prefix).
+
+end-sanitize-sky
+Wed Apr 22 15:57:21 1998  Tom Tromey  <tromey@cygnus.com>
+
+       * po/Make-in (MKINSTALLDIRS): Don't look in $(top_srcdir).
+
+Wed Apr 22 14:52:36 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-i386.c (md_assemble): Print operand number rather than
+       using ordinal_names.
+       (i386_operand): Likewise.
+
+Tue Apr 21 22:34:25 1998  Tom Tromey  <tromey@scribbles.cygnus.com>
+
+       * Makefile.am (INTLLIBS): Define to work around apparent automake
+       bug.
+       All Makefiles: Regenerated.
+
+       * Many files: Added gettext invocations around user-visible
+       strings.
+       * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_GETTEXT, HAVE_STPCPY,
+       HAVE_LC_MESSAGES): Define.
+       * dep-in.sed: Added asintl.h.
+       * po/Make-in: New file.
+       * gasp.c (main): Call setlocale, bindtextdomain, and textdomain.
+       Include "asintl.h".
+       * read.c (Z_): Renamed from `_'.
+       * Makefile.am (SUBDIRS): Added po.
+       (POTFILES): new macro.
+       (po/POTFILES.in): New target.
+       ($(OBJS)): Added asintl.h.
+       (HFILES): Likewise.
+       (INCLUDES): Added -DLOCALEDIR, -I$(top_srcdir)/../intl.
+       (as_new_LDADD): Added $(INTLLIBS).
+       (as_new_DEPENDENCIES): Added $(INTLDEPS).
+       (gasp_new_LDADD): Added $(INTLLIBS).
+       (gasp_new_DEPENDENCIES): New macro.
+       * configure, aclocal.m4: Rebuilt.
+       * configure.in: Call CY_GNU_GETTEXT.  Generate po/Makefile.in and
+       po/Makefile.
+       (ALL_LINGUAS): Define.
+       * macro.c: Include "asintl.h".
+       * as.c (main): Call setlocale, bindtextdomain, and textdomain.
+       * as.h: Include "asintl.h".
+       * config/tc-i386.c (ordinal_names): Removed.
+       (md_assemble): Changed error text to avoid ordinal_names.
+       (i386_operand): Likewise.
+       (reloc): Added as_bad to avoid i18n problems.
+       (tc_gen_reloc): Likewise.
+       * config/tc-arm.c (bad_args): Now a #define.
+       (bad_pc): Likewise.
+       * config/obj-vms.c (VMS_stab_parse): Changed type of
+       `long_const_msg'.
+       (global_symbol_directory): Unified strings to avoid i18n
+       problems.
+       * config/tc-m68k.c (get_reloc_code): Added some as_bad calls to
+       avoid i18n problems.
+       * config/tc-ns32k.c (reloc): Added as_bad to avoid i18n problems.
+       * config/tc-ppc.c (md_apply_fix3): Added as_bad_where to avoid
+       i18n problems.
+       * config/tc-sh.c (md_convert_frag): Added as_bad to avoid i18n
+       problems.
+       * config/tc-v850.c (md_assemble): Changed C++ comment into C
+       comment.
+       * config/tc-vax.c (md_assemble): Added as_warn to avoid i18n
+       problems.
+       * as.c (print_version_id): Added an fprintf to avoid i18n
+       problems.
+       * cond.c (cond_finish_check): Added as_bad call to avoid i18n
+       problems.
+       * expr.c (expr): Added as_warn call to avoid i18n problems.
+       * messages.c (as_assert): Changed code to avoid i18n problems.
+       (as_abort): Likewise.
+       * read.c (pseudo_set): Added as_bad call to avoid i18n problems.
+       (s_space): Likewise.
+       * po/Make-in, po/POTFILES.in, po/gas.pot: New files.
+
+Tue Apr 21 17:01:22 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>
+
+       * config/tc-i386.c (check_prefix): New static function, split out
+       from md_assemble.
+       (struct _i386_insn): Add wait_prefix field.
+       (md_assemble): Remove wait_prefix local variable.  Use
+       check_prefix when adding a prefix.
+
+       * config/tc-i386.c (current_templates): New static variable.
+       (md_assemble): Remove current_templates local variable.
+       (md_assemble, i386_operand): Improve error and warning messages in
+       many places.  Add RESTORE_END_STRING in many places before error
+       return.  Clarify some comments.
+
+       * config/tc-i386.c (struct _i386_insn): Change seg field to a two
+       element array.
+       (md_assemble): Parse string instruction operands, looking for
+       segment override prefixes.  Check for invalid segment prefixes on
+       string instruction.
+       (i386_operand): i.seg[] and max mem_operand changes for string
+       insns.
+       * config/tc-i386.h (EsSeg): Define.
+
+       * config/tc-i386.h (regKludge): Define.
+       (iclrKludge, imulKludge): Don't define.
+       * config/tc-i386.c (md_assemble): Merge imulKludge and iclrKludge
+       code.  Move ReverseRegRegmem fudges into Modrm case.  Reorder
+       opcode_modifier checks to look for more common cases first.  Add
+       default_seg for IsString case.
+
+Tue Apr 21 16:18:12 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Call AM_PROG_LEX rather than AC_PROG_LEX and
+       AC_DECL_YYTEXT.
+       * configure: Rebuild with new automake and libtool.
+       * aclocal.m4, Makefile.in: Likewise.
+
+       * doc/Makefile.am (as.dvi): New target.
+       * doc/Makefile.in: Rebuild.
+
+start-sanitize-sky
+Mon Apr 20 12:49:33 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * config/tc-dvp.c (VU_LABEL_PREFIX): Make "_$".
+
+end-sanitize-sky
+Sat Apr 18 01:21:04 1998  Stan Cox  <scox@cygnus.com>
+
+       * configure.in: Added sparc86x support.
+       
+       * configure: Rebuild.
+       
+       * config/tc-sparc.c (lookup_arch): Added arch_type to struct
+       sparc_arch.
+       (md_parse_option): Warn if -EL is not supported for this architecture.
+
+       * config/tc-sparc.h (SPARC_BIENDIAN) Always define.
+       
+Sat Apr 18 01:19:01 1998  Jeffrey A Law  (law@cygnus.com)
+
+        * config/tc-mips.c (mips_ip): Note when we use get match on
+        the full instruction name.
+start-sanitize-r5900
+        (mips_ip): For '&' DEST completer handling, if we got a full match
+        then the DEST completer is implicitly .wxyz.
+end-sanitize-r5900
+
+start-sanitize-sky
+Thu Apr 16 11:48:18 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * config/tc-dvp.c (unpackloc_sym): Delete.  All uses deleted.
+       (vif_insn_type): New function.
+       (md_apply_fix3): Don't validate user specified length if unpack insn
+       and wl > cl.
+
+end-sanitize-sky
 Wed Apr 15 15:17:27 1998  Richard Henderson  <rth@cygnus.com>
 
        * symbols.c (resolve_symbol_value) [O_symbol]: Also store the symbol
@@ -221,7 +567,6 @@ Sat Mar 28 22:28:02 1998  Ian Lance Taylor  <ian@cygnus.com>
        * config/tc-sparc.c (sparc_memory_model): Only define if OBJ_ELF.
        * config/tc-sparc.c (tc_gen_reloc): Add return to default case.
 
-
 Fri Mar 27 12:46:47 1998  Ian Lance Taylor  <ian@cygnus.com>
 
        * config/tc-m68k.c (m68k_ip): Check legal addressing modes for
@@ -362,8 +707,7 @@ end-sanitize-r5900
 Thu Mar 19 16:03:12 1998  Nick Clifton  <nickc@cygnus.com>
 
        * config/tc-arm.c (md_apply_fix3): fix code to test the range of
-       PC relative branches (PR15358).  Patch courtesy of Jonathan
-       Walton. 
+       PC relative branches.  Patch courtesy of Jonathan Walton. 
 
 start-sanitize-r5900
 Thu Mar 19 14:19:27 1998  Jeffrey A Law  (law@cygnus.com)
@@ -887,8 +1231,7 @@ Mon Feb  2 18:30:34 1998  Steve Haworth  <steve@pm.cse.rmit.EDU.AU>
 
 Mon Feb  2 10:20:37 1998  Nick Clifton  <nickc@cygnus.com>
 
-       * config/tc-v850.c (md_assemble): Improvements to error messages
-       for PR 14720.
+       * config/tc-v850.c (md_assemble): Improvements to error messages.
 
 Mon Feb  2 12:39:05 1998  Geoff Keating  <geoffk@ozemail.com.au>
 
@@ -1033,8 +1376,7 @@ Tue Jan 27 13:32:01 1998  Robert Lipe  <robertl@dgii.com>
 
 Tue Jan 27 11:06:52 1998  Nick Clifton  <nickc@cygnus.com>
 
-       * config/tc-v850.c: Fix PRs 14721, 14722, 14723, tidying error
-       message production.
+       * config/tc-v850.c: Tidy error message production.
 
 Tue Jan 27 12:24:32 1998  Ian Lance Taylor  <ian@cygnus.com>
 
@@ -3191,7 +3533,7 @@ start-sanitize-d30v
 Sun Mar 23 18:03:31 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
 
        * config/tc-d30v.c (build_insn): Enable range-checking code.
-       (postfix): Stop at space or comma. Fixes PR 11862.
+       (postfix): Stop at space or comma.
        (md_assemble): Change error message.
 
 end-sanitize-d30v      
@@ -3706,7 +4048,7 @@ start-sanitize-d30v
        * config/tc-d30v.h: Define TARGET_BYTES_BIG_ENDIAN.
 end-sanitize-d30v
        * config/tc-d10v.c (md_pcrel_from_section): Return 0 if
-        relocation is in different section. Fixes PR11574.
+        relocation is in different section.
 
 Fri Feb 21 10:08:25 1997  Jim Wilson  <wilson@cygnus.com>
 
@@ -4116,7 +4458,7 @@ Thu Jan 30 12:08:40 1997  Ian Lance Taylor  <ian@cygnus.com>
 Wed Jan 29 15:31:12 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
 
        * config/tc-d10v.h (md_do_align): Add this hook to call
-       d10v_cleanup() when a ".align" is detected.  Fixes PR11487.
+       d10v_cleanup() when a ".align" is detected.
 
        * config/tc-d10v.c (find_opcode): Correctly calculate
        branch displacement when .aligns are present.
@@ -4404,7 +4746,7 @@ Wed Dec 18 16:00:42 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
 Wed Dec 18 15:27:40 1996  Martin M. Hunt  <hunt@pizza.cygnus.com>
 
        * config/tc-d10v.c (md_assemble): Fix bug which caused
-       second instruction in a line to be case sensitize. PR11312
+       second instruction in a line to be case sensitize.
 
 Wed Dec 18 10:08:46 1996  Jeffrey A Law  (law@cygnus.com)
 
This page took 0.033573 seconds and 4 git commands to generate.