gold patch committed: Don't do shstrtab after other sections
Ian Lance Taylor
iant@google.com
Tue Dec 15 22:25:00 GMT 2009
I noticed that the .shstrtab section is marked to be done after all
input sections are complete. That is only necessary if some section
names can change, and that only happens if we are compressing debug
sections. I suspect that we can avoid it even in that case, but in
case this is a conservative change which should make the linker
infinitesimally faster. Committed to mainline.
Ian
2009-12-15 Ian Lance Taylor <iant@google.com>
* layout.cc (Layout::create_shstrtab): Only write out after input
sections if we are compressing debug sections.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1138 bytes
Desc: shstrtab
URL: <https://sourceware.org/pipermail/binutils/attachments/20091215/a594bed0/attachment.bin>
More information about the Binutils
mailing list