enabling caching for dl_iterate_phdr()

David Mosberger davidm@napali.hpl.hp.com
Mon Jan 26 23:03:00 GMT 2004


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



More information about the Libc-hacker mailing list