This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Start and end of the GOT
- To: Alexandre Oliva <aoliva at redhat dot com>
- Subject: Start and end of the GOT
- From: Joy Mukherjee <jmukherj at csgrad dot cs dot vt dot edu>
- Date: Thu, 13 Sep 2001 22:27:01 -0400 (EDT)
- Cc: <gcc at gcc dot gnu dot org>, <gcc-help at gcc dot gnu dot org>
Alexandre,
Thanks again for your help . I do want to do it at runtime . I am
working on Red Hat Linux (glibc), intel x86, gcc 2.96 ( this I am not very
sure ) . Can you please tell me how this thing might work at runtime ?
Thanks again .
Joy.
Joy Mukherjee
Graduate Student,
Deptt. of CS,
Virginia Tech,
Blacksburg,VA - 24061.
On 13 Sep 2001, Alexandre Oliva wrote:
> On Sep 10, 2001, Joy Mukherjee <jmukherj@csgrad.cs.vt.edu> wrote:
>
> > I want to know the exact addresses where the GOT begins and ends.
> > How can I do that ?
>
> Look for `.got' in the output of `objdump -h'.
>
> In case you want to do it at run-time, it depends on the platform.
>
> --
> Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist *Please* write to mailing lists, not to me
>
>