From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27264 invoked by alias); 26 Jan 2004 22:39:15 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 27212 invoked from network); 26 Jan 2004 22:39:14 -0000 Received: from unknown (HELO myware.akkadia.org) (24.221.190.179) by sources.redhat.com with SMTP; 26 Jan 2004 22:39:14 -0000 Received: from redhat.com (drepper@myware.akkadia.org [192.168.7.70]) (authenticated bits=0) by myware.akkadia.org (8.12.10/8.12.10) with ESMTP id i0QMQ7Qt015535; Mon, 26 Jan 2004 14:26:07 -0800 Message-ID: <401593FF.6080802@redhat.com> Date: Mon, 26 Jan 2004 22:39:00 -0000 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7a) Gecko/20040118 MIME-Version: 1.0 To: davidm@hpl.hp.com CC: GNU libc hackers Subject: Re: enabling caching for dl_iterate_phdr() References: <16387.9755.753294.37588@napali.hpl.hp.com> <200401170057.i0H0vQag022225@magilla.sf.frob.com> <20040116232931.GL6413@sunsite.ms.mff.cuni.cz> <16399.6885.708290.614809@napali.hpl.hp.com> <20040122062944.GC6811@sunsite.ms.mff.cuni.cz> <16402.2189.718828.875017@napali.hpl.hp.com> <4012D162.1000502@redhat.com> <16405.35582.830546.716126@napali.hpl.hp.com> In-Reply-To: <16405.35582.830546.716126@napali.hpl.hp.com> X-Enigmail-Version: 0.83.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-01/txt/msg00103.txt.bz2 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. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖