From: Ian Lance Taylor Date: Fri, 4 Jan 2008 05:04:56 +0000 (+0000) Subject: Don't create the postprocessing buffer if it already exists. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1bedcac52a2f05841dcdefcd1248ae3393274471;p=binutils-gdb.git Don't create the postprocessing buffer if it already exists. --- diff --git a/gold/output.cc b/gold/output.cc index 8a9e9b3eec7..0e28629d539 100644 --- a/gold/output.cc +++ b/gold/output.cc @@ -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()) {