This is the mail archive of the
mailing list for the binutils project.
Re: Problem with binutils 2.19.1 with Cortex-a9/Linux-2.6.28
Can you pls provide more information/patch/requirement about handling
of R_ARM_REL32 relocation in Linux kernel?
Get hold of a copy of ARM's "ELF for the ARM® Architecture" document.
It is available from ARM, but I also found older versions of it at
various places on the web. I recommend going directly to ARM:
Look at table 4-7 in section 126.96.36.199 where it defines R_ARM_REL32 as:
R_ARM_REL32 ((S + A) | T) – P
This section also documents the meanings of S, A, T and P. All you have
to do is to implement this in the kernel. It should be pretty
straightforward. The relocation is basically the same as the
R_ARM_ABS32 relocation, except that it is location-relative.