From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11623 invoked by alias); 26 Jan 2010 20:56:56 -0000 Received: (qmail 11615 invoked by uid 22791); 26 Jan 2010 20:56:55 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.33.17) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 26 Jan 2010 20:56:51 +0000 Received: from kpbe16.cbf.corp.google.com (kpbe16.cbf.corp.google.com [172.25.105.80]) by smtp-out.google.com with ESMTP id o0QKulWV002350 for ; Tue, 26 Jan 2010 20:56:48 GMT Received: from fxm20 (fxm20.prod.google.com [10.184.13.20]) by kpbe16.cbf.corp.google.com with ESMTP id o0QKujFe005752 for ; Tue, 26 Jan 2010 12:56:46 -0800 Received: by fxm20 with SMTP id 20so838873fxm.1 for ; Tue, 26 Jan 2010 12:56:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.172.203 with SMTP id t53mr642752wel.56.1264539405503; Tue, 26 Jan 2010 12:56:45 -0800 (PST) In-Reply-To: <20100126204605.GA15882@caradoc.them.org> References: <20100126204119.88F5D84414@ruffy.mtv.corp.google.com> <20100126204605.GA15882@caradoc.them.org> Date: Tue, 26 Jan 2010 20:56:00 -0000 Message-ID: Subject: Re: [patch] solib-svr4.c: Document why we need section info of the dynamic linker. From: Doug Evans To: Doug Evans , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-01/txt/msg00577.txt.bz2 On Tue, Jan 26, 2010 at 12:46 PM, Daniel Jacobowitz wrote: > On Tue, Jan 26, 2010 at 12:41:19PM -0800, Doug Evans wrote: >> + =A0 =A0 =A0/* On at least some versions of Solaris there's a dynamic r= elocation >> + =A0 =A0 =A0on _r_debug.rtld_db_dlactivity (or however it's spelled on = Solaris) > > It's _r_debug.r_brk. =A0The function is _dl_debug_state. Righto. > I'm curious, does bionic use rtld_db_dlactivity (for either the > function name or field name)? The field name is r_brk, the function name (on android) is __dl_rtld_db_dlactivity