avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] avr-readelf - AVR Relocation Types


From: Ram Kumar Rengaswamy
Subject: Re: [avr-gcc-list] avr-readelf - AVR Relocation Types
Date: Sun, 16 Jul 2006 16:35:03 -0700

Nevermind .. its 0x12 which corresponds to 18.
My apologies !
On Jul 16, 2006, at 4:23 PM, Ram Kumar Rengaswamy wrote:

Hi,
I would appreciate if someone with experience on avr-binutils can explain the following to me.

What is the mapping from the info field of the ELF file to the relocation type ?

The output of avr-readelf on an ELF file is as follows:

Offset Info Type Sym.Value Sym. Name + Addend
000007be  00000412 R_AVR_CALL        00000000   .text + 5e0

For the info field = 00000412, the macro ELF32_R_TYPE returns the relocation type to be 12. However, R_AVR_CALL is defined to be 18 in avr.h within the binutils source.
I verified that the correct relocation type is R_AVR_CALL.
How do I determine the relocation type from info field of the ELF file ?


Thanks,
-Ram




_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list






reply via email to

[Prev in Thread] Current Thread [Next in Thread]