From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joy Mukherjee To: Alexandre Oliva Cc: , Subject: Re: Start and end of the GOT Date: Fri, 14 Sep 2001 17:33:00 -0000 Message-id: References: X-SW-Source: 2001-09/msg00582.html 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 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 > >