projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab209b3
)
Don't write unattached after_input sections twice.
author
Ian Lance Taylor
<iant@google.com>
Tue, 18 Dec 2007 21:45:28 +0000
(21:45 +0000)
committer
Ian Lance Taylor
<iant@google.com>
Tue, 18 Dec 2007 21:45:28 +0000
(21:45 +0000)
gold/layout.cc
patch
|
blob
|
history
diff --git
a/gold/layout.cc
b/gold/layout.cc
index ff0425d24de8958090c315751ad6592c24487c42..45980d514544dc86acdddb027a409bfc7f6c03c1 100644
(file)
--- a/
gold/layout.cc
+++ b/
gold/layout.cc
@@
-2043,14
+2043,6
@@
Layout::write_sections_after_input_sections(Output_file* of)
(*p)->write(of);
}
- for (Section_list::const_iterator p = this->unattached_section_list_.begin();
- p != this->unattached_section_list_.end();
- ++p)
- {
- if ((*p)->after_input_sections())
- (*p)->write(of);
- }
-
this->section_headers_->write(of);
}