
On Tue, Oct 5, 2010 at 9:01 AM, Albert Aribaud albert.aribaud@free.fr wrote:
This patch is *not* a submission for master!
It is a proof of concept of ELF relocations for ARM, hastily done in a day's work time for people on the list to try and to comment. All comments are welcome, as several suggestions have been made today on the list that I did not have time to incorporate, such as rewriting the elf table fixup code in C.
The basic idea of this patch is to replace the -fPIC compile-time option with the -pie link-time option. This removes the GOT but adds the .rel.dyn and .dynsym tables, which together allow fixing up code more completely than with -fPIC and the GOT; for instance, all pointers inside structures are fixed up with -pie, whereas they are not with GOT.
So does this make all of Heiko's ARM relocation patches redundant?
Regards,
Graeme