Symbols for address space bounds
Boehm, Hans
hans_boehm@hp.com
Wed Feb 5 01:55:00 GMT 2003
I finally integrated this into the most recent collector distribution. It seems to work fine, thanks.
However, I don't think we ever resolved the issue about the stack base, and particularly a replacement for __libc_ia64_register_backing_store_base and __libc_stack_end. The problem is that I need to determine this from a library without control over the main program. Any ideas? (You suggested fixing pthread_getattr_np for the main stack. That would be nice, but that it inappropriate in the single-threaded case.)
Thanks.
Hans
> -----Original Message-----
> From: Roland McGrath [mailto:roland@redhat.com]
> Sent: Wednesday, December 11, 2002 12:52 PM
> To: Boehm, Hans
> Cc: MOSBERGER, DAVID (HP-PaloAlto,unix3); 'Hans_Boehm@hpl.hp.com';
> 'tromey@redhat.com'; libc-alpha@sources.redhat.com
> 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).
>
More information about the Libc-alpha
mailing list