aboutsummaryrefslogtreecommitdiff
path: root/include/bfdlink.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-07-31 12:50:09 +0000
committerNick Clifton <nickc@redhat.com>2002-07-31 12:50:09 +0000
commitf7c33884fa544b222c98aee4a34c47686f62229f (patch)
treed9d76352ac488fc9361b324b7850ebc1d18e3456 /include/bfdlink.h
parent8f64befb294f61bb55b79152b628a332dc1d2e3b (diff)
downloadgdb-f7c33884fa544b222c98aee4a34c47686f62229f.zip
gdb-f7c33884fa544b222c98aee4a34c47686f62229f.tar.gz
gdb-f7c33884fa544b222c98aee4a34c47686f62229f.tar.bz2
Add new field to bfd_link structure and use it to control how common symbols
are extracted from archives.
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r--include/bfdlink.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h
index 63f5ecd..c36564f 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -66,6 +66,14 @@ enum bfd_link_hash_type
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
its elements. */
@@ -343,6 +351,10 @@ struct bfd_link_info
/* How many spare .dynamic DT_NULL entries should be added? */
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