* python/python.c (gdbpy_find_pc_line): Call find_pc_line
[deliverable/binutils-gdb.git] / gold / readsyms.cc
index 997472284ae5c2730ea73d1dfb0a20707be08bf3..8e52ccb7f9f21e457d6668df44e73eb5d4d1c7ce 100644 (file)
@@ -602,6 +602,7 @@ Add_symbols::run(Workqueue*)
 
   if (!this->input_objects_->add_object(this->object_))
     {
+      this->object_->discard_decompressed_sections();
       gold_assert(this->sd_ != NULL);
       delete this->sd_;
       this->sd_ = NULL;
@@ -632,6 +633,7 @@ Add_symbols::run(Workqueue*)
        }
       this->object_->layout(this->symtab_, this->layout_, this->sd_);
       this->object_->add_symbols(this->symtab_, this->sd_, this->layout_);
+      this->object_->discard_decompressed_sections();
       delete this->sd_;
       this->sd_ = NULL;
       this->object_->release();
This page took 0.023797 seconds and 4 git commands to generate.