aboutsummaryrefslogtreecommitdiff
path: root/gold/target-reloc.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2011-07-11 16:19:51 +0000
committerIan Lance Taylor <ian@airs.com>2011-07-11 16:19:51 +0000
commite2153196343ab5120efa49044081baaeeae8a293 (patch)
tree915dbb04574e6870b77470be41652cab8fffdb27 /gold/target-reloc.h
parentae17ab41b73246a07697e79a36ec28deb51576f2 (diff)
downloadgdb-e2153196343ab5120efa49044081baaeeae8a293.zip
gdb-e2153196343ab5120efa49044081baaeeae8a293.tar.gz
gdb-e2153196343ab5120efa49044081baaeeae8a293.tar.bz2
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.
Diffstat (limited to 'gold/target-reloc.h')
-rw-r--r--gold/target-reloc.h2
1 files changed, 2 insertions, 0 deletions
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())