[Milkymist-devel] [uClinux-dev] uClinux/FDPIC loader on LatticeMico32/Milkymist
Jon Beniston
jon at beniston.com
Wed Feb 3 04:09:21 PST 2010
Hi,
> Another problem we might have with FLAT is that the relocations are always
32-
> bit addresses, and LatticeMico32 loads 32-bit immediate values with two
> instructions (load high + load low, each 16-bit), making the
implementation
> rather tricky.
If you compile code with -fPIC, then it should load all pointers via the
GOT, so you only have 32-bit relocations in the .got and no relocations in
the .text section.
Cheers,
Jon
More information about the Devel
mailing list