This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14274] New: Split usage of l_initfini and l_searchlist.
- From: "carlos_odonell at mentor dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Thu, 21 Jun 2012 13:28:06 +0000
- Subject: [Bug libc/14274] New: Split usage of l_initfini and l_searchlist.
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14274
Bug #: 14274
Summary: Split usage of l_initfini and l_searchlist.
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: unassigned@sourceware.org
ReportedBy: carlos_odonell@mentor.com
CC: drepper.fsp@gmail.com
Classification: Unclassified
The dynamic linker creates one large array for l_initfini, actually twice what
it needs, and uses half of the array for l_initfini and the other half for
l_searchlist.
This doesn't make any sense and the l_initfini array should be split into two.
In fact it is reusing one one array that caused BZ#13579.
Once you split l_initfini from l_searchlist you can manage their allocation and
deallocation independently.
See dl-close.c for the location where l_initfini is reused for l_searchlist.
See dl-deps.c(_dl_map_object_deps) where we create the shared array.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.