diff options
author | Ian Lance Taylor <iant@google.com> | 2008-01-04 05:04:56 +0000 |
---|---|---|
committer | Ian Lance Taylor <iant@google.com> | 2008-01-04 05:04:56 +0000 |
commit | 1bedcac52a2f05841dcdefcd1248ae3393274471 (patch) | |
tree | 126246a04716b8c72eeec72f527cb0723cb9a7d4 /gold/output.cc | |
parent | aacd03c3bbb0aa30e6524c4fab5d2679819b13f3 (diff) | |
download | gdb-1bedcac52a2f05841dcdefcd1248ae3393274471.zip gdb-1bedcac52a2f05841dcdefcd1248ae3393274471.tar.gz gdb-1bedcac52a2f05841dcdefcd1248ae3393274471.tar.bz2 |
Don't create the postprocessing buffer if it already exists.
Diffstat (limited to 'gold/output.cc')
-rw-r--r-- | gold/output.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gold/output.cc b/gold/output.cc index 8a9e9b3..0e28629 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()) { |