* Removed sy_forward and replaced it with an undefined expression
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 9be2a2313736143dc14fa23eab1d457bc6b7e286..87b2827cbe3bd5daf7e9c68e048aaa70322b947e 100644 (file)
@@ -1,3 +1,87 @@
+Wed Jul 14 15:09:32 1993  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * Removed sy_forward and replaced it with an undefined expression
+       as the value of a symbol.
+       * struc-symbol.h (struct symbol): Removed sy_forward field.  Added
+       sy_resolved and sy_resolving single bit fields.
+       * symbols.c (symbol_new): Don't initialize sy_forward field.
+       (resolve_symbol_value): New function to adjust symbol value by
+       fragment address, using recursion to resolve forward symbols.
+       * symbols.h: Added prototype for new function.
+       * read.c (pseudo_set): Set symbolP->sy_value to an undefined
+       expression rather than setting symbolP->sy_forward.
+       * write.c (write_object_file): Use resolve_symbol_value on
+       symbols, keeping the common case (the old behaviour) inline.
+       * config/obj-aout.c (obj_aout_frob_symbol): Removed sy_forward
+       handling (subsumed by write.c change).
+       * config/obj-coff.c, config/obj-coffbfd.c (obj_coff_val): Set
+       sy_value rather than sy_forward.
+       * config/obj-coffbfd.c (obj_coff_endef, yank_symbols): Check
+       expression segment rather than sy_forward.
+       (yank_symbols): Use resolve_symbol_value.
+       (crawl_symbols): Removed extra pass over symbols.
+       * config/obj-aout.c, config/obj-bout.c, config/obj-coff.c,
+       config/obj-vms.c (obj_crawl_symbol_chain): Removed extra pass over
+       symbols which handled sy_forward; use resolve_symbol_value
+       instead.
+       * config/obj-coff.h, config/obj-coffbfd.h (obj_frob_forward_symbol):
+       Define.
+       * config/obj-elf.c (obj_elf_stab_generic): Check expression
+       segment rather than sy_forward.
+       * config/obj-vms.c (VMS_Check_For_Main): Don't initialize
+       sy_forward; do initialize sy_resolved and sy_resolving.
+       * config/tc-hppa.h (STAB_FIXUP): Use sy_value, not sy_forward.
+
+       * Changes to keep a full expression as the value of a symbol, not
+       just a longword:
+       * struc-symbol.h: New field sy_value.
+       * as.h: Include expr.h before struc-symbol.h.
+       * expr.h: Use struct symbol rather than symbolS.
+       * symbols.c (S_GET_VALUE, S_SET_VALUE): Rewrote to retrieve value
+       of sy_value field; compile unconditionally, not just if
+       BFD_ASSEMBLER.
+       * symbols.h: Compile S_{SG}ET_VALUE prototypes unconditionally.
+       * write.c (write_object_file): Set BFD symbol value to gas symbol
+       value.
+       * config/obj-aout.h, config/obj-bout.h, config/obj-coff.h,
+       config/obj-coffbfd.h, config/obj-generic.h, config/obj-vms.h
+       (S_GET_VALUE, S_SET_VALUE): Removed macro definitions.
+       * config/obj-ieee.c (S_GET_VALUE, S_SET_VALUE): Removed.
+       * config/obj-coff.h, obj-coffbfd.h: Rewrote several macros to use
+       S_GET_VALUE rather than ost_entry.n_value.
+       * config/obj-aout.c (obj_symbol_to_chars), config/obj-bout.c
+       (obj_symbol_to_chars), config/obj-coff.c (obj_symbol_to_chars),
+       config/obj-coffbfd.c (symbol_to_chars): Get value to write out
+       using S_GET_VALUE--don't assume it is already set.
+       * config/obj-ieee.c (do_symbols): Set BFD symbol value to gas
+       symbol value.
+       * config/obj-vms.c (various): Don't assign directly to
+       S_GET_VALUE; use S_SET_VALUE instead.
+
+Wed Jul 14 09:35:23 1993  Doug Evans  (dje@canuck.cygnus.com)
+
+       * configure.in: Recognize h8300h.
+
+Tue Jul 13 12:09:44 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)
+
+       * config/tc-h8500.c (line_comment_chars): Add hash.
+       (parse_exp, skip_colonthing, build_bytes): Add support for
+       R_H8500_HIGH16 relocation type.
+
+Mon Jul 12 11:15:34 1993  Ken Raeburn  (raeburn@deneb.cygnus.com)
+
+       * config/obj-elf.c (obj_elf_section): Allow `@' to introduce an
+       attribute name.  Handle `execinstr' attribute.
+
+Mon Jul 12 07:22:28 1993  Ian Lance Taylor  (ian@cygnus.com)
+
+       * config/tc-mips.c (mips_ip): Don't warn on 'i' or 'j' mismatch if
+       there is another alternative for the instruction.
+
+Fri Jul  9 17:31:34 1993  Roland H. Pesch  (pesch@fowanton.cygnus.com)
+
+       * doc/as.texinfo: updates for H8/300H
+
 Thu Jul  8 14:41:43 1993  Mark Eichin  (eichin@cygnus.com)
 
        * config/tc-i960.c (md_create_short_jump, md_create_long_jump,
This page took 0.02538 seconds and 4 git commands to generate.