This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/5][v2][BZ #15022] Avoid repeated calls to DL_STATIC_INIT


On Wed, Jun 19, 2013 at 4:31 PM, Roland McGrath <roland@hack.frob.com> wrote:
> It seems fine to me.  If HJ can explain the rationale for it being any
> other way in the first place, then we'll have to reconsider.
>
> This affects only mips and ia64.  Their uses are nearly identical so it
> seems unlikely it would break ia64 when you've tested mips.  But prudence
> suggests letting the ia64 maintainer (or whoever else) test and confirm.
>
>

DL_STATIC_INIT is used to initialize variables in ld.so from
static binaries::

http://www.sourceware.org/ml/libc-alpha/2001-01/msg00110.html

The difference between calling from dl_open_worker
and _dl_open is nested locks, which may be a problem.

--
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]