From e2153196343ab5120efa49044081baaeeae8a293 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 11 Jul 2011 16:19:51 +0000 Subject: PR gold/12979 * options.h (class General_options): Add -Bgroup. * options.cc (General_options::finalize): If -Bgroup is set, default to --unresolved-symbols=report-all. * layout.cc (Layout::finish_dynamic_section): Implement -Bgroup. * target-reloc.h (issue_undefined_symbol_error): Handle --unresolved-symbols=report-all. --- gold/target-reloc.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gold/target-reloc.h') diff --git a/gold/target-reloc.h b/gold/target-reloc.h index 87fa593..832c5d6 100644 --- a/gold/target-reloc.h +++ b/gold/target-reloc.h @@ -203,6 +203,8 @@ issue_undefined_symbol_error(const Symbol* sym) { if (strcmp(u, "ignore-all") == 0) return false; + if (strcmp(u, "report-all") == 0) + return true; if (strcmp(u, "ignore-in-object-files") == 0 && !sym->in_dyn()) return false; if (strcmp(u, "ignore-in-shared-libs") == 0 && !sym->in_reg()) -- cgit v1.1