Thu Mar 20 12:48:45 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
[binutils-gdb.git] / gas / ChangeLog
index ecd6ef7f39279d0590bd8f9aaf529e002a0368be..49a58c7f668252ad3d4e1d2a3c25026ee743433a 100644 (file)
@@ -1,5 +1,219 @@
+Thu Mar 20 12:48:45 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
+
+       * config/te-delta.h (COFF_COMMON_ADDEND): Define.
+       * config/obj-coff.c (fixup_segment): Check COFF_COMMON_ADDEND when
+       storing the value of a common symbol.
+
+Wed Mar 19 11:37:57 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
+
+       * config/obj-coff.c (glue_symbols): Unused variable symbolP
+       removed.
+       (crawl_symbols): Do not modify symbol_rootP and symbol_lastP here;
+       that is done by symbol_remove and symbol_insert.
+
+       * config/obj-coff.h (S_IS_LOCAL): Return 0 for a debugging
+       symbol.
+
+Wed Mar 19 11:06:29 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-mips.c (load_register): In 32 bit mode, when not
+       dealing with a 64 bit number, permit the upper 32 bits to be set
+       even if bit 31 is not set.
+
+Tue Mar 18 23:30:14 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * read.c (potable): Add "equiv".
+       (s_set): Handle .equiv based on argument.
+       * doc/as.texinfo (Equiv): New node to document .equiv.
+       (Err): New node to document .err.
+
+Tue Mar 18 15:50:13 1997  H.J. Lu  <hjl@lucon.org>
+
+       * Many files: Add function prototypes.
+       * as.c (show_usage, parse_args): Make static.
+       * frags.h (frag_alloc): Declare.
+       * subsegs.c (subseg_set_rest): Don't declare frag_alloc.
+       * symbols.c (dollar_label_instance): Change return type to long.
+       * symbols.h (print_symbol_value): Declare.
+       (print_expr, print_expr_1, print_symbol_value_1): Declare.
+       * write.c (fix_new_exp): Don't declare make_expr_symbol.
+       (remove_subsegs, relax_frag): Make static.
+       * config/atof-vax.c (atof_vax_sizeof): Change letter to int.
+       (what_kind_of_float): Likewise.
+       (atof_vax): Make static.  Change what_kind to int.
+       (md_atof): Change what_statement_type to int.
+       * config/obj-ecoff.h (obj_ecoff_set_ext): Declare.
+       * config/tc-alpha.c (vax_md_atof): Declare.
+       (md_atof): Don't declare atof_ieee and vax_md_atof.
+       * config/tc-i386.c (set_16bit_code_flag): Make static.
+       * config/tc-i386.h (tc_i386_fix_adjustable): Declare.
+       * config/tc-m68k.c (add_fix): Change width to int.
+       (insert_reg): Change regname to const.
+       (md_atof): Don't declare atof_ieee.
+       (demand_empty_rest_of_line): Don't declare.
+       * config/tc-m88k.c (md_atof): Don't declare atof_ieee.
+       * config/tc-sparc.c (cmp_reg_entry): Change args to const PTR.
+       (parse_keyword_arg): Change lookup_fn to take const arg.
+       (md_atof): Don't declare atof_ieee.
+       * config/tc-sparc.h: Add ifdef for multiple inclusion.
+       (tc_aout_pre_write_hook): Don't declare.
+
+Mon Mar 17 11:21:09 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * as.h (bfd_alloc_by_size_t): Don't declare.
+       * Many files: Use xmalloc rather than bfd_alloc_by_size_t.
+
+Sun Mar 16 13:49:21 1997  Philippe De Muyter <phdm@info.ucl.ac.be>
+
+       * symbols.c (symbol_new): Don't call debug_verify_symchain.
+       (symbol_append): Set sy_next and sy_previous when adding a single
+       symbol to an empty list.  Call debug_verify_symchain.
+       (verify_symbol_chain): Use assert, not know.
+
+Sat Mar 15 20:27:12 1997  Fred Fish  <fnf@cygnus.com>
+
+       * NEWS: Note BeOS support.
+       * configure.in: (ppc-*-beos): New target, use coff as object format.
+       * configure: Regenerate with autoconf.
+       
+Sat Mar 15 19:14:02 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-mips.c (md_apply_fix): Improve error message for out
+       of range branch.
+
+       * Makefile.in: Add dependencies on obstack.h where needed.
+
+Fri Mar 14 15:33:38 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-mips.c (md_estimate_size_before_relax): Handle the
+       case of a symbol equated to another symbol when using SVR4_PIC.
+
+       * Makefile.in (TARG_CPU_DEP_sparc): Add opcode/sparc.h.
+
+Thu Mar 13 11:20:51 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * read.c (read_a_source_file): Call LISTING_NEWLINE before
+       HANDLE_CONDITIONAL_ASSEMBLY when handling an MRI line label.
+
+       * config/obj-elf.c (obj_elf_data): Call md_flush_pending_output
+       and md_elf_section_change_hook if they are defined.
+       (obj_elf_text, obj_elf_previous): Likewise.
+
+Wed Mar 12 11:40:20 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/obj-multi.h (struct elf_obj_sy): Define if
+       OBJ_MAYBE_ELF.
+       (OBJ_SYMFIELD_TYPE): Define as struct elf_obj_sy if
+       OBJ_MAYBE_ELF.
+       * config/obj-elf.h (struct elf_obj_sy): Don't define if
+       OBJ_SYMFIELD_TYPE is defined.
+
+       * doc/as.texinfo (bss): Improve description of .bss section.  In
+       ELF or COFF, you are permitted to switch into the section.
+       (Comm): Rewrite description of common symbols.
+       (Lcomm): Mention that some targets permit a third argument.
+
+Tue Mar 11 01:13:31 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-ppc.c (ppc_elf_lcomm): Don't call S_CLEAR_EXTERNAL.
+
+       * symbols.c (colon): Change type of local to int.  From Alan Modra
+       <alan@spri.levels.unisa.edu.au>.
+
+       * config/tc-m88k.c (m88k_do_align): Don't use a special nop
+       alignment if a zero fill pattern was explicitly specified.
+       * config/tc-sh.c (sh_do_align): Likewise.
+
+       * read.c (equals): Always permit register names to be redefined.
+
+       * config/tc-mips.c (mips_fix_adjustable): Permit a reloc against a
+       mips16 symbol to be adjusted if a symbol is being subtracted from
+       it.
+
+       From Eric Youngdale <eric@andante.jic.com>:
+       * config/obj-elf.c (obj_elf_symver): Check for duplicate or
+       illegal symbol version names.
+       (elf_frob_symbol): Check for external default versions.
+
+Sun Mar  9 23:49:12 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       From Eric Youngdale <eric@andante.jic.com>:
+       * config/obj-elf.h (struct elf_obj_sy): Define.
+       (OBJ_SYMFIELD_TYPE): Define to elf_obj_sy struct.  Change all
+       users.
+       * config/obj-elf.c (obj_elf_symver): Just record the name.
+       (obj_symbol_new_hook): Initialized versioned_name field.
+       (elf_frob_symbol): If there is a versioned_name, either rename the
+       symbol, or add an alias with that name.
+
+Thu Mar  6 13:55:32 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * config/tc-mn10300.c (md_relax_table): Define.
+       (md_convert_frag): Implement.
+       (md_assemble): Handle relaxable operands/instructions correctly.
+       (md_estimate_size_before_relax): Implement.
+       * config/tc-mn10300.h (TC_GENERIC_RELAX_TABLE): Define.
+
+       * config/tc-mn10200.c (md_relax_table): Fix typos.
+
+       * config/tc-mn10300.c (md_assemble): Don't use any MN10300 specific
+       relocs anymore.  Tweak fx_offset for pc-relative relocs.
+
+Wed Mar  5 15:46:16 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * cond.c (s_ifc): Call mri_comment_field and mri_comment_end when
+       in MRI mode.
+
+start-sanitize-tic80
+Tue Mar  4 19:34:21 1997  Fred Fish  <fnf@cygnus.com>
+
+       * config/tc-tic80.c (md_pseudo_table): Add "sect" and "section"
+       pseudo-ops.
+       * config/tc-tic80.c (md_begin): Declare external variable
+       coff_flags and insert an F_AR32WR bit into it.
+
+end-sanitize-tic80
+Tue Mar  4 10:01:04 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * read.c (equals): Add reassign parameter.  Change all callers.
+       * read.h (equals): Update declaration.
+
+Sat Mar  1 01:04:04 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/tc-mips.c (mips16_extended_frag): Don't assume that we
+       can rely on the frag address to determine whether a frag is
+       earlier or later.
+
+Fri Feb 28 14:40:00 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * write.h (LOCAL_LABEL): Only define if not BFD_ASSEMBLER.
+       (S_LOCAL_NAME): Likewise.
+       (FAKE_LABEL_NAME): Define unconditionally.
+       * symbols.c (colon): Call bfd_is_local_label, not LOCAL_LABEL, if
+       BFD_ASSEMBLER.
+       (S_IS_LOCAL): Call bfd_is_local_label_name, not LOCAL_LABEL.
+       * config/tc-*.h: Only define LOCAL_LABEL if not BFD_ASSEMBLER.
+       Don't define FAKE_LABEL_NAME.
+       * config/te-ic960.h: Likewise.
+       * config/tc-mips.h (tc_frob_file_before_adjust): Define.
+       (mips_frob_file_before_adjust): Declare.
+       * config/tc-mips.c (mips_frob_file_before_adjust): New function.
+       (mips_local_label): Remove.
+
+       * config/te-sco386.h: Remove; not used.
+
+start-sanitize-tic80
+Thu Feb 27 15:39:16 1997  Fred Fish  <fnf@cygnus.com>
+
+       * config/tc-tic80 (md_pseudo_table): Add align pseudo op to do
+       byte alignment rather than power-of-two alignment that is the
+       GAS default.
+
+end-sanitize-tic80
 Thu Feb 27 13:29:04 1997  Ian Lance Taylor  <ian@cygnus.com>
 
+       * config/tc-m68k.c (md_assemble): Handle a reloc width of 'W'.
+
        * gasp.c (hash_add_to_string_table): Correct misspelling in error
        message, and add newline.
        (process_file): Don't process assignments in the label if this is