This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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: enabling caching for dl_iterate_phdr()


> David Mosberger wrote:
> 
> > In the meantime, it occurred to me that we can get rid of one of the
> > "unsigned long long" variables by taking advantage of the fact that
> > "_dl_nloaded == _dl_load_adds - _dl_load_subs"
> 
> _dl_nloaded is not available outside ld.so.

It's part of rtld_global, just like _dl_load_adds is.
We are only talking about dl_iterate_phdr's implementation here.


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