[Bug libc/14274] New: Split usage of l_initfini and l_searchlist.
carlos_odonell at mentor dot com
sourceware-bugzilla@sourceware.org
Thu Jun 21 13:28:00 GMT 2012
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.
More information about the Glibc-bugs
mailing list