This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Start and end of the GOT
On Mon, Sep 17, 2001 at 03:17:52PM -0700, Richard Henderson wrote:
> On Fri, Sep 14, 2001 at 08:33:21PM -0400, Joy Mukherjee wrote:
> > True, but %ebx just contains the start address of the GOT. How do I get
> > the END address ? or in other words , how do I get its size ?
>
> You can't.
Well, assuming IA-32 and nobody playing with linker scripts, end will be
_DYNAMIC because .sdata2/.sbss2 sections are usually not used on IA-32.
Jakub