aboutsummaryrefslogtreecommitdiff
path: root/gold/options.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/options.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/options.h')
-rw-r--r--gold/options.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/options.h b/gold/options.h
index 817d0f0..8fa59d7 100644
--- a/gold/options.h
+++ b/gold/options.h
@@ -643,6 +643,9 @@ class General_options
DEFINE_bool_alias(dn, Bdynamic, options::ONE_DASH, '\0',
N_("alias for -Bstatic"), NULL, true);
+ DEFINE_bool(Bgroup, options::ONE_DASH, '\0', false,
+ N_("Use group name lookup rules for shared library"), NULL);
+
DEFINE_bool(Bsymbolic, options::ONE_DASH, '\0', false,
N_("Bind defined symbols locally"), NULL);