* app.c (do_scrub_next_char): Another attempt to fix bugs
[binutils-gdb.git] / gas / ChangeLog
index edad57ebc87c9aec04c317da595c9419cf7302f5..1d35599d5c1727ec7f8474e482baf5eb49a0f864 100644 (file)
@@ -1,3 +1,280 @@
+Tue Jan 11 21:52:36 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * app.c (do_scrub_next_char): Another attempt to fix bugs
+       dealing with labels without colons (for HPPA and MRI).
+
+Tue Jan 11 17:01:06 1994  Doug Evans  (dje@canuck.cygnus.com)
+
+       * expr.c (integer_constant): Fix computation of too_many_digits.
+       Variable digit_2 renamed to start.  Fix check for whether number
+       will fit in 32 bits.
+       * read.c (emit_expr): Use valueT instead of long.
+
+Tue Jan 11 13:01:20 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/obj-elf.c: If TC_MIPS, include elf/mips.h.
+       (special_sections): Define.
+       (obj_elf_special_section): Get default types and attributes from
+       list of special sections.
+       * config/tc-mips.c (ELF_TC_SPECIAL_SECTIONS): Define.
+
+       * config/obj-ecoff.c (ecoff_frob_file): Force .sdata and .sbss
+       sections to be close together.
+
+       * config/tc-mips.c (macro): Corrected $at warnings in a couple of
+       spots.
+
+       * listing.c (listing_prev_line): New function.
+       * listing.c: Include subsegs.h.
+       (listing_prev_line): New function.
+       (calc_hex): Reset byte_in_frag to zero for each new frag.
+       * config/tc-mips.c (append_insn): Call listing_prev_line after
+       emitting nop instructions.
+       * Makefile.in (listing.o): Depends upon subsegs.h.
+
+>>>>>>> 1.484
+Mon Jan 10 09:52:23 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * config/tc-hppa.c (pa_ip): Put check for missing label on .PROC
+       here.  Handle case where label may be defined after the .PROC.
+       (pa_proc): It is not an error if the procedure's label isn't
+       defined before the .PROC directive.
+
+Sun Jan  9 04:43:30 1994  Ken Raeburn  (raeburn@kr-pc.cygnus.com)
+
+       * config/te-netbsd.h: New file.
+       * config/tc-i386.h (TARGET_FORMAT) [TE_NetBSD]: Use bfd target
+       a.out-netbsd-386 for this configuration.
+
+Fri Jan  7 17:38:28 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * ecoff.c (ecoff_stab): Don't clobber the ECOFF symbol information
+       with the associated stabs information.
+       (ecoff_build_symbols): Never set the type of stabs symbols to
+       st_Global.  Don't update the symbol index or ifd if the gas symbol
+       is not the same as the ECOFF symbol (which is now the case for
+       stabs symbols).
+
+Fri Jan  7 11:14:07 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * config/tc-mips.c (macro): Add a LOSING_COMPILER ifdef that
+       splits the function.
+       (macro2): New function, if LOSING_COMPILER defined.
+
+Fri Jan  7 09:38:25 1994  Steve Chamberlain  (sac@cygnus.com)
+
+       * config/obj-coffbfd.c (fill_section):  Don't ever fill past the
+       end of a section. (write_object_file): Temporary fix - setup
+       stdoutput.
+
+Thu Jan  6 18:05:21 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * config/tc-sparc.c (tc_gen_reloc): Fix handling of addends in
+       non-pcrel_offset relocations.
+
+Thu Jan  6 01:06:40 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/tc-mips.c (mips_ip): Warn about using $1 as well as $at
+       without .set noat.
+
+Wed Jan  5 14:22:22 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * literal.c: New file.
+       * Makefile.in (REAL_SOURCES, OBJS): List it.
+
+       * as.h (DEBUG): Don't define.
+       (struct expressionS, struct fix): Declare in case they're used in
+       prototypes.
+       (add_to_literal_pool) [BFD_ASSEMBLER]: Declare.
+
+       * config/tc-mips.h (TARGET_FORMAT) [OBJ_AOUT]: Fix for new names
+       in bfd.
+
+       * subsegs.c (subseg_get): New function.  Creates segment if
+       needed, returns pointer, but doesn't change current segment.
+       (subseg_new): Use it.
+
+Tue Jan  4 15:12:43 1994  Stan Shebs  (shebs@andros.cygnus.com)
+
+       * Makefile.in (INCLUDES): Add $(srcdir)/.. to places to search.
+       * config/obj-ecoff.c: Include files as "bfd/" instead of "../bfd/".
+       * app.c, flonum.h, hex-value.c (const): Change #if to be more
+       portable.
+
+Tue Jan  4 22:11:34 1994  Rob Savoye  (rob@darkstar.cygnus.com)
+
+        * config/ho-vsta.h, configure.in, .Sanitize: Add support for VSTa
+        micro-kernel.
+
+Thu Dec 30 15:27:16 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * write.c (write_relocs): bfd_perform_relocation now takes an
+       additional argument, to return an error string (which we ignore).
+
+Wed Dec 29 14:37:26 1993  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * write.h (struct fix): Field tc_fix_data should be type PTR, not
+       void*, for compatibility with non-ANSI compilers.  Added
+       single-bit field "fx_done".
+
+Sun Dec 26 14:31:47 1993  Torbjorn Granlund  (tege@adder.cygnus.com)
+
+       * tc-hppa.c (pre_defined_registers): Convert to lower case.
+       Delete spurious register names "%r4L", etc.
+       (selector_table): Sort and convert to lower case.
+       (cons_fix_new_hppa): `reloc_type' => `rel_type'.
+       (pa_ip): Always use strcmp for non-text and strcasecmp for text.
+       (reg_name_search): Rewrite to call strcasecmp only once per
+       iteration.
+       (pa_chk_field_selector): Rewrite to use binary search.
+       (pa_parse_neg_add_cmpltr): Use strcasecmp for completer comparisons.
+       (pa_parse_space_stmt): $TEXT$ and $PRIVATE$ are symbols; use case
+       sensitive comparisons.
+       (pa_parse_space_stmt): Canonicalize strncasecmp arg to lower case.
+       (pa_space): "$text$" => "$TEXT$"; "$private$" => "$PRIVATE$".  Use
+       case sensitive comparison for all symbolic names.
+       (pa_subspace): Canonicalize strncasecmp arg to lower case.
+       (pa_subspace_start): Use case sensitive comparison for symbolic names.
+
+Mon Dec 20 10:37:48 1993  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * write.c (adjust_reloc_syms) [RELOC_REQUIRES_SYMBOL]: If no
+       symbol is present (i.e., relocation against absolute), create a
+       phony local symbol, and use it in the reloc.
+       (fixup_segment): When adjusting a reloc with an absolute symbol,
+       have TC_FORCE_RELOCATION control clearing add_symbolP too.
+       * config/tc-sparc.h (RELOC_REQUIRES_SYMBOL): Define, for OBJ_COFF.
+
+       * symbols.c (S_IS_EXTERNAL, S_IS_LOCAL): Don't use both BSF_EXPORT
+       and BSF_GLOBAL, since they're the same.
+
+       * as.c (main): Only invoke md_end if it's defined as a macro.
+       * tc.h (md_end): Don't declare it.
+       * config/tc-*.[ch] (md_end): Deleted, in cases where it doesn't do
+       anything.
+       * config/tc-vax.c (vip_end): Deleted null function.
+       * config/tc-mips.c (md_mips_end): Renamed from md_end.
+       * config/tc-mips.h (md_mips_end): Declare.
+       (md_end): New macro, calls md_mips_end.
+
+       * write.c (write_object_file): Don't close output file.
+       * as.c (main): Close output file (if needed) after calling
+       listing_print, which should be after calling write_object_file,
+       which sets the frag addresses.
+
+       * config/obj-coff.c (obj_coff_dim, obj_coff_endef, obj_coff_line,
+       obj_coff_scl, obj_coff_size, obj_coff_tag, obj_coff_type,
+       obj_coff_val): Add unused int argument to satisfy prototypes; goes
+       with Ian's 10 Sep changes.
+       (S_GET_DATA_TYPE, S_SET_DATA_TYPE, S_GET_STORAGE_CLASS,
+       S_SET_STORAGE_CLASS): Now function instead of macros.
+       (obj_emit_lineno) [BFD_ASSEMBLER]: Deleted.
+       (tag_insert): Local var ERROR_STRING is const.  Use "const" not
+       "CONST" for argument NAME.  Fixed prototype.
+       (coff_frob_symbol): Removed explicit "#if 1" directive.  If
+       S_IS_EXTERNAL, set storage class to C_EXT.
+       (s_get_name): Use "const" not "CONST".
+       * config/obj-coff.h (S_GET_DATA_TYPE, S_SET_DATA_TYPE,
+       S_GET_STORAGE_CLASS, S_SET_STORAGE_CLASS): Deleted.
+       (obj_emit_lineno): Declare only for non-BFD_ASSEMBLER.  For
+       BFD_ASSEMBLER, define as macro that aborts.
+       (obj_extra_stuff, tc_headers_hook): Declare only for
+       non-BFD_ASSEMBLER.
+       (coff_frob_symbol): Fix prototype.
+
+Sun Dec 19 00:37:20 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
+
+       * config/tc-sparc.c (tc_gen_reloc): Test of pcrel_offset had sense
+       reversed.
+
+Thu Dec 16 21:13:11 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * config/tc-hppa.c (md_begin): Initialize "dummy_label".
+       (tc_gen_reloc, SOM version): For relocations which have no symbol,
+       set sym_ptr_ptr to dummy_label.  Avoids lossage in generic BFD code.
+
+Thu Dec 16 16:07:56 1993  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * read.c (lex_type): No longer make '[' a valid character for
+       symbol names.
+
+       * config/tc-vax.c (tc_aout_fix_to_chars): Local variable
+       NBYTES_R_LENGTH now const.
+
+       * config/obj-*.c, config/tc-*.c: Omit superfluous "return"
+       statements at ends of functions.  Don't check for null return from
+       hash_new, since it won't return at all if there's no memory
+       available.  Also, check for null return from hash_insert, rather
+       than zero-length string, as success indicator.
+
+       * subsegs.c (section_symbol): New function.
+       * subsegs.h (section_symbol): Declare.
+       * write.c (adjust_reloc_syms): Use it.
+
+Wed Dec 15 15:39:53 1993  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * Makefile.in (RUNTEST): New variable.
+       (CHECKFLAGS): Pass it down.
+
+       * ecoff.c (ecoff_directive_frame): Permit extra trailing operands;
+       unused for now, but supplied by Alpha OSF1 compiler.
+
+       * as.h: Protect against multiple inclusions.
+       (int_to_gen): Don't declare.
+
+       * config/atof-vax.c (atof_vax): NULL is not a valid character
+       constant.
+
+Tue Dec 14 21:38:25 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * configure.in (hppa*-*-osf*): Do not consider this a developmental
+       configuration.
+
+       * config/tc-hppa.c (md_apply_fix): Handle cases where no
+       relocation will be emitted for 32bit formats.
+
+Mon Dec 13 23:33:40 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * config/tc-hppa.c (md_apply_fix): Do not call hppa_field_adjust
+       for any of the 'T' field selectors.
+
+Sat Dec 11 11:23:12 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
+
+       * config/tc-h8500.c (build_bytes): Get reloc type right for a
+       %page operation. (md_assemble): Don't modify input_line_pointer.
+       (mdcoff_sizemachdep): New function.
+       * config/tc-h8500.h (TC_COFF_SIZEMACHDEP): New macro.
+       * config/tc-z8k.c (get_operand): Delete bogus check.
+
+Wed Dec  8 16:31:51 1993  Ken Raeburn  (raeburn@rtl.cygnus.com)
+
+       * write.c (number_to_chars_*): Delete bogus range check.
+
+       * output-file.c (TARGET_ARCH): No default.
+
+Tue Dec  7 16:02:53 1993  Steve Chamberlain  (sac@jonny.cygnus.com)
+
+       * config/tc-sh.c (md_convert_frag): Truncate disps before calling
+       md_number_to_chars.  (md_assemble): Don't modify
+       input_line_pointer.
+
+Mon Dec  6 11:49:03 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * config/tc-h8300.c (md_assemble): Don't update input_line_pointer.
+
+Mon Dec  6 11:20:02 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * config/obj-som.[ch] (obj_read_begin_hook): Remove last change.
+       Breaks with the HP compilers.
+
+       * config/tc-hppa.c (struct call_info): Remove fields which were
+       set but never used.  Remove all code which sets those fields.
+       (struct subspace_dictionary_chain): Likewise.
+       (struct space_dictionary_chain): Likewise.
+       (pa_desc): Delete useless function.  Delete all references.
+       (hppa_tc_make_sections): No need to count the number of symbols for
+       the symbol extension section. 
+
 Sun Dec  5 17:05:29 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)
 
        * config/obj-som.c (obj_som_version): Pass version string to