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]

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


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