PR 6048
* ehframe.cc (Eh_frame::add_ehframe_input_section): Check whether this->eh_frame_hdr_ is NULL before using it.
This commit is contained in:
parent
c89ad72891
commit
5edd166e7d
2 changed files with 6 additions and 1 deletions
|
@ -557,7 +557,8 @@ Eh_frame::add_ehframe_input_section(
|
|||
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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue