aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-06 18:43:21 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-06 18:43:21 +0000
commit6ceb7942c3faae8c7236987024c764019b8e47da (patch)
tree5c537434d1cfe7dc4f237702b3ff3500e7042467
parent35fee729f248d6a0bbbd9ec121c1838bfe241c81 (diff)
downloadgdb-6ceb7942c3faae8c7236987024c764019b8e47da.zip
gdb-6ceb7942c3faae8c7236987024c764019b8e47da.tar.gz
gdb-6ceb7942c3faae8c7236987024c764019b8e47da.tar.bz2
* bfdlink.h (struct bfd_link_hash_entry): Remove written field:
not needed for all backends.
-rw-r--r--include/bfdlink.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h
index ad71ca4..4fa6b44 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -62,8 +62,6 @@ struct bfd_link_hash_entry
struct bfd_hash_entry root;
/* Type of this entry. */
enum bfd_link_hash_type type;
- /* Whether this symbol has been written out. */
- boolean written;
/* Undefined and common entries 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
@@ -308,6 +306,7 @@ enum bfd_link_order_type
bfd_undefined_link_order, /* Undefined. */
bfd_indirect_link_order, /* Built from a section. */
bfd_fill_link_order, /* Fill with a 16 bit constant. */
+ bfd_data_link_order, /* Set to explicit data. */
bfd_section_reloc_link_order, /* Relocate against a section. */
bfd_symbol_reloc_link_order /* Relocate against a symbol. */
};
@@ -345,6 +344,12 @@ struct bfd_link_order
} fill;
struct
{
+ /* Data to put into file. The size field gives the number
+ of bytes which this field points to. */
+ bfd_byte *contents;
+ } data;
+ struct
+ {
/* Description of reloc to generate. Used for
bfd_section_reloc_link_order and
bfd_symbol_reloc_link_order. */