This is the mail archive of the
mailing list for the GCC project.
Re: size of the Global Offset Table
- To: "Brian R. Gaeke" <brg at sartre dot dgate dot ORG>
- Subject: Re: size of the Global Offset Table
- From: Joy Mukherjee <jmukherj at csgrad dot cs dot vt dot edu>
- Date: Thu, 13 Sep 2001 22:29:43 -0400 (EDT)
- Cc: <gcc at gcc dot gnu dot org>, <gcc-help at gcc dot gnu dot org>
Thanks a lot . objdump seems to be an external way to do the
stuff. Is there any dynamic way ( at runtime ) of doing the same ? Thanks
Deptt. of CS,
Blacksburg,VA - 24061.
On Thu, 13 Sep 2001, Brian R. Gaeke wrote:
> And then spake Joy Mukherjee, as follows:
> > How can I know what the size of the GOT is for my program ? I would
> > greatly appreciate any help . Thanks a lot.
> You could use GNU "objdump" on the program, and look for the size of the
> ".got" section.
> In ELF binaries, the PLT (procedure lookup table) is used alongside the GOT,
> as well. You might want to read the ELF spec to get the whole story; I'm
> no expert on this.
> Hope this helps.
> -Brian Gaeke.
> Brian R. Gaeke, email@example.com -- PGP/GPG gleefully accepted