* configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 3e544c203f9f395bc3f064c1f4181812ae8d3427..c5f6bdb490c589a403bf1cad97c619a45759f218 100644 (file)
@@ -1,3 +1,472 @@
+Thu Feb  5 12:39:08 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure, Makefile.in, aclocal.m4: Rebuild with new libtool.
+       * doc/Makefile.in: Likewise.
+
+Wed Feb  4 15:41:54 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-m32r.c (check_for_side_effects): New function.
+       (can_make_parallel): Add checks for instruction side effects
+       clashing with the other instruction.
+       (assemble_parallel_insn): Improve warning messages.  Return error
+       message from non-swapped instruction order.
+
+Wed Feb  4 20:00:26 1998  James G. Smith  <jsmith@teknema.demon.co.uk>
+
+       * config/tc-arm.c: Rename arm_after_pass_hook() to arm_cleanup().
+
+       * config/tc-arm.h: Replace md_after_pass_hook definition with a
+       md_cleanup definition.  This moves the forced literal output to
+       the end of the source pass, and avoids macro's inserting literals
+       into the code immediately after the macro expansion.
+
+Wed Feb  4 13:17:19 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-sparc.h (tc_fix_adjustable) [OBJ_ELF]: A reloc against
+       a gas internal symbol is adjustable.
+       * config/tc-ppc.h (tc_fix_adjustable): Likewise.
+
+       * as.h: If gcc version greater than 2.6, use `__format__' and
+       `__printf__' in function attributes, rather than `format' and
+       `printf'.
+
+Mon Feb  2 18:38:18 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-sparc.c: Only include elf/sparc.h if OBJ_ELF.
+
+Mon Feb  2 18:30:34 1998  Steve Haworth  <steve@pm.cse.rmit.EDU.AU>
+
+       Add tms320c30 support:
+       * config/tc-tic30.h: New file.
+       * config/tc-tic30.c: New file.
+       * config/obj-coff.h: If TC_TIC30, include coff/tic30.h and define
+       TARGET_FORMAT as "coff-tic30".
+       * configure.in (tic30-*-*aout*, tic30-*-*coff*): New targets.
+       * Makefile.am: Rebuild dependencies.
+       (CPU_TYPES): Add tic30.
+       (CPU_OBJ_VALID): tic30-aout is valid.
+       (TARGET_CPU_CFILES): Add config/tc-tic30.c.
+       (TARGET_CPU_HFILES): Add config/tc-tic30.h.
+       * configure, Makefile.in: Rebuild.
+
+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.
+
+Mon Feb  2 12:39:05 1998  Geoff Keating  <geoffk@ozemail.com.au>
+
+       * config/tc-ppc.c (md_apply_fix3): Change BFD_RELOC_HI16 and
+       BFD_RELOC_HI16_S to store the high bits of any value.
+
+       * config/tc-ppc.h (tc_fix_adjustable): Undo change of Fri Jun 27.
+       (TC_RELOC_RTSYM_LOC_FIXUP): Don't let the
+       assembler calculate relocations to any external symbol at all.
+       * config/tc-ppc.c (md_apply_fix3) [OBJ_ELF]: Correct bugs
+       involving generation of pc-relative relocs.
+       (md_pcrel_from_section) [OBJ_ELF]: The job this code used to do
+       has been moved to md_apply_fix3.
+
+       * config/tc-ppc.c (md_apply_fix3): Fix test for too-far branch.
+       (ppc_elf_suffix): Warn about 'identifier+constant@got' syntax,
+       which actually means (the address of identifier's GOT entry) +
+       constant, which is not particularly useful.
+
+Fri Jan 30 11:02:35 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * read.h (include_dirs): Declare.
+       (include_dir_count,include_dir_maxlen): Declare.
+start-sanitize-sky
+
+       * config/tc-dvp.c (md_longopts): Add -no-dma, -no-dma-pke.
+       (md_parse_option): Handle them.
+       (md_show_usage): Print them.
+       (output_dma,output_pke): New static globals.
+       (assemble_pke): Handle -no-dma-pke.
+       (insert_file): Search include dir list.
+       (s_enddirect): Validate length if prespecified.
+       (s_endmpg): Likewise.  Handle -no-dma-pke.
+       (s_endunpack): Handle -no-dma-pke.
+       (md_pcrel_from_section): Add offset to delay slot for
+       undefined symbols.
+end-sanitize-sky
+
+Fri Jan 30 11:47:02 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * configure.in: Correct check for shared opcodes library.
+       * configure: Rebuild.
+
+       * listing.c (buffer_line): If we can't open the file, set at_end.
+       (listing_print): Remove unused local variable fi.
+
+       * config/m68k-parse.y (reglistpair): Handle register list in
+       either order.
+
+       * config/vms-conf.h: Don't undef VERSION.
+
+start-sanitize-m32rx
+Thu Jan 29 13:36:29 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * config/tc-m32r.c (allow_m32rx): Must compile with K&R C.
+       (m32rx support): only include #ifdef HAVE_CPU_M32RX.
+
+end-sanitize-m32rx
+Thu Jan 29 14:42:44 1998  Pat Rankin  <rankin@eql.caltech.edu>
+
+       * Makefile.am (CONFIG_OBJS): New variable, containing part of old
+       OBJS variable.
+       (GENERIC_OBJS): New variable, with the rest of the old OBJS
+       variable.
+       (OBJS): Now just $(CONFIG_OBJS) and $(GENERIC_OBJS).
+       ($(srcdir)/make-gas.com): Rename from make-gas.com.
+       (stamp-mk.com): Replace $(OBJS) with $(GENERIC_OBJS).
+       (EXTRA_DIST): Define.
+       * vmsconf.sh: Handle {targ-cpu, obj-format, atof-targ} modules
+       explicitly rather than via the list of object files.
+       (gcc-as.opt): New file created when make-gas.com is run.
+       * config-gas.com: Create {targ-cpu.h, obj-format.h, targ-env.h,
+       itbl-cpu.h} to #include appropriate file rather than copying that
+       file.
+       * config/vms-conf.h: Synchronize with current config.in.
+       * Makefile.in: Rebuild.
+
+start-sanitize-m32rx
+Wed Jan 28 16:27:27 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-m32r.c (md_assemble): Fix determination of when
+       instructions can be combined in parallel.
+
+end-sanitize-m32rx
+Wed Jan 28 14:35:00 1998  Bill Moyer <billm@cygnus.com>
+
+       * as.h (flag_warn_suppress_instructionswap): added new flag.
+       * tc-d10v.c (md_parse_option,md_longopts): added "--nowarnswap" 
+       command line argument.
+       * tc-d10v.c (write_2_short): emit "Swapping instructions"
+       warning only if flag_warn_suppress_instructionswap is false.
+
+Wed Jan 28 16:41:19 1998  J.J. van der Heijden  <J.J.vanderHeijden@student.utwente.nl>
+
+       * configure.in (i386-*-mingw32*): New target.
+       * configure: Rebuild.
+
+Wed Jan 28 14:51:18 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * symbols.c (resolve_symbol_value): Don't set the segment if it
+       hasn't changed, and this is OBJ_AOUT without BFD_ASSEMBLER.
+
+       * config/obj-aout.h (S_IS_LOCAL): Correct typo--pass argument to
+       S_GET_SEGMENT.
+
+Wed Jan 28 13:54:50 1998  Pat Rankin  <rankin@eql.caltech.edu>
+
+       as.h (unlink): Reverse 13-Feb-97 change; use of unlink vs remove
+       depends upon HAVE_{UNLINK,REMOVE} values rather than host
+       compiler.
+
+Wed Jan 28 13:48:08 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/obj-coff.h (RESOLVE_SYMBOL_REDEFINITION): Define.
+
+start-sanitize-sky
+Wed Jan 28 10:00:40 1998  Doug Evans  <devans@canuck.cygnus.com>
+
+       * configure.in: Add dvp support.
+       * configure: Regenerate.
+       * config/tc-dvp.[ch]: New files.
+
+end-sanitize-sky
+Wed Jan 28 09:52:00 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-v850.c (v850_insert_operand): Display instruction when
+       an error is encountered.
+
+Tue Jan 27 13:32:01 1998  Robert Lipe  <robertl@dgii.com>
+
+       * configure.in (i386-*-sco3.2v5*): Defaults to ELF now.
+       (i386-*-sco3.2v5*coff): New target.
+       (i386-*-sco3.2*): New target.
+       * configure: Rebuild.
+
+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.
+
+Tue Jan 27 12:24:32 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-arm.c (md_apply_fix3): Add new variable newimm to hold
+       validate_immediate return value in the right type for comparisons
+       to FAIL.
+
+Tue Jan 27 06:51:59 1998  Richard Henderson  <rth@cygnus.com>
+
+       * listing.c (MAX_BYTES): Use listing variables not constants.
+       (data_buffer): No longer an array, but a pointer.
+       (calc_hex): sizeof(data_buffer) -> MAX_BYTES.
+       (listing_listing): Allocate data_buffer.
+
+Tue Jan 27 06:38:35 1998  Richard Henderson  <rth@cygnus.com>
+
+       * as.c (parse_args): Add --listing-lhs-width, --listing-lhs-width2,
+       --listing-rhs-width, --listing-cont-lines.
+       (show_usage): Update.
+       * listing.c (listing_lhs_width, listing_lhs_width_second): New vars.
+       (listing_lhs_cont_lines, listing_rhs_width): New vars.
+       (print_lines): Use the variables instead of the constants.
+       (listing_listing): Likewise.    
+       * listing.h: Declare the new vars.
+       
+Tue Jan 27 05:32:05 1998  Richard Henderson  <rth@cygnus.com>
+
+       * as.c (parse_args): Add --keep-locals alias for -L.
+       Add --strip-local-absolute.
+       (show_usage): Update.
+       * as.h (flag_strip_local_absolute): New flag.
+       * symbols.c (S_IS_LOCAL): Use it.
+       * config/obj-aout.h (S_IS_LOCAL): Likewise.
+       * config/obj-bout.h (S_IS_LOCAL): Likewise.
+       * config/obj-coff.h (S_IS_LOCAL): Likewise.
+
+Mon Jan 26 13:07:41 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-m32r.c: Detect if explicitly parallel instructions
+       might have an io conflict and issue a warning message. 
+
+start-sanitize-m32rx
+Mon Jan 26 12:38:54 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-m32r.c (reads_from_src_reg): Change second parameter
+       to a count of the number of matches to skip.
+       (can_make_parallel): Pass count of number of matches to skip to
+       reads_from_src_reg().
+
+end-sanitize-m32rx
+Thu Jan 22 17:51:44 1998  Nick Clifton  <nickc@cygnus.com>
+
+start-sanitize-m32rx
+       * config/tc-m32r.c: Add support for swapping fixups of swap
+       instructions. 
+end-sanitize-m32rx
+       * cgen.c (cgen_save_fixups, cgen_restore_fixups,
+       cgen_swap_fixups): Functions to save, restore and swap the fixup
+       chain with a backup copy.
+       (cgen_asm_finish_insn): Returns address of constructed insn.
+
+Wed Jan 21 16:49:10 1998  Richard Henderson  <rth@cygnus.com>
+
+       * listing.c (file_info_struct): Remove FILE, add POS.
+       (last_open_file_info, last_open_file): New; a one entry FILE* cache.
+       (file_info): Don't open the file.
+       (buffer_line): Check for the file in the last_open cache, updating
+       as necessary.
+       (print_source): Don't reference file_info->file.
+       (listing_listing): Likewise.
+       (listing_print): Close the file in the cache, if any.
+
+start-sanitize-m32rx
+Tue Jan 20 17:08:53 1998  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-m32r.c (md_assemble): Add code to swap explicitly
+       parallel instructions so that they are in the correct order.
+       (reads_from_src_reg, get_src_reg, can_make_parallel,
+       make_parallel): New functions to support opportunistic
+       parallelisation of adjacent instructions.
+
+end-sanitize-m32rx
+Fri Jan 16 14:51:48 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * read.c (dwarf_file_string): New file static variable.
+       (emit_expr): Look for constant sequence that leads up to a file
+       name in DWARF debugging output.
+       (stringer): Use dwarf_file_string to decide whether to accept a
+       string as a file name.
+
+Fri Jan 16 11:30:37 1998  Richard Henderson  <rth@cygnus.com>
+
+       * tc-m68k.c (m68k_ip): Remove absl->reglst MRI hack.
+       (crack_operand): Add reg->reglst MRI hack.
+       (r_seg): Put reglst symbols in reg_section.
+       (m68k_frob_symbol): Frob reglst symbols into absolute_section.
+
+start-sanitize-sh4
+Thu Jan 15 14:19:01 1998  Richard Henderson  <rth@cygnus.com>
+
+       * tc-sh.c (get_specific): Handle SGR & DBR.
+
+end-sanitize-sh4
+Thu Jan 15 13:46:48 1998  Richard Henderson  <rth@cygnus.com>
+
+       * tc-h8300.c (parse_reg): Take the length of the symbol into
+       account when attempting to match a register name.
+       * tc-h8500.c (parse_reg): Likewise.
+
+start-sanitize-vr4111
+Thu Jan 15 09:33:11 1998  Gavin Koch  <gavin@cygnus.com>
+
+       * config/tc-mips.c (md_begin): Create the vr4111 as a copy of
+       the vr4100.
+
+end-sanitize-vr4111
+Wed Jan 14 17:52:33 1998  Nick Clifton  <nickc@cygnus.com>
+
+start-sanitize-m32rx
+       * config/tc-m32r.c (md_assemble): Add support for parsing parallel
+       instructions.
+end-sanitize-m32rx
+       * cgen.c: Formatting changes to improve readability.
+
+Wed Jan 14 15:41:41 1998  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-mips.c (macro): Rework division code to avoid unfilled
+       delay slot.
+
+start-sanitize-d30v
+Wed Jan 14 18:04:20 1998  Michael Meissner  <meissner@cygnus.com>
+
+       Based on a patch from Jim Wilson
+       * config/tc-d30v.c (do_assemble): Remove non-ansi default case.
+       (tc_gen_reloc): Handle cross section PC relative relocs
+       correctly.
+
+end-sanitize-d30v
+Wed Jan 14 15:02:19 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * config/tc-mips.c (mips_ip): Don't test pinfo flags if INSN_MACRO.
+
+Mon Jan 12 13:04:57 1998  Doug Evans  <devans@seba.cygnus.com>
+
+       * cgen.c: #include setjmp.h.  Clean up pass over `struct foo' usage.
+       (expr_jmp_buf): New static local.
+       (cgen_parse_operand): Allow use of longjmp in parsing to handle errors.
+       (cgen_md_operand): New function.
+       * tc-m32r.c: Clean up pass over `struct foo' usage.
+       (md_estimate_size_before_relax): Use CGEN_INSN_MNEMONIC.
+
+Tue Jan  6 15:36:02 1998  Richard Henderson  <rth@cygnus.com>
+
+       * symbols.c (S_SET_SEGMENT): Don't set the segment for section syms.
+       (S_IS_EXTERNAL, S_IS_LOCAL): Correct parenthetication.
+
+Fri Jan  2 16:08:54 1998  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-i386.c (i386_operand): Give an error if there are
+       unrecognized characters after an expression.
+
+Wed Dec 31 12:29:47 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-mn10200.c (md_relax_table): Correct branch ranges.
+
+Mon Dec 22 13:06:05 1997  Joel Sherrill  <joel@oarcorp.com>
+
+        * configure.in (i386*-go32-rtems*): Fix to be the same as
+       i[3456]86-go32.
+       * configure: Rebuild.
+
+Mon Dec 22 12:54:07 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-mips.c (macro): The 4650 doesn't permit M_LDC1_AB,
+       M_SDC1_AB, M_L_DOB, M_L_DAB, M_S_DAB, or M_S_DOB.
+       (mips_ip): Always check for FP_D, not just for instructions that
+       are not part of the regular ISA.
+
+Thu Dec 18 16:49:28 1997  Richard Henderson  <rth@cygnus.com>
+
+       * config/tc-d10v.c (build_insn): Make `number' a long for 64-bit hosts.
+
+Thu Dec 18 16:42:57 1997  Richard Henderson  <rth@cygnus.com>
+
+       * config/tc-alpha.c (cpu_types): 21164pc/pca56 does not have CIX.
+
+Wed Dec 17 21:23:07 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * expr.c (integer_constant 32bit bignum): Mask off bits outside
+       the range we care about.
+
+start-sanitize-d30v
+Wed Dec 17 15:29:03 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * config/tc-d30v.c (md_shortopts): Add 'n' and 'N' options.
+       (exec_type_enum): Enumeration giving all of the exec types.
+       (warn_nops): New static variable to give nop warning level.
+       ({cur,prev}_mul32_p): New static variable to keep track of whether
+       the current/previous instruction is a 32-bit multiply.
+       (Optimizing): Make static.
+       (NOP{2,_LEFT,_RIGHT}): Macros for word of nops and left/right
+       nops.
+       (d30v_insert_operand): Delete declaration of unused function.
+       (write_2_short): Make exec_type argument enum, not int.
+       (parallel_ok): Ditto.
+       (check_range): Delete unused variable(s).
+       (build_insn): Ditto.
+       (find_format): Ditto.
+       (md_apply_fix3): Ditto.
+       (md_show_usage): Document -n and -N.
+       (md_parse_option): Parse -n and -N.
+       (write_1_short): If -n, warn about adding a nop.  Use
+       NOP_{LEFT,RIGHT}.
+       (write_2_short): Use enumeration values instead of hard coded
+       integers.  Reset exec_type for default operations.  For explicit
+       parallel operations, call parallel_ok to make sure everything is
+       ok.  If writing out a parallel operation, and the previous
+       instruction was a 32-bit multiply, indicate current instruction
+       is.
+       (parallel_ok): Allow add/tx ... to be done in parallel with
+       another add/tx ... assuming the gpr registers don't overlap.
+       (md_assemble): Use exec type enumeration values, not hard coded
+       ints.  Check for loads or 16-bit multiplies following in the next
+       cycle after a 32-bit multiply.  Add nops if that is the case.
+       (do_assemble): Copy prev_mul32_p to cur_mul32_p, and set
+       cur_mul32_p if current instruction is a 32-bit multiply.
+       (find_format): Change spacing and layout.
+
+end-sanitize-d30v
+start-sanitize-tic80
+Tue Dec 16 16:55:45 1997  Fred Fish  <fnf@cygnus.com>
+
+       * config/tc-tic80.c (tic80_relax): New static variable.
+       (md_longopts): Add new OPTION_RELAX and OPTION_NO_RELAX options.
+       (md_parse_option): Handle new relax options.
+       (md_show_usage): Document new relax options.
+       (find_opcode): Don't use short forms of PC relative branches if
+       tic80_relax is set.
+
+end-sanitize-tic80
+start-sanitize-d30v
+Tue Dec 16 15:26:03 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * config/tc-d30v.c (parallel_ok): Remove non-register bits from
+       used/set flag fields.  Make flag vars unsigned long.  Use
+       FLAG_A{0,1} for accumulators.  Allow any 2 insns to be done in
+       parallel if they use the same conditional flag with reversed
+       meaning.  Allow 2 add/sub insns that set the carry or overflow
+       flags but do not query them to be done in parallel.  Don't allow 2
+       word store operations to be done in parallel with ADDppp or
+       SUBppp.  Don't allow loads to be done in parallel with 16 bit
+       multiplies.
+
+end-sanitize-d30v
+Tue Dec 16 09:20:43 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-arm.c: Prevent use of interworking support for
+       non-COFF targets.
+
+Mon Dec 15 15:20:32 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * doc/all.texi: Add M32R cpu.
+
+       * doc/as.texinfo: Add documentation of m32r processor.
+
+       * doc/c-m32r.texi: New file, documenting m32r specific features.  
+
+start-sanitize-m32rx
+       * config/tc-m32r.c (allow_m32rx): New function.
+       (enable_m32rx): New variable.
+       (md_pseudo_table): Added .m32r and .m32rx pseudo ops
+       (md_show_usage): Document new --m32rx command line option.
+       (md_parse_option): Implement new --m32rx command line option.
+end-sanitize-m32rx
+
 Mon Dec 15 10:32:28 1997  Jeffrey A Law  (law@cygnus.com)
 
        * config/tc-mips.c (mips_ip): Correctly insert 'P' operands into
This page took 0.028849 seconds and 4 git commands to generate.