Don't create the postprocessing buffer if it already exists.

This commit is contained in:
Ian Lance Taylor 2008-01-04 05:04:56 +00:00
parent aacd03c3bb
commit 1bedcac52a

View File

@ -1845,7 +1845,9 @@ void
Output_section::create_postprocessing_buffer()
{
gold_assert(this->requires_postprocessing());
gold_assert(this->postprocessing_buffer_ == NULL);
if (this->postprocessing_buffer_ != NULL)
return;
if (!this->input_sections_.empty())
{