This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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 >
Attachment:
arm_rel32.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |