This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
RE: Symbols for address space bounds
- From: Roland McGrath <roland at redhat dot com>
- To: "Boehm, Hans" <hans_boehm at hp dot com>
- Cc: "MOSBERGER, DAVID (HP-PaloAlto,unix3)" <davidm at hpl dot hp dot com>,"'Hans_Boehm at hpl dot hp dot com'" <Hans_Boehm at hpl dot hp dot com>,"'tromey at redhat dot com'" <tromey at redhat dot com>,libc-alpha at sources dot redhat dot com
- Date: Wed, 11 Dec 2002 12:52:02 -0800
- Subject: RE: Symbols for address space bounds
> That sounds like a good idea. Jakub already supplied a patch to use
> dl_iterate_phdr in the collector whenever possible to find dynamic
> library data segments. Is there any documentation beyond the
> dl_iterate_phdr source code and what Jakub sent me?
There is no documentation for that function. Its interface is trivial.
The callback function gets the address and number of phdrs, which are the
ElfNN_Phdr format defined in <elf.h>. That format and its meaning are
documented in the ELF specs (http://www.caldera.com/developers/gabi).