diff options
author | Alan Modra <amodra@bigpond.net.au> | 2012-10-22 13:33:48 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2012-10-22 13:33:48 +0000 |
commit | 43874b12f02b381690e718a21fa7c61dd2801db7 (patch) | |
tree | 26338b97fab45b883e5e2ca08869ab30bcb02a96 /ld/ldmain.h | |
parent | 5a7c20332184a69689bbbe24d84d0197b7377eb4 (diff) | |
download | binutils-redhat-43874b12f02b381690e718a21fa7c61dd2801db7.tar.gz |
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 'ld/ldmain.h')
-rw-r--r-- | ld/ldmain.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldmain.h b/ld/ldmain.h index 83638339c9..4d6bb04000 100644 --- a/ld/ldmain.h +++ b/ld/ldmain.h @@ -41,6 +41,7 @@ extern int overflow_cutoff_limit; extern void add_ysym (const char *); extern void add_wrap (const char *); +extern void add_ignoresym (struct bfd_link_info *, const char *); extern void add_keepsyms_file (const char *); #endif |