[Milkymist-devel] new R_LM32_16_GOT relocation
Sébastien Bourdeauducq
sebastien.bourdeauducq at lekernel.net
Fri Jan 22 05:24:42 PST 2010
Hi,
I'm sorry to bother you, but how should the Linux loader handle, in practice,
the relocations of type R_LM32_16_GOT? Is there a reference loader somewhere
(how was the linker tested?) or some more documentation? I'm afraid you
overestimate our understanding of FDPIC...
Thanks,
Sébastien
On Friday 22 January 2010 13:37:24 Jon Beniston wrote:
> Hi,
>
> IIRC, the LM32_16_GOT relocation is an offset in to the global offset table
> (GOT). The GOT actually contains the pointer. The idea behind using the GOT
> is that the loader only modifies the GOT, not the text section, allowing
> the text section to be shared between multiple executables.
>
> Regards,
> Jon
More information about the Devel
mailing list