[Prev][Next][Index][Thread]
Re: The EBX register with using PIC!
Johan Rydberg wrote:
> I have a bit silly question. When you create position independent code
> (pic) the ebx register is the GOT. But what is its default value? is it
> just a pointer to the GLOBAL_OFFSET_TABLE "variable" that is defined
> by the linker (?) or is it the load address (the base of the text
> segment)? Where can I find more information about this ?
GOT is a section in the executable. Get the ELF specification
from somewhere. http://www.wotsit.org/ has a link to intel's
one. (Intel's PostScript will annoy you, but that's a different
question.)
--
Drive^H^Hnk safely!
Alex @ http://welcome.to/averstak/
/\ v /\ 1078 Ambler Johnston East
\/* *\/ Virginia Tech
^ Blacksburg, VA 24060-0022
\___/ Tel. (540) 232-1389
Follow-Ups:
References: