Add new field to bfd_link structure and use it to control how common symbols
are extracted from archives.
This commit is contained in:
parent
deaa100bae
commit
df28dc05d4
|
@ -1,3 +1,8 @@
|
||||||
|
2002-07-31 Ian Dall <ian@sibyl.beware.dropbear.id.au>
|
||||||
|
|
||||||
|
* bfdlink.h )bfd_link_common_skip_ar_symbols): New enum.
|
||||||
|
(struct bfd_link_info): Add new field 'common_skip_ar_symbols'.
|
||||||
|
|
||||||
2002-07-25 Richard Sandiford <rsandifo@redhat.com>
|
2002-07-25 Richard Sandiford <rsandifo@redhat.com>
|
||||||
|
|
||||||
* opcode/mips.h (CPU_R2000): Remove.
|
* opcode/mips.h (CPU_R2000): Remove.
|
||||||
|
|
|
@ -66,6 +66,14 @@ enum bfd_link_hash_type
|
||||||
bfd_link_hash_warning /* Like indirect, but warn if referenced. */
|
bfd_link_hash_warning /* Like indirect, but warn if referenced. */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
enum bfd_link_common_skip_ar_aymbols
|
||||||
|
{
|
||||||
|
bfd_link_common_skip_none,
|
||||||
|
bfd_link_common_skip_text,
|
||||||
|
bfd_link_common_skip_data,
|
||||||
|
bfd_link_common_skip_all
|
||||||
|
};
|
||||||
|
|
||||||
/* The linking routines use a hash table which uses this structure for
|
/* The linking routines use a hash table which uses this structure for
|
||||||
its elements. */
|
its elements. */
|
||||||
|
|
||||||
|
@ -343,6 +351,10 @@ struct bfd_link_info
|
||||||
|
|
||||||
/* How many spare .dynamic DT_NULL entries should be added? */
|
/* How many spare .dynamic DT_NULL entries should be added? */
|
||||||
unsigned int spare_dynamic_tags;
|
unsigned int spare_dynamic_tags;
|
||||||
|
|
||||||
|
/* Criteria for skipping symbols when detemining
|
||||||
|
whether to include an object from an archive. */
|
||||||
|
enum bfd_link_common_skip_ar_aymbols common_skip_ar_aymbols;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* This structures holds a set of callback functions. These are
|
/* This structures holds a set of callback functions. These are
|
||||||
|
|
Loading…
Reference in New Issue