[Prev][Next][Index][Thread]

The EBX register with using PIC!




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 ?

-- Johan




Follow-Ups: