This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Slow lang_insert_orphan
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Thu, 17 Mar 2005 10:05:06 -0800
- Subject: Slow lang_insert_orphan
When we have many orphaned sections, lang_insert_orphan spends lots
of time in
/* Unlink the section. */
for (pps = &output_bfd->sections; *pps != snew; pps = &(*pps)->next)
continue;
It is the case of 64K section ld test. Use a doubly linked list
for section may help. But it will add a pointer to bfd_section. Should
I give a try?
H.J.