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/ldlex.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/ldlex.h')
-rw-r--r-- | ld/ldlex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldlex.h b/ld/ldlex.h index 5e3d2fcf86..441f673ae0 100644 --- a/ld/ldlex.h +++ b/ld/ldlex.h @@ -135,6 +135,7 @@ enum option_values #endif /* ENABLE_PLUGINS */ OPTION_DEFAULT_SCRIPT, OPTION_PRINT_OUTPUT_FORMAT, + OPTION_IGNORE_UNRESOLVED_SYMBOL, }; /* The initial parser states. */ |