* write.c (set_symtab): Define only if BFD_ASSEMBLER.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index d837b75af77527c59b9d5b5c2e643ed38072c028..d3f72bc9c80e2ec007239a9999949f4c93c0ae6e 100644 (file)
@@ -1,5 +1,135 @@
+Sun Mar 20 14:43:14 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * write.c (set_symtab): Define only if BFD_ASSEMBLER.
+
+Sun Mar 20 12:06:05 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * Makefile.in (STAGESTUFF): Add gasp.new.
+
+Fri Mar 18 20:09:16 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * write.c (symbol_table_frozen): New variable, to be set after
+       bfd_set_symtab is called.
+       (dump_section_relocs): Note whether a symbol is a section symbol
+       or not.
+       (adjust_reloc_syms): For now, always supply an absolute symbol for
+       fixups without symbols but not yet `done'.  Use section_symbol to
+       get the symbol, instead of going directly for abs_symbol.
+       (write_relocs) [DEBUG4]: Abort if any symbol referred to by a
+       reloc is not a section symbol and is not in the symbol table.
+       (set_symtab): New function, broken out from write_object_file.
+       Counts symbol table instead of relying on an earlier count.
+       (write_object_file): Call set_symtab, but do it after potentially
+       invoking the *_frob_file macros.  Don't bother counting symbols.
+       Call symbol_remove, instead of expanding it in place.  Moved the
+       conditionalized `object_file_size' declaration down to
+       conditionalized block where it's used.  When using the absolute
+       symbol for a fixup without a symbol, set sy_used_in_reloc.
+       (write_object_file) [BFD_ASSEMBLER]: Call section_symbol to get
+       the correct symbol for the absolute section.
+
+       * subsegs.c (section_symbol): Use symbol_new instead of
+       symbol_make, since we may want it to go into the symbol table.
+       Make the new symbol have internal linkage.  If
+       obj_sec_sym_ok_for_reloc says it's okay, use the BFD section
+       symbol with the newly created GAS symbol.
+       (obj_sec_sym_ok_for_reloc): Default to always returning 0.
+       * config/obj-aout.h (obj_sec_sym_ok_for_reloc) [BFD_ASSEMBLER]:
+       New macro.
+       * config/obj-elf.h (obj_sec_sym_ok_for_reloc): New macro.
+
+       * config/tc-sparc.c: Include subsegs.h.
+       (in_signed_range): New function.
+       (sparc_ip): Use it.
+       (sparc_ip, case 'i'): Use BFD_RELOC_SPARC13, not _BASE13.
+       (sparc_ip, label "immediate"): Reject constants for pcrel
+       instructions only if the relocation type indicates a "call"
+       instruction and the offset is within range of a "jmpl %g0".  If
+       it's not in range, use the absolute section symbol plus an offset.
+       (md_apply_fix): Use in_signed_range.  Combined _SPARC13 and
+       _BASE13 cases.
+       (tc_gen_reloc): Permit BFD_RELOC_SPARC13.
+
+       * config/ic960coff.mt (TDEFINES): Fixed typo (MANY_SECTIONS, not
+       MANY_SEGMENTS).
+
+       * configure.in: Eliminated all targets using obj-coff but not
+       defining BFD_ASSEMBLER; I think all such targets that are
+       supported will be matched by real CPU-OS combinations earlier in
+       the case statement.
+       (targets *-*-coff*, *-sysv*, *-*-sco*, *-*-sysv32): Deleted.  Made
+       some comments about the dpx2 configuration, but left it disabled,
+       since it couldn't be reached before.
+       (target a29k-amd-ebmonold): Deleted.
+
+Thu Mar 17 13:36:09 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+       * config/tc-hppa.c (pa_import): Correctly handle importing of an
+       already defined symbol.
+
+Wed Mar 16 17:11:37 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * config/tc-mips.c (mips_ip): Only accept overly large values for
+       the 'j' operand if there are no further alternatives for this
+       instruction.
+
+       * config/obj-coffbfd.c (adjust_stab_section): Initialize
+       stabstrseg to SEG_UNKNOWN, not -1.  After loop, check whether it
+       is not SEG_UNKNOWN rather than checking whether it is >= 0.
+
+       * config/tc-mips.c (mips_align): Take new argument, label, and use
+       it instead of global insn_label.
+       (s_align, s_cons, s_float_cons, s_gpword): Save insn_label before
+       call to mips_emit_delay and pass it to mips_align.
+
+Wed Mar 16 11:54:12 1994  Jeffrey A. Law  (law@snake.cs.utah.edu)
+
+        * config/tc-hppa.c (pa_equ): Handle both .reg and .equ correctly.
+
+       * config/tc-hppa.c (pa_callinfo): Accept "millicode" as an
+       argument to a .callinfo directive.  Don't loop forever on errors.
+
+        * config/tc-hppa.c (pa_equ): Use pa_parse_number so that we can
+        use pre-defined registers as arguments.
+
 Mon Mar 14 14:29:45 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
 
+       * write.c (write_object_file): Check both S_IS_LOCAL and
+       S_IS_EXTERNAL when deciding whether to discard a symbol.
+
+       * config-gas.com: Scan Makefile.in, not version.c, for current
+       version number.  Delete all versions of temp files when finished
+       with them.  Create config.h.
+
+       * config/obj-vms.c (VMS_Initialized_Data_Size): Cache symbol
+       values to reduce number of lookups with S_GET_VALUE.  Skip debug
+       symbols to avoid "a really nasty bug".  (From Holger Teutsch,
+       holger@botbso.rhein-main.de.)
+       (VMS_write_object_file): For "__vt.*" symbols, set S_GET_OTHER
+       field.  (Also from Holger Teutsch.)  Watch for a would-be register
+       mask that spans frags.
+
+       * config/obj-coffbfd.c (obj_coff_line): Set symbol lnno field with
+       this_base, not line_base.  (Patch from Andreas Arens,
+       ari@obelix.av.rwth-aachen.de.)
+
+       * config/obj-aout.c (obj_crawl_symbol_chain): Retain symbols that
+       look local if they're exported or undefined.  Used to be done for
+       i960 only.
+
+       * read.c (s_lcomm, s_comm): Print symbol name being redefined.
+       Get it from the looked-up symbol, instead of using the string from
+       the input stream, which is no longer null-terminated.
+       (LEX_PCT): New macro, defaults to 0.
+       (lex_type): Use it for `%'.
+
+       * config/tc-vax.c (md_parse_option): Handle `-h#' option for VMS.
+       (vip_op): Now static, and returns void.  Callers changed.  Added
+       forward decl.
+       (vip): Ditto.  Call as_fatal directly if a program bug is
+       detected.
+       (op_hash): Let default initialization suffice.
+
        * Makefile.in (literal.o): Provide dependencies.
 
        * configure.in: Set new makefile variable OPCODES_LIB.
This page took 0.025875 seconds and 4 git commands to generate.