diff options
author | Ian Lance Taylor <ian@airs.com> | 2011-07-11 16:19:51 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2011-07-11 16:19:51 +0000 |
commit | e2153196343ab5120efa49044081baaeeae8a293 (patch) | |
tree | 915dbb04574e6870b77470be41652cab8fffdb27 /gold/layout.cc | |
parent | ae17ab41b73246a07697e79a36ec28deb51576f2 (diff) | |
download | gdb-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/layout.cc')
-rw-r--r-- | gold/layout.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gold/layout.cc b/gold/layout.cc index 40dd471..8cdf1ec 100644 --- a/gold/layout.cc +++ b/gold/layout.cc @@ -4370,6 +4370,8 @@ Layout::finish_dynamic_section(const Input_objects* input_objects, flags |= elfcpp::DF_1_ORIGIN; if (parameters->options().now()) flags |= elfcpp::DF_1_NOW; + if (parameters->options().Bgroup()) + flags |= elfcpp::DF_1_GROUP; if (flags != 0) odyn->add_constant(elfcpp::DT_FLAGS_1, flags); } |