This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Symbols for address space bounds

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.)



> -----Original Message-----
> From: Roland McGrath []
> Sent: Wednesday, December 11, 2002 12:52 PM
> To: Boehm, Hans
> Cc: MOSBERGER, DAVID (HP-PaloAlto,unix3); '';
> '';
> 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 (

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]