This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: Address of variables in the bss/text segments of a shared library


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

This is the wrong place to ask this question. This list is for the development 
of gcc.

You probably want dl_iterate_phdr.

Paul


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