From: "H. J. Lu" <hjl@lucon.org>
To: binutils@sources.redhat.com
Subject: Slow lang_insert_orphan
Date: Thu, 17 Mar 2005 19:59:00 -0000 [thread overview]
Message-ID: <20050317180506.GA7918@lucon.org> (raw)
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.
next reply other threads:[~2005-03-17 18:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-17 19:59 H. J. Lu [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050317180506.GA7918@lucon.org \
--to=hjl@lucon.org \
--cc=binutils@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).