[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gcl-devel] ARM relocs
From: |
Jerry James |
Subject: |
Re: [Gcl-devel] ARM relocs |
Date: |
Mon, 21 Jan 2013 10:02:28 -0700 |
On Mon, Jan 21, 2013 at 8:27 AM, Camm Maguire <address@hidden> wrote:
> Greetings! The constants R_ARM_MOVT_ABS et.al. don't appear to be
> defined in any header, unlike other platforms. Am I missing something?
Hmmm, I don't see them anywhere, either. Ultimately, they are derived
from the Linux sources. I see this in arch/arm/include/asm/elf.h in
the Linux 3.7 source tree:
#define R_ARM_NONE 0
#define R_ARM_PC24 1
#define R_ARM_ABS32 2
#define R_ARM_CALL 28
#define R_ARM_JUMP24 29
#define R_ARM_V4BX 40
#define R_ARM_PREL31 42
#define R_ARM_MOVW_ABS_NC 43
#define R_ARM_MOVT_ABS 44
#define R_ARM_THM_CALL 10
#define R_ARM_THM_JUMP24 30
#define R_ARM_THM_MOVW_ABS_NC 47
#define R_ARM_THM_MOVT_ABS 48
But you're right, those defines don't seem to make it into any shipped
header file. I'll ask about this on the Fedora ARM mailing list.
--
Jerry James
http://www.jamezone.org/