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()


>>>>> On Mon, 26 Jan 2004 14:26:07 -0800, Ulrich Drepper <drepper@redhat.com> said:

  Uli> 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"

  Uli> _dl_nloaded is not available outside ld.so.

I'm probably missing something obvious, but why is this a problem?  As
far as I can see, _dl_nloaded has the same visibility as _dl_load_subs.

	--david


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