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


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 ? Thank again
for your help .
Joy

Joy Mukherjee
Graduate Student,
Deptt. of CS,
Virginia Tech,
Blacksburg,VA - 24061.

On 14 Sep 2001, Alexandre Oliva wrote:

> On Sep 13, 2001, Joy Mukherjee <jmukherj@csgrad.cs.vt.edu> wrote:
>
> > 	Thanks again for your help . I do want to do it at runtime . I am
> > working on Red Hat Linux (glibc), intel x86
>
> AFAIK, all you have to do is to get the value of ebx in a function
> compiled with -fPIC.
>
> --
> 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
>
>


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