From 0e86e20e046ab38f95fb405f91a7b3a1ec7d7aba Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 22 Oct 2012 13:33:49 +0000 Subject: 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. --- ld/ldlex.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ld/ldlex.h') diff --git a/ld/ldlex.h b/ld/ldlex.h index 5e3d2fc..441f673 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. */ -- cgit v1.1