From: Ian Lance Taylor Date: Mon, 6 Jun 1994 18:43:21 +0000 (+0000) Subject: * bfdlink.h (struct bfd_link_hash_entry): Remove written field: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ceb7942c3faae8c7236987024c764019b8e47da;p=binutils-gdb.git * bfdlink.h (struct bfd_link_hash_entry): Remove written field: not needed for all backends. --- diff --git a/include/bfdlink.h b/include/bfdlink.h index ad71ca4ec19..4fa6b447c4b 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. */ }; @@ -343,6 +342,12 @@ struct bfd_link_order /* Value to fill with. */ unsigned int value; } 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