Based on a patch from Ian.Dall@dsto.defence.gov.au.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index a820786f9e1cca56c0671c0a6e2d04887f382ae9..b5c1937c3b73eb7677923e29fd1fd40d35b1e1ea 100644 (file)
@@ -1,3 +1,355 @@
+Wed Nov  5 10:51:49 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       Based on a patch from Ian.Dall@dsto.defence.gov.au.
+       * as.h (struct frag, frag support): Moved from here.
+       * frags.h: To here.
+       (struct frag, member tc_frag_data): New member if TC_FRAG_TYPE
+       is defined.
+       (struct frag, member fr_cgen): Renamed from fr_targ.cgen.
+       * cgen.c (cgen_asm_finish_insn): Update.
+       * config/tc-m32r.c (md_estimate_size_before_relax): Update.
+       * config/tc-m32r.h (TC_FRAG_INIT): Renamed from md_init_frag.
+       (md_convert_frag): Ditto.
+       * config/tc-ns32k.h (TC_FRAG_TYPE): Define.
+       (frag_opcode_frag,frag_opcode_offset,frag_bsr): Update.
+       (TC_FRAG_INIT): Update.
+
+Tue Nov  4 16:35:57 1997  Ian Dall  <Ian.Dall@dsto.defence.gov.au>
+
+       * write.c (print_fixup): Use TC_FIX_DATA_PRINT (if defined) to
+       print out MD fields of fix.
+       * frags.c (frag_var, frag_variant): Use TC_FRAG_INIT macro (if
+       defined) to initialize MD fields in frag.
+       * as.h (struct frag, ns32k support): Rename ns32k to fr_ns32k.
+       Delete pcrel_adjust.  Add fr_opcode_fragP, fr_opcode_offset.
+       * config/tc-ns32k.h: Add comments. Remove obsolete
+       BFD_FAST_SECTION_FILL definition, change prototypes for
+       fix_new_ns32k and fix_new_ns32k_exp to add new arguments
+       opcode_frag and opcode_offset and remove pcrel_adjust.
+       (TC_FIX_TYPE): add opcode_fragP and opcode_offset fields.
+       (TC_FIX_DATA_PRINT): new macro to print out TC_FIX_TYPE.
+       (TC_FRAG_INIT): new macro to initialize machine dependent field in
+       frags.
+       (frag_opcode_frag, frag_opcode_offset, frag_bsr): macros to access
+       MD fields in frag structure.
+       (fix_im_disp, fix_bit_fixP, fix_opcode_frag, fix_opcode_offset,
+       fix_bsr): macros to access MD fields in fix structure.
+       * config/tc-ns32k.c: Avoid overlength lines. Align comments.  Don't
+       use struct opcode_location as these fields are now in the frag
+       structure.
+       (convert_iif): Call frag_more as it is needed instead
+       of trying to allocate for the whole insn. Avoid call of frag_more
+       with negative argument.
+       (md_pcrel_adjust, md_fix_pcrel_adjust, md_apply_fix,
+       md_estimate_size_before_relax, md_pcrel_from,
+       tc_aout_fix_to_chars): use accessor macros to get md fields in fix
+       and frag structures.
+       (fix_new_ns32k, fix_new_ns32k_exp): add new arguments opcode_frag and
+       opcode_offset and remove pcrel_adjust.
+       (convert_iif, cons_fix_new_ns32k): call fix_new_ns32k,
+       fix_new_ns32k_exp with changed arguments.
+
+Mon Nov  3 13:30:17 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * tc-mips.c (md_begin): Reorganize setting of default values so
+       that mips_cpu depends on TARGET_CPU, and mips_opts.isa depends on
+       mips_cpu.
+       (md_parse_option): Remove all code that sets defaults; md_begin
+       handles all of this now.
+
+Sun Nov  2 14:46:09 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.am (STAGESTUFF): Change bin_PROGRAMS to
+       noinst_PROGRAMS.
+       (bootstrap, bootstrap2, bootstrap3): Likewise.
+       * Makefile.in: Rebuild.
+
+       * config/tc-ppc.c (ppc_fix_adjustable): Don't adjust relocs in the
+       TOC section to be against the csect.
+
+Fri Oct 31 18:19:55 1997  Ken Raeburn  <raeburn@cygnus.com>
+
+start-sanitize-vr5400
+       * config/tc-mips.c (mips_5400): New variable.
+       (md_begin, md_parse_option): Handle 5400 options/names.
+       (macro_build, mips_ip): Check for 5400-specific instructions.
+       (md_longopts, OPTION_M5400, OPTION_NO_M5400): More command-line
+       support for 5400.
+
+end-sanitize-vr5400
+       * config/tc-mips.c (validate_mips_insn): New function, checks
+       match versus mask bits, and also verifies that all bits to be
+       output are actually specified somewhere.
+       (md_begin): Call it for 32-bit instructions, instead of doing
+       match/mask check here.  In case of failure, print a message, but
+       check the rest of the opcode table before exiting.
+
+Thu Oct 30 13:46:20 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-arm.c (md_apply_fix3): Fix thumb ADR pseudo op.  Patch
+       from Tony Thompson at ARM: athompso@arm.com
+
+start-sanitize-d30v
+Thu Oct 30 11:11:26 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * config/tc-d30v.c (build_insn): Allow odd registers for ld2w and
+       friends.
+
+end-sanitize-d30v
+start-sanitize-tx49
+Wed Oct 29 16:22:38 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * config/tc-mips.c (hilo_interlocks): True for tx49.
+       (md_begin): Add mips64tx49.
+       (md_parse_option): Add 4900 cpu.
+       
+end-sanitize-tx49
+Fri Oct 24 15:56:47 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-ppc.c (md_assemble): When handling @l, always sign
+       extend if the operand expects a signed value.
+
+       * config/tc-mips.h (LOCAL_LABELS_DOLLAR): Don't define; use
+       default which is to permit dollar labels.
+
+Fri Oct 24 11:19:22 1997  Jakub Jelinek  <jj@sunsite.mff.cuni.cz>
+
+       * config/tc-sparc.c (sparc_memory_model): New variable.
+       (md_longopts): Add -TSO/-PSO/-RMO options.
+       (md_parse_options): Handle them.
+       (sparc_elf_final_processing): For 64 ELF, set required
+       memory ordering in e_flags. Default to RMO and let the user
+       override it through command line.
+
+       * config/tc-sparc.h (elf_tc_final_processing): Add.
+
+Wed Oct 22 17:42:12 1997  Richard Henderson  <rth@cygnus.com>
+
+       * config/tc-sparc.c (v9a_asr_table): New variable.
+       (sparc_ip): Handle v9a asr's.
+       Patch from David Miller <davem@vger.rutgers.edu>.
+
+Wed Oct 22 17:22:59 1997  Richard Henderson  <rth@cygnus.com>
+
+       * config/tc-sparc.h (md_do_align): New macro.
+       * config/tc-sparc.c (sparc_handle_align): Handle rs_align_code.
+       Patch from Jakub Jelinek <jj@sunsite.mff.cuni.cz>.
+
+Wed Oct 22 12:51:18 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-sh.c (sh_small): New variable.
+       (OPTION_SMALL): Define.
+       (md_longopts): Add "small".
+       (md_parse_option): Handle OPTION_SMALL.
+       (md_show_usage): Mention -small.
+       * config/tc-sh.h (sh_small): Declare.
+       (SUB_SEGMENT_ALIGN): Handle sh_small.
+       * config/obj-coff.h (TARGET_FORMAT): Check sh_small in TC_SH
+       case.
+
+       * config/tc-mips.c (macro): Correct handling of constant in M_LI_D
+       case in little endian mode.
+
+Tue Oct 21 10:20:11 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * config/tc-sparc.c (md_apply_fix3, cases ..._H44, ..._HIX22): Leave
+       overflow signalling to linker.
+
+Mon Oct 20 14:54:06 1997  Klaus K"ampf  <kkaempf@progis.de>
+
+       * makefile.vms: Fix for dec c.
+
+       * config-gas.com: Give explanation for dec c setup in error
+       message.
+
+       * config/tc-alpha.c (s_alpha_comm): Make .comm symbols separate
+       sections on openvms/alpha.
+
+       * config/obj-evax.c: support .weak pseudo-op
+
+Mon Oct 20 10:13:32 1997  Doug Evans  <devans@canuck.cygnus.com>
+
+       * config/tc-sparc.c (default_arch_size): New static local.
+       (struct sparc_arch): Rename arch_size to default_arch_size.
+       New member user_option_p.
+       (sparc_arch_table): Always include v9, v9a.  New entry v9-64.
+       (init_default_arch): Check whether default arch is valid.
+       Set default_arch_size in addition to sparc_arch_size.
+       (OPTION_32,OPTION_64): Define.
+       (md_longopts): New entries for -32, -64.
+       (md_parse_option): Handle them.
+       (md_show_usage): Print them.  Ensure init_default_arch called.
+       * configure.in (sparc64): Set arch to v9-64.
+       * configure: Regenerated.
+
+Sun Oct 19 13:50:50 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * write.c (subsegs_finish): New function, broken out of
+       write_object_file.
+       (write_object_file): Some code moves into subsegs_finish.
+       * write.c (subsegs_finish): Declare.
+       * as.c (main): Call subsegs_finish.
+
+       * read.c (s_include): Check for error return from
+       demand_copy_string.
+
+Tue Oct 14 20:50:58 1997  Richard Henderson  <rth@cygnus.com>
+
+       * read.c (get_line_sb): Accept any eol marker while scanning macros.
+
+Tue Oct 14 19:12:45 1997  Richard Henderson  <rth@cygnus.com>
+
+       * config/tc-alpha.h (DIFF_EXPR_OK): Define.
+       * config/tc-i386.h (DIFF_EXPR_OK): Define.
+       * config/tc-alpha.c (md_apply_fix): Notice fx_pcrel and substitute
+       the correct relocation when it exists.
+       * config/tc-i386.c (md_apply_fix3): Likewise.
+
+       * config/tc-ppc.h: Correct typo in comment.
+       * config/tc-v850.h: Likewise.
+
+Fri Oct 10 16:09:35 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * config/tc-d10v.c (parallel_ok): Allow parallel instruction issue
+       when second instruction is writing to first instructions inputs.
+       
+Mon Oct 13 15:27:17 1997  Richard Henderson  <rth@cygnus.com>
+
+       * ecoff.c (PAGE_SIZE): Double to 8k as a hack to allow some C++
+       templated programs to build with -g.
+
+Fri Oct 10 17:48:29 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-v850.c (md_relax_table): Add support for relaxing
+       unconditional branches.  This patch is courtesy of Jim Wilson. 
+       (md_convert_frag): Fix relaxing of branches.  This patch is
+       courtesy of Jim Wilson.
+       (md_assemble): Create different fixups for conditional and
+       unconditional branches.  This patch is courtesy of Jim Wilson.
+       (md_estimate_size_before_relax): Estimate size of variable part of
+       fixup based on whether it is for a conditional or an unconditional
+       branch.  This patch is courtesy of Jim Wilson.
+       (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss,
+       v850_zbss, v850_rosdata, v850_rozdata, v850_bss): Add call to
+       obj_elf_section_change_hook(). 
+       (v850_comm): New function.
+       (md_pseudo_table): Add new pseudo ops .zcomm, .scomm and .tcomm.
+       (md_begin): Add bss flag to seg_info of bss sections.
+
+       Add support for .scommon, .tcommon and .zcommon sections.
+
+       * config/tc-v850.h (ELF_TC_SPECIAL_SECTIONS): Add .scommon,
+       .zcommon, .tbss, .call_table_data and .call_table_text.
+
+Fri Oct 10 15:01:14 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * configure.in (sparc): Set DEFAULT_ARCH from correct target.
+       * configure: Regenerated.
+
+Fri Oct 10 11:22:45 1997  Martin M. Hunt  <hunt@cygnus.com>
+
+       * config/tc-d10v.c: Fixes to make sure the AT_WORD
+       expression is not confused with -1.
+
+Fri Oct 10 11:54:50 1997  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       * config/tc-d10v.c (parallel_ok): Flag SP as modified for @-sp
+       operand - OPERAND_ATMINUS.
+
+Fri Oct 10 00:47:44 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * config/tc-d10v.c (parallel_ok): Note that auto increment and
+       decrement modify the index register.
+
+Thu Oct  9 15:17:50 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       From Robin Kirkham <Robin.Kirkham@mlb.dmt.csiro.au>:
+       * config/tc-m68k.c (archs): Add 68306, 68307, 68322, 68356, 68334,
+       68336, 68341, 68349.
+       * doc/c-m68k.texi (M68K-Opts): Add -m68ec000 -m68hc000 -m68hc001
+       -m68306, -m68307, -m68322, -m68356, -m68ec020, -m68ec030,
+       -m68ec040, -m68ec060, -m68330, -m68334, -m68336, -m68341,
+       -m68349.
+
+       * doc/Makefile.am (CPU_DOCS): Define.
+       (as.info): Depend upon $(CPU_DOCS).
+       * doc/Makefile.in: Rebuild.
+
+       * configure.in: Remove AM_PROG_INSTALL; it's called by
+       AM_INIT_AUTOMAKE.
+       * configure: Rebuild.
+
+Thu Oct  9 01:44:36 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
+
+       * tc-d10v.h (TC_START_LABEL): Don't define.
+       (tc_frob_label): Define.
+
+Thu Oct  9 00:07:23 1997  J"orn Rennecke  <amylaar@cygnus.co.uk>
+
+       * config/tc-d10v.c (write_2_short): Fix bug that wouldn't allow
+       to pair a branch and link with anything but an exe instruction.
+
+Wed Oct  8 16:28:53 1997  Richard Henderson  <rth@cygnus.com>
+
+       * config/tc-alpha.c (load_expression): Disable the sym+const .got
+       optimization to reduce the alignment surprises for gcc.
+
+Wed Oct  8 16:11:15 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * config/obj-coff.h (TC_SPARC): Don't define TARGET_FORMAT.
+       * config/tc-sparc.c (sparc_target_format): Handle coff here.
+       (sparc_ip): Add %hix,%lox.
+       (md_apply_fix3): Call as_bad_where, not as_bad.
+       Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
+       (tc_gen_reloc): Add support for BFD_RELOC_SPARC_{HIX22,LOX10}.
+
+Wed Oct  8 12:33:32 1997  Richard Henderson  <rth@cygnus.com>
+
+       * configure.in: Change alpha-*-* to alpha*-*-*; config.guess now
+       recognizes alphaev5 etc.
+       * configure: Rebuild.
+
+Wed Oct  8 00:04:05 1997  Gavin Koch  <gavin@cygnus.com>
+
+       * config/tc-mips.c (md_begin): Replace the TARGET_CPU value
+       of mipsr3900 with mipstx39.
+
+       * config/tc-mips.c (mips_ip): Don't print the 'opcode requires 
+       -mipsXX message' if the insn isn't an ISA insn.
+
+Tue Oct  7 12:48:30 1997  Doug Evans  <dje@canuck.cygnus.com>
+
+       * config/tc-sparc.h (TARGET_FORMAT support): Moved to tc-sparc.c.
+       Redefine TARGET_FORMAT to call sparc_target_format.
+       * config/tc-sparc.c (in_unsigned_range): New function.
+       (sparc_arch_size): Make static.
+       (sparc_target_format): New function.
+       (sparc_ip): Delete variable immediate_max.  Rewrite %hi/etc reloc
+       handling.  Add support for %hh,%hm,%lm,%h44,%m44,%l44.
+       (output_insn): Set `fx_no_overflow'.
+       (md_apply_fix3): Handle BFD_RELOC_SPARC_{7,H44,M44,L44}.
+       (tc_gen_reloc): Likewise.
+
+Mon Oct  6 14:04:50 1997  Nick Clifton  <nickc@cygnus.com>
+
+       * config/tc-v850.c (v850_section): Remove.
+
+       * config/obj-elf.c (obj_elf_section): Enhance error message.
+
+Fri Oct  3 15:40:38 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-mips.c: Undef OBJ_COPY_SYMBOL_ATTRIBUTES before
+       including obj-elf.h in OBJ_MAYBE_ELF case.
+       (mips_target_format): Return NULL after abort to avoid warning.
+
+       * ecoff.c (generate_ecoff_stab): Remove unused static function.
+
+       * expr.c (operator): Accept ==.  From Anders Blomdell
+       <anders.blomdell@control.lth.se>.
+
+       * config/atof-ieee.c (gen_to_words): When generating a denormal
+       number, handle an overflow into the smallest normalized number.
+
 Mon Sep 29 15:24:52 1997  J"orn Rennecke <amylaar@cygnus.co.uk>
 
        * as.h, input-scrub.c (new_logical_line): New return value.
@@ -5571,9 +5923,6 @@ Fri Dec  1 11:57:56 1995  Stan Shebs  <shebs@andros.cygnus.com>
 
        * mpw-config.in: Don't always use te-generic.h for emulation.
        (powerpc-apple-macos): Use emulation te-macos.h.
-start-sanitize-gm
-       (mips-gm-magic): New configuration.
-end-sanitize-gm
        * mpw-make.sed (install, install-only): Edit in Mac-specific
        install procedure.
 
This page took 0.02878 seconds and 4 git commands to generate.