Address of variables in the bss/text segments of a shared library

2007-03-13 Thread Scott Brooks
When I use &__bss_start, &_end, in a shared library I get the addresses of the __bss_start and _end of the main application that has loaded the library. I would like to get the address of the bss/text segments of the shared library itself. Thanks Scott Brooks

Re: Address of variables in the bss/text segments of a shared library

2007-03-13 Thread Paul Brook
On Wednesday 14 March 2007 00:36, Scott Brooks wrote: > When I use &__bss_start, &_end, in a shared library I get the addresses of > the __bss_start and _end of the main application that has loaded the > library. > > I would like to get the address of the bss/text segments of the shared > library i