diff options
author | Ian Lance Taylor <iant@google.com> | 2007-11-14 07:34:53 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-11-14 07:34:53 +0000 |
commit | e2827e5f525574e8620bd43c8bcb27dba3407a7f (patch) | |
tree | a72625b3bd98a7beb23dde4aad331598572564f3 /gold/parameters.cc | |
parent | a55ce7febfaa52670ce3d9c236d3033de80ac091 (diff) | |
download | gdb-e2827e5f525574e8620bd43c8bcb27dba3407a7f.zip gdb-e2827e5f525574e8620bd43c8bcb27dba3407a7f.tar.gz gdb-e2827e5f525574e8620bd43c8bcb27dba3407a7f.tar.bz2 |
Warn about undefined references in shared libraries if we have seen
all the DT_NEEDED entries for that library.
Diffstat (limited to 'gold/parameters.cc')
-rw-r--r-- | gold/parameters.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gold/parameters.cc b/gold/parameters.cc index f332134..b96221a 100644 --- a/gold/parameters.cc +++ b/gold/parameters.cc @@ -33,7 +33,8 @@ namespace gold Parameters::Parameters(Errors* errors) : errors_(errors), output_file_name_(NULL), output_file_type_(OUTPUT_INVALID), sysroot_(), - strip_(STRIP_INVALID), symbolic_(false), detect_odr_violations_(false), + strip_(STRIP_INVALID), allow_shlib_undefined_(false), + symbolic_(false), detect_odr_violations_(false), optimization_level_(0), export_dynamic_(false), is_doing_static_link_valid_(false), doing_static_link_(false), is_size_and_endian_valid_(false), size_(0), is_big_endian_(false) @@ -47,6 +48,7 @@ Parameters::set_from_options(const General_options* options) { this->output_file_name_ = options->output_file_name(); this->sysroot_ = options->sysroot(); + this->allow_shlib_undefined_ = options->allow_shlib_undefined(); this->symbolic_ = options->symbolic(); this->detect_odr_violations_ = options->detect_odr_violations(); this->optimization_level_ = options->optimization_level(); |