Problem with binutils 2.19.1 with Cortex-a9/Linux-2.6.28

Nitin Garg nitingarg98@gmail.com
Tue Jul 28 21:56:00 GMT 2009


Thanks Nick for guiding me,

As per the understanding I have implemented the R_ARM_REL32 handling in kernel.
Pls see the attached patch if it makes sense.

I will also submit it to kernel mailing list to get it reviewed. Thanks,

Regards,
Nitin


On Tue, Jul 28, 2009 at 2:43 AM, Nick Clifton<nickc@redhat.com> wrote:
> Hi Nitin,
>
>> 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:
>
> http://infocenter.arm.com/help/topic/com.arm.doc.ihi0044c/IHI0044C_aaelf.pdf
>
> Look at table 4-7 in section 4.6.1.1 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.
>
> Cheers
>  Nick
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm_rel32.patch
Type: application/octet-stream
Size: 800 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090728/f6590f2f/attachment.obj>


More information about the Binutils mailing list