public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "werkt0 at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug libc/11724] ld.so - Initialization and Termination Functions incorrectly ordered
Date: Fri, 18 Jun 2010 20:17:00 -0000	[thread overview]
Message-ID: <20100618201643.28044.qmail@sourceware.org> (raw)
In-Reply-To: <20100618183323.11724.werkt0@gmail.com>


------- Additional Comments From werkt0 at gmail dot com  2010-06-18 20:16 -------
Created an attachment (id=4852)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=4852&action=view)
topological sort implementation for dependency resolution

I've used the implementation of tsort from coreutils here almost verbatim.  One
point of contention might be the (long) cast for comparison in dl-tsort.c - if
there's a better portable pointer equiv integer type that will give a negative
value for subtraction (since pointers won't), that will be fine.  Obviously
this introduces some recursion into ld.so, and I saw in a comment that that is
not desirable.	This implementation works to provide correct init and fini
ordering for everything I've thrown at it.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11724

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


  parent reply	other threads:[~2010-06-18 20:17 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-18 18:33 [Bug libc/11724] New: " werkt0 at gmail dot com
2010-06-18 18:40 ` [Bug libc/11724] " werkt0 at gmail dot com
2010-06-18 20:17 ` werkt0 at gmail dot com [this message]
2010-06-19 19:17 ` drepper at redhat dot com
2010-06-21 20:12 ` werkt0 at gmail dot com
2010-06-22 11:28 ` schwab at linux-m68k dot org
2010-06-22 16:55 ` werkt0 at gmail dot com
     [not found] <bug-11724-131@http.sourceware.org/bugzilla/>
2010-11-18 14:15 ` schwab@linux-m68k.org
2011-01-20  1:10 ` drepper.fsp at gmail dot com
2011-08-02 20:21 ` werkt0 at gmail dot com
2011-10-29 17:30 ` drepper.fsp at gmail dot com
2014-06-30 17:46 ` fweimer at redhat dot com

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=20100618201643.28044.qmail@sourceware.org \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@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).