This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/11724] ld.so - Initialization and Termination Functions incorrectly ordered
- From: "werkt0 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Jun 2010 20:12:19 -0000
- Subject: [Bug libc/11724] ld.so - Initialization and Termination Functions incorrectly ordered
- References: <20100618183323.11724.werkt0@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From werkt0 at gmail dot com 2010-06-21 20:12 -------
Created an attachment (id=4855)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4855&action=view)
Revised fix including test case (case fails independently in the previous
implementation of ld.so)
Test case added to elf/ as tst-initorder, with a comparison test to make sure
that the initialization occurs in order. This is a failure set for the
previous implementation.
I've also done a couple of tweaks to the existing patch, returning instead of
trying to sort if we run out of memory during fini. Technically the previous
implementation could be used if memory allocation fails, since it does not use
any new allocations.
--
What |Removed |Added
----------------------------------------------------------------------------
Attachment #4852 is|0 |1
obsolete| |
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.