* bfdlink.h (struct bfd_link_info): Add new field shared.
authorIan Lance Taylor <ian@airs.com>
Thu, 16 Jun 1994 19:29:26 +0000 (19:29 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 16 Jun 1994 19:29:26 +0000 (19:29 +0000)
include/ChangeLog
include/bfdlink.h

index b0d573b..16670bc 100644 (file)
@@ -1,3 +1,26 @@
+Thu Jun 16 15:19:03 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * bfdlink.h (struct bfd_link_info): Add new field shared.
+
+Mon Jun  6 14:39:44 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * bfdlink.h (struct bfd_link_hash_entry): Remove written field:
+       not needed for all backends.
+
+Thu Apr 28 19:06:50 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
+
+       * dis-asm.h (disassembler): Declare.
+
+Fri Apr  1 00:38:17 1994  Jim Wilson  (wilson@mole.gnu.ai.mit.edu)
+
+        * obstack.h: Delete use of IN_GCC to control whether
+        stddef.h or gstddef.h is included.
+
+Tue Mar 22 13:06:02 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
+
+       * bfdlink.h (enum bfd_link_order_type): Add bfd_data_link_order.
+       (struct bfd_link_order): Add data field to union.
+
 Mon Mar 21 18:45:26 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
 
        * bfdlink.h (struct bfd_link_callbacks): Change bitsize argument
@@ -718,5 +741,8 @@ Wed Aug 21 20:32:13 1991  John Gilmore  (gnu at cygint.cygnus.com)
 
 \f
 Local Variables:
+mode: indented-text
+left-margin: 8
+fill-column: 74
 version-control: never
 End:
index 4fa6b44..809e08f 100644 (file)
@@ -62,7 +62,8 @@ struct bfd_link_hash_entry
   struct bfd_hash_entry root;
   /* Type of this entry.  */
   enum bfd_link_hash_type type;
-  /* Undefined and common entries are kept in a linked list through
+
+  /* Undefined and common symbols are kept in a linked list through
      this field.  This field is not in the union because that would
      force us to remove entries from the list when we changed their
      type, which would force the list to be doubly linked, which would
@@ -70,7 +71,15 @@ struct bfd_link_hash_entry
      created, it should be added to this list, the head of which is in
      the link hash table itself.  As symbols are defined, they need
      not be removed from the list; anything which reads the list must
-     doublecheck the symbol type.  Weak symbols are not kept on this
+     doublecheck the symbol type.
+
+     Weak symbols are not kept on this list.
+
+     Defined symbols use this field as a reference marker.  If the
+     field is not NULL, or this structure is the tail of the undefined
+     symbol list, the symbol has been referenced.  If the symbol is
+     undefined and becomes defined, this field will automatically be
+     non-NULL since the symbol will have been on the undefined symbol
      list.  */
   struct bfd_link_hash_entry *next;
   /* A union of information depending upon the type.  */
@@ -148,6 +157,8 @@ struct bfd_link_info
   const struct bfd_link_callbacks *callbacks;
   /* true if BFD should generate a relocateable object file.  */
   boolean relocateable;
+  /* true if BFD should generate a shared object.  */
+  boolean shared;
   /* Which symbols to strip.  */
   enum bfd_link_strip strip;
   /* Which local symbols to discard.  */