public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Slow lang_insert_orphan
@ 2005-03-17 19:59 H. J. Lu
  2005-03-18 10:45 ` Nick Clifton
  0 siblings, 1 reply; 7+ messages in thread
From: H. J. Lu @ 2005-03-17 19:59 UTC (permalink / raw)
  To: binutils

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-03-19  0:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-17 19:59 Slow lang_insert_orphan H. J. Lu
2005-03-18 10:45 ` Nick Clifton
2005-03-18 15:08   ` Alan Modra
2005-03-18 15:17     ` Alan Modra
2005-03-18 16:24     ` H. J. Lu
2005-03-18 20:04     ` Slow lang_output_section_find_1 H. J. Lu
2005-03-19  1:51       ` Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).