From 3cc6bebb235f0ffb17c60f111064d6b59e39c386 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 16 Jun 1994 19:29:26 +0000 Subject: [PATCH] * bfdlink.h (struct bfd_link_info): Add new field shared. --- include/ChangeLog | 26 ++++++++++++++++++++++++++ include/bfdlink.h | 15 +++++++++++++-- 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index b0d573b..16670bc 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -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) Local Variables: +mode: indented-text +left-margin: 8 +fill-column: 74 version-control: never End: diff --git a/include/bfdlink.h b/include/bfdlink.h index 4fa6b44..809e08f 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -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. */ -- 2.7.4