Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <modra@gmail.com>2012-10-22 17:33:48 +0400
committerAlan Modra <modra@gmail.com>2012-10-22 17:33:48 +0400
commit3dfe1f6c694a92cd2d74c0bd9cf341f8a054250b (patch)
tree4b24b2c85da17e8ce85555562898a91e4ddfdbca /include/bfdlink.h
parentb952c0c8d54e1b015218af5b00af73a4b0d962ab (diff)
include/
PR ld/14426 * bfdlink.h (bfd_link_info): Add ignore_hash. ld/ PR ld/14426 * ldlex.h (option_values): Add OPTION_IGNORE_UNRESOLVED_SYMBOL. * lexsup.c (parse_args): Likewise. (ld_options): Describe --ignore-unresolved-symbol. * ldmain.h (add_ignoresym): Declare. * ldmain.c (add_ignoresym): New function, extracted from.. (undefined_symbol): ..here. Return if the symbol is in ignore_hash. (constructor_callback): Don't use global link_info here. (reloc_overflow): Likewise.
Diffstat (limited to 'include/bfdlink.h')
-rw-r--r--include/bfdlink.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/bfdlink.h b/include/bfdlink.h
index d900b4783..aaac24495 100644
--- a/include/bfdlink.h
+++ b/include/bfdlink.h
@@ -435,6 +435,10 @@ struct bfd_link_info
option). If this is NULL, no symbols are being wrapped. */
struct bfd_hash_table *wrap_hash;
+ /* Hash table of symbols which may be left unresolved during
+ a link. If this is NULL, no symbols can be left unresolved. */
+ struct bfd_hash_table *ignore_hash;
+
/* The output BFD. */
bfd *output_bfd;