[patch] solib-svr4.c: Document why we need section info of the dynamic linker.

Doug Evans dje@google.com
Tue Jan 26 20:56:00 GMT 2010


On Tue, Jan 26, 2010 at 12:46 PM, Daniel Jacobowitz
<dan@codesourcery.com> wrote:
> On Tue, Jan 26, 2010 at 12:41:19PM -0800, Doug Evans wrote:
>> +      /* On at least some versions of Solaris there's a dynamic relocation
>> +      on _r_debug.rtld_db_dlactivity (or however it's spelled on Solaris)
>
> It's _r_debug.r_brk.  The 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



More information about the Gdb-patches mailing list