diff options
author | Ian Lance Taylor <iant@google.com> | 2007-12-21 23:08:25 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2007-12-21 23:08:25 +0000 |
commit | 8d32f93595f28c70f21566384ca1dc8a441297b9 (patch) | |
tree | e15b3e44f7a3b3e81f270f0bdc12d1fe661c4ace /gold/output.cc | |
parent | 2e324ab383362a9497e286b5c56c58a6e40d7170 (diff) | |
download | gdb-8d32f93595f28c70f21566384ca1dc8a441297b9.zip gdb-8d32f93595f28c70f21566384ca1dc8a441297b9.tar.gz gdb-8d32f93595f28c70f21566384ca1dc8a441297b9.tar.bz2 |
Correct handling of non-section symbol in merged section. Avoid some
64-bit signed/unsigned warnings.
Diffstat (limited to 'gold/output.cc')
-rw-r--r-- | gold/output.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gold/output.cc b/gold/output.cc index 3d1d27e..8a9e9b3 100644 --- a/gold/output.cc +++ b/gold/output.cc @@ -1695,8 +1695,6 @@ Output_section::output_address(const Relobj* object, unsigned int shndx, off_t offset) const { gold_assert(object->is_section_specially_mapped(shndx)); - // This can only be called meaningfully when layout is complete. - gold_assert(Output_data::is_layout_complete()); uint64_t addr = this->address() + this->first_input_offset_; for (Input_section_list::const_iterator p = this->input_sections_.begin(); |