* doc/as.texinfo (Symbol Names): Don't use obsolete @ctrl macro.
[binutils-gdb.git] / gas / ChangeLog
index 577802710e3118c9b1ce80f66ddee678d2ff07ed..754dccf5793daa0cec725e3d3adc69aef4b0c5d6 100644 (file)
@@ -1,3 +1,397 @@
+Thu Mar 20 19:18:58 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * doc/as.texinfo (Symbol Names): Don't use obsolete @ctrl macro.
+
+Thu Mar 20 16:49:14 1997  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * config/tc-m68k.c (mri_chip): Replace calls to get_symbol_end by
+       open coded loop that does not require the name to start with a
+       name beginner.
+
+Thu Mar 20 13:42:01 1997  H.J. Lu  <hjl@lucon.org>
+
+       * frags.c (frag_var): Change offset parameter to offsetT.
+       (frag_variant): Likewise.
+       * frags.h (frag_variant, frag_var): Update declarations.
+       * config/tc-m68k.c (struct m68k_it): Change foff field to
+       offsetT.
+       (add_frag): Change off parameter to offsetT.
+       * Several files: Add casts to calls to frag_var.
+
+       * Makefile.in (m68k-parse.c): Depend upon itbl-parse.c, to
+       serialize a parallel make.
+       (itbl-parse.h): Split target out from itbl-parse.c.
+
+Thu Mar 20 12:48:45 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
+
+       * config/m68k-parse.y (motorola_operand): Allow (zdireg,EXPR).
+
+       * 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
+       a equ or assign pseudo-op.
+       (process_pseudo_op): Swap first argument to do_assign for K_ASSIGN
+       and K_EQU, to match documentation.
+
+Thu Feb 27 12:00:03 1997  Michael Meissner  <meissner@cygnus.com>
+
+       * config/obj-coff.c (obj_coff_section): Add 'r' section attribute
+       to denote read-only data sections.
+
+Thu Feb 27 00:26:33 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * config/obj-elf.c (obj_elf_common): Set BSF_OBJECT in flags.
+       * config/tc-sparc.c (s_common): Likewise, if BFD_ASSEMBLER.
+
+       * expr.c (operand): Simplify 0b handling.  Don't treat 0b as a
+       binary number if the next character is '+' or '-'.
+
+start-sanitize-tic80
+Wed Feb 26 20:47:12 1997  Fred Fish  <fnf@cygnus.com>
+
+       * config/tc-tic80.c (FLT_CHARS): Change from "dD" to "fF".
+       (find_opcode): Match operands that can be floats.
+       (build_insn): Handle O_big (float) expressions and build
+       correct opcode.
+
+end-sanitize-tic80
+Wed Feb 26 18:19:00 1997  Stan Shebs  <shebs@andros.cygnus.com>
+
+       * configure.in (mips*-*-lnews*): New target, also make empty
+       emulation list for this target.
+       * configure: Update.
+       * tc-mips.c (ECOFF_LITTLE_FORMAT): Define.
+       (mips_target_format): Use.
+       * te-lnews.h: New file.
+
+start-sanitize-tic80
+Wed Feb 26 15:33:46 1997  Fred Fish  <fnf@cygnus.com>
+
+       * config/tc-tic80.c (find_opcode, build_insn): Changes to match
+       operands with :m or :s modifiers and generate the right opcodes
+       for them.
+
+end-sanitize-tic80
+Wed Feb 26 11:56:11 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * Makefile.in (itbl-parse.c itbl-parse.h): Use $(BISON) and
+       $(BISONFLAGS), not $(YACC) and $(YACCFLAGS).
+
+Tue Feb 25 22:02:23 1997  Philippe De Muyter  <phdm@info.ucl.ac.be>
+
+       * config/tc-m68k.c (instring): Useless local declaration of
+       crack_operand removed.
+       * expr.h (expressionS): Changed type of X_op field to operatorT if
+       __GNUC__.
+
+Tue Feb 25 13:17:27 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       Based on patches from Robert Lipe <robertl@dgii.com>:
+       * configure.in: Add i386coff and i386elf to emulation list.
+       * configure: Rebuild.
+       * as.c (i386coff, i386elf): Declare.
+       * obj.h (coff_format_ops): Declare.
+       * config/obj-coff.c (OBJ_HEADER): Define.
+       (coff_obj_symbol_new_hook): Rename from obj_symbol_new_hook.
+       (coff_obj_read_begin_hook): Rename from obj_read_begin_hook.
+       (obj_pseudo_table): Add "version".
+       (coff_pop_insert): New static function.
+       (coff_sec_sym_ok_for_reloc): New static function.
+       (no_func): New static function.
+       (coff_format_ops): New variable.
+       * config/obj-coff.h (coff_obj_symbol_new_hook): Declare.
+       (obj_symbol_new_hook): Define.
+       (coff_obj_read_begin_hook): Declare.
+       (obj_read_begin_hook): Define.
+       * config/tc-i386.h (i386_target_format): Declare.
+       * config/tc-i386.c: Check OBJ_MAYBE_ELF as well as OBJ_ELF; check
+       OUTPUT_FLAVOR when appropriate.
+       (i386_target_format): New function.
+       * Makefile.in (obj-coff.o): New target.
+       (e-i386coff.o, e-i386elf.o): New targets.
+
+       From Stephen Williams <steve@icarus.icarus.com>:
+       * config/tc-i960.h (TC_SYMFIELD_TYPE): Define if OBJ_COFF.
+       (_tc_get_bal_of_call): Don't declare.
+       (tc_get_bal_of_call): Declare as function, don't define as macro.
+       * config/tc-i960.c (tc_set_bal_of_call): If OBJ_COFF, store balP
+       in sy_tc field, not x_balntry field.
+       (tc_get_bal_of_call): Rename from _tc_get_bal_of_call.  Change
+       return type to symbolS *.  If OBJ_COFF, retrieve value from sy_tc
+       field, not x_balntry field.
+
+       * config/obj-elf.c (obj_elf_section): Permit a .note section to
+       have the SHF_ALLOC attribute.
+
+       * Makefile.in ($(OBJS)): Don't depend upon $(IT_HDRS).
+       (TARG_CPU_DEP_mips): Depend upon $(srcdir)/itbl-ops.h.
+       (itbl-lex.o): Depend upon itbl-parse.h.
+
+       * itbl-parse.y (yyerror): Change return type to int.  Change to
+       use old style function declaration.
+
+       * Makefile.in (itbl-lex.o): Remove -Wall.
+       (itbl-parse.o): Likewise.
+
+       * cond.c (s_ifdef): If we should omit conditionals from listings,
+       call listing_list.
+       (s_if, s_ifc, s_endif, s_else, s_ifeqs): Likewise.
+       * listing.c (list_info_struct): Add EDICT_NOLIST_NEXT.
+       (listing_listing): Handle EDICT_NOLIST_NEXT.
+       (listing_list): An argument of 2 means EDICT_NOLIST_NEXT.
+       * listing.h (LISTING_NOCOND): Define.
+       (LISTING_SKIP_COND): Define.
+       * as.c (show_usage): Mention c as a suboption of -a.
+       (parse_args): Handle c as a suboption of -a.
+       * doc/as.texinfo: Document -alc.
+
+start-sanitize-tic80
+Mon Feb 24 23:34:14 1997  Fred Fish  <fnf@cygnus.com>
+
+       * config/tc-tic80.c (md_apply_fix): Handle R_ABS type fixups.
+
+end-sanitize-tic80
+Mon Feb 24 18:27:43 1997  Eric Youngdale  <eric@andante.jic.com>
+
+       * doc/as.texinfo: Document .symver.
+
+Mon Feb 24 15:19:57 1997  Martin M. Hunt  <hunt@pizza.cygnus.com>
+
+       * config/tc-d10v.c: Change pre_defined_registers to 
+       d10v_predefined_registers and reg_name_cnt to d10v_reg_name_cnt.
+
+Mon Feb 24 10:40:45 1997  Fred Fish  <fnf@cygnus.com>
+
+       * config/obj-coff.c: Fix typo in comment section.
+start-sanitize-tic80
+       * config/tc-tic80.c (md_pseudo_table): Add entry for bss, which takes
+       an additional alignment argument.
+       (find_opcode): Allow O_symbol relocs for any 32 bit field, not just
+       base relative ones.
+       (build_insn): Handle O_symbol relocs for any 32 bit field, not just
+       base relative ones.
+end-sanitize-tic80
+
+Mon Feb 24 02:23:00 1997  Dawn Perchik  <dawn@cygnus.com>
+
+       * Makefile.in: Remove dependancies on itbl-cpu.h.
+       * as.c: Define stubs for itbl_parse and itbl_init if HAVE_ITBL_CPU 
+       is not defined.
+
 Mon Feb 24 02:03:00 1997  Dawn Perchik  <dawn@cygnus.com>
 
        * itbl-ops.h: Include as.h.