aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-10-22 13:33:49 +0000
committerAlan Modra <amodra@gmail.com>2012-10-22 13:33:49 +0000
commit0e86e20e046ab38f95fb405f91a7b3a1ec7d7aba (patch)
treec2a68a3c1a476de3ae7a0aed1995bac6e3bed1ec /ld/ldmain.h
parentef8e09a0817e4636f5523afc2feac00a4f173977 (diff)
downloadgdb-0e86e20e046ab38f95fb405f91a7b3a1ec7d7aba.zip
gdb-0e86e20e046ab38f95fb405f91a7b3a1ec7d7aba.tar.gz
gdb-0e86e20e046ab38f95fb405f91a7b3a1ec7d7aba.tar.bz2
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldmain.h b/ld/ldmain.h
index 8363833..4d6bb04 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