public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Roland McGrath <roland@redhat.com>
To: GNU libc hackers <libc-hacker@sources.redhat.com>
Subject: rtld build changes
Date: Sun, 13 Oct 2002 12:59:00 -0000	[thread overview]
Message-ID: <200210111151.g9BBpCL26260@magilla.sf.frob.com> (raw)

I have committed an updated version of the changes I posted previously to
reorganize the way ld.so is built.  Along with this are several cleanups
and optimizations that this enables, and we may want to do more now that we
have the facility.  These changes are all working fine for me, but I have
only tried builds on x86, ppc, and x86-64, and not done much testing beyond
make check.  So be on the lookout for sudden wierdness and let me know.

So far two things of interest were made possible by building ld.so the new way:

ld.so always uses its own private errno variable (to which all access is
already serialized), and all accesses to it use GOTOFF relocs.  Between
this and some other optimization/cleanups, ld.so has gone from 16 relocs to 9
and that's pretty much as low as it can go.

When libc is using __thread, ld.so still does not.  You can now have one
ld.so installed capable of loading a libc binary built to use __thread or
one built without it.  This also eliminates some startup overhead
(including a system call) from ld.so.

                 reply	other threads:[~2002-10-11 11:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200210111151.g9BBpCL26260@magilla.sf.frob.com \
    --to=roland@redhat.com \
    --cc=libc-hacker@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).