* ehframe.cc (Eh_frame::add_ehframe_input_section): Check whether
this->eh_frame_hdr_ is NULL before using it.
2008-07-24 Ian Lance Taylor <iant@google.com>
+ PR 6048
+ * ehframe.cc (Eh_frame::add_ehframe_input_section): Check whether
+ this->eh_frame_hdr_ is NULL before using it.
+
* dynobj.cc (Versions::Versions): Update comment.
* dynobj.cc (Versions::Versions): If there is an soname, use it as
reloc_type, pcontents,
contents_len, &new_cies))
{
- this->eh_frame_hdr_->found_unrecognized_eh_frame_section();
+ if (this->eh_frame_hdr_ != NULL)
+ this->eh_frame_hdr_->found_unrecognized_eh_frame_section();
for (New_cies::iterator p = new_cies.begin();
p != new_cies.end();