Back to index

cell-binutils  2.17cvs20070401
Defines | Functions
arm.h File Reference
#include "elf/reloc-macros.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define EF_ARM_RELEXEC   0x01
#define EF_ARM_HASENTRY   0x02
#define EF_ARM_INTERWORK   0x04
#define EF_ARM_APCS_26   0x08
#define EF_ARM_APCS_FLOAT   0x10
#define EF_ARM_PIC   0x20
#define EF_ARM_ALIGN8   0x40 /* 8-bit structure alignment is in use. */
#define EF_ARM_NEW_ABI   0x80
#define EF_ARM_OLD_ABI   0x100
#define EF_ARM_SOFT_FLOAT   0x200
#define EF_ARM_VFP_FLOAT   0x400
#define EF_ARM_MAVERICK_FLOAT   0x800
#define PT_ARM_EXIDX   (PT_LOPROC + 1)
#define EF_ARM_SYMSARESORTED   0x04 /* NB conflicts with EF_INTERWORK */
#define EF_ARM_DYNSYMSUSESEGIDX   0x08 /* NB conflicts with EF_APCS26 */
#define EF_ARM_MAPSYMSFIRST   0x10 /* NB conflicts with EF_APCS_FLOAT */
#define EF_ARM_EABIMASK   0xFF000000
#define EF_ARM_BE8   0x00800000
#define EF_ARM_LE8   0x00400000
#define EF_ARM_EABI_VERSION(flags)   ((flags) & EF_ARM_EABIMASK)
#define EF_ARM_EABI_UNKNOWN   0x00000000
#define EF_ARM_EABI_VER1   0x01000000
#define EF_ARM_EABI_VER2   0x02000000
#define EF_ARM_EABI_VER3   0x03000000
#define EF_ARM_EABI_VER4   0x04000000
#define EF_ARM_EABI_VER5   0x05000000
#define F_INTERWORK   EF_ARM_INTERWORK
#define F_APCS26   EF_ARM_APCS_26
#define F_APCS_FLOAT   EF_ARM_APCS_FLOAT
#define F_PIC   EF_ARM_PIC
#define F_SOFT_FLOAT   EF_ARM_SOFT_FLOAT
#define F_VFP_FLOAT   EF_ARM_VFP_FLOAT
#define STT_ARM_TFUNC   STT_LOPROC /* A Thumb function. */
#define STT_ARM_16BIT   STT_HIPROC /* A Thumb label. */
#define SHT_ARM_EXIDX   0x70000001 /* Section holds ARM unwind info. */
#define SHT_ARM_PREEMPTMAP   0x70000002 /* Section pre-emption details. */
#define SHT_ARM_ATTRIBUTES   0x70000003 /* Section holds attributes. */
#define SHF_ENTRYSECT   0x10000000 /* Section contains an entry point. */
#define SHF_COMDEF   0x80000000 /* Section may be multiply defined in the input to a link step. */
#define PF_ARM_SB   0x10000000 /* Segment contains the location addressed by the static base. */
#define PF_ARM_PI   0x20000000 /* Segment is position-independent. */
#define PF_ARM_ABS   0x40000000 /* Segment must be loaded at its base address. */
#define TAG_CPU_ARCH_PRE_V4   0
#define TAG_CPU_ARCH_V4   1
#define TAG_CPU_ARCH_V4T   2
#define TAG_CPU_ARCH_V5T   3
#define TAG_CPU_ARCH_V5TE   4
#define TAG_CPU_ARCH_V5TEJ   5
#define TAG_CPU_ARCH_V6   6
#define TAG_CPU_ARCH_V6KZ   7
#define TAG_CPU_ARCH_V6T2   8
#define TAG_CPU_ARCH_V6K   9
#define TAG_CPU_ARCH_V7   10
#define ARM_NOTE_SECTION   ".note.gnu.arm.ident"
#define ELF_STRING_ARM_unwind   ".ARM.exidx"
#define ELF_STRING_ARM_unwind_info   ".ARM.extab"
#define ELF_STRING_ARM_unwind_once   ".gnu.linkonce.armexidx."
#define ELF_STRING_ARM_unwind_info_once   ".gnu.linkonce.armextab."

Functions

 RELOC_NUMBER (R_ARM_PC24, 1) RELOC_NUMBER(R_ARM_SWI24
 RELOC_NUMBER (R_ARM_THM_SWI8, 14) RELOC_NUMBER(R_ARM_XPC25
 RELOC_NUMBER (R_ARM_THM_XPC22, 16) RELOC_NUMBER(R_ARM_COPY
 RELOC_NUMBER (R_ARM_GLOB_DAT, 21) RELOC_NUMBER(R_ARM_JUMP_SLOT
 RELOC_NUMBER (R_ARM_RELATIVE, 23) RELOC_NUMBER(R_ARM_GOTOFF32
 RELOC_NUMBER (R_ARM_BASE_PREL, 25) RELOC_NUMBER(R_ARM_GOT_BREL
 RELOC_NUMBER (R_ARM_PLT32, 27) RELOC_NUMBER(R_ARM_ALU_PCREL7_0
 RELOC_NUMBER (R_ARM_ALU_PCREL15_8, 33) RELOC_NUMBER(R_ARM_ALU_PCREL23_15
 RELOC_NUMBER (R_ARM_LDR_SBREL_11_0, 35) RELOC_NUMBER(R_ARM_ALU_SBREL_19_12
 RELOC_NUMBER (R_ARM_ALU_SBREL_27_20, 37) RELOC_NUMBER(R_ARM_SBREL31
 RELOC_NUMBER (R_ARM_GNU_VTENTRY, 100) RELOC_NUMBER(R_ARM_GNU_VTINHERIT
 RELOC_NUMBER (R_ARM_ME_TOO, 128) FAKE_RELOC(R_ARM_GOTOFF
R_ARM_GOTOFF32 FAKE_RELOC (R_ARM_GOTPC, R_ARM_BASE_PREL) FAKE_RELOC(R_ARM_GOT32
R_ARM_GOTOFF32 R_ARM_GOT_BREL FAKE_RELOC (R_ARM_ROSEGREL32, R_ARM_SBREL31) FAKE_RELOC(R_ARM_AMP_VCALL9

Define Documentation

#define ARM_NOTE_SECTION   ".note.gnu.arm.ident"

Definition at line 289 of file arm.h.

#define EF_ARM_ALIGN8   0x40 /* 8-bit structure alignment is in use. */

Definition at line 33 of file arm.h.

#define EF_ARM_APCS_26   0x08

Definition at line 30 of file arm.h.

#define EF_ARM_APCS_FLOAT   0x10

Definition at line 31 of file arm.h.

#define EF_ARM_BE8   0x00800000

Definition at line 50 of file arm.h.

#define EF_ARM_DYNSYMSUSESEGIDX   0x08 /* NB conflicts with EF_APCS26 */

Definition at line 45 of file arm.h.

#define EF_ARM_EABI_UNKNOWN   0x00000000

Definition at line 54 of file arm.h.

#define EF_ARM_EABI_VER1   0x01000000

Definition at line 55 of file arm.h.

#define EF_ARM_EABI_VER2   0x02000000

Definition at line 56 of file arm.h.

#define EF_ARM_EABI_VER3   0x03000000

Definition at line 57 of file arm.h.

#define EF_ARM_EABI_VER4   0x04000000

Definition at line 58 of file arm.h.

#define EF_ARM_EABI_VER5   0x05000000

Definition at line 59 of file arm.h.

#define EF_ARM_EABI_VERSION (   flags)    ((flags) & EF_ARM_EABIMASK)

Definition at line 53 of file arm.h.

#define EF_ARM_EABIMASK   0xFF000000

Definition at line 47 of file arm.h.

#define EF_ARM_HASENTRY   0x02

Definition at line 28 of file arm.h.

#define EF_ARM_INTERWORK   0x04

Definition at line 29 of file arm.h.

#define EF_ARM_LE8   0x00400000

Definition at line 51 of file arm.h.

#define EF_ARM_MAPSYMSFIRST   0x10 /* NB conflicts with EF_APCS_FLOAT */

Definition at line 46 of file arm.h.

#define EF_ARM_MAVERICK_FLOAT   0x800

Definition at line 38 of file arm.h.

#define EF_ARM_NEW_ABI   0x80

Definition at line 34 of file arm.h.

#define EF_ARM_OLD_ABI   0x100

Definition at line 35 of file arm.h.

#define EF_ARM_PIC   0x20

Definition at line 32 of file arm.h.

#define EF_ARM_RELEXEC   0x01

Definition at line 27 of file arm.h.

#define EF_ARM_SOFT_FLOAT   0x200

Definition at line 36 of file arm.h.

#define EF_ARM_SYMSARESORTED   0x04 /* NB conflicts with EF_INTERWORK */

Definition at line 44 of file arm.h.

#define EF_ARM_VFP_FLOAT   0x400

Definition at line 37 of file arm.h.

#define ELF_STRING_ARM_unwind   ".ARM.exidx"

Definition at line 292 of file arm.h.

#define ELF_STRING_ARM_unwind_info   ".ARM.extab"

Definition at line 293 of file arm.h.

#define ELF_STRING_ARM_unwind_info_once   ".gnu.linkonce.armextab."

Definition at line 295 of file arm.h.

#define ELF_STRING_ARM_unwind_once   ".gnu.linkonce.armexidx."

Definition at line 294 of file arm.h.

#define F_APCS26   EF_ARM_APCS_26

Definition at line 63 of file arm.h.

Definition at line 64 of file arm.h.

Definition at line 62 of file arm.h.

#define F_PIC   EF_ARM_PIC

Definition at line 65 of file arm.h.

Definition at line 66 of file arm.h.

Definition at line 67 of file arm.h.

#define PF_ARM_ABS   0x40000000 /* Segment must be loaded at its base address. */

Definition at line 85 of file arm.h.

#define PF_ARM_PI   0x20000000 /* Segment is position-independent. */

Definition at line 84 of file arm.h.

#define PF_ARM_SB   0x10000000 /* Segment contains the location addressed by the static base. */

Definition at line 83 of file arm.h.

#define PT_ARM_EXIDX   (PT_LOPROC + 1)

Definition at line 41 of file arm.h.

#define SHF_COMDEF   0x80000000 /* Section may be multiply defined in the input to a link step. */

Definition at line 80 of file arm.h.

#define SHF_ENTRYSECT   0x10000000 /* Section contains an entry point. */

Definition at line 79 of file arm.h.

#define SHT_ARM_ATTRIBUTES   0x70000003 /* Section holds attributes. */

Definition at line 76 of file arm.h.

#define SHT_ARM_EXIDX   0x70000001 /* Section holds ARM unwind info. */

Definition at line 74 of file arm.h.

#define SHT_ARM_PREEMPTMAP   0x70000002 /* Section pre-emption details. */

Definition at line 75 of file arm.h.

#define STT_ARM_16BIT   STT_HIPROC /* A Thumb label. */

Definition at line 71 of file arm.h.

#define STT_ARM_TFUNC   STT_LOPROC /* A Thumb function. */

Definition at line 70 of file arm.h.

#define TAG_CPU_ARCH_PRE_V4   0

Definition at line 88 of file arm.h.

#define TAG_CPU_ARCH_V4   1

Definition at line 89 of file arm.h.

#define TAG_CPU_ARCH_V4T   2

Definition at line 90 of file arm.h.

#define TAG_CPU_ARCH_V5T   3

Definition at line 91 of file arm.h.

#define TAG_CPU_ARCH_V5TE   4

Definition at line 92 of file arm.h.

#define TAG_CPU_ARCH_V5TEJ   5

Definition at line 93 of file arm.h.

#define TAG_CPU_ARCH_V6   6

Definition at line 94 of file arm.h.

#define TAG_CPU_ARCH_V6K   9

Definition at line 97 of file arm.h.

#define TAG_CPU_ARCH_V6KZ   7

Definition at line 95 of file arm.h.

#define TAG_CPU_ARCH_V6T2   8

Definition at line 96 of file arm.h.

#define TAG_CPU_ARCH_V7   10

Definition at line 98 of file arm.h.


Function Documentation

R_ARM_GOTOFF32 FAKE_RELOC ( R_ARM_GOTPC  ,
R_ARM_BASE_PREL   
)
R_ARM_GOTOFF32 R_ARM_GOT_BREL FAKE_RELOC ( R_ARM_ROSEGREL32  ,
R_ARM_SBREL31   
)
RELOC_NUMBER ( R_ARM_PC24  ,
 
)
RELOC_NUMBER ( R_ARM_THM_SWI8  ,
14   
)
RELOC_NUMBER ( R_ARM_THM_XPC22  ,
16   
)
RELOC_NUMBER ( R_ARM_GLOB_DAT  ,
21   
)
RELOC_NUMBER ( R_ARM_RELATIVE  ,
23   
)
RELOC_NUMBER ( R_ARM_BASE_PREL  ,
25   
)
RELOC_NUMBER ( R_ARM_PLT32  ,
27   
)
RELOC_NUMBER ( R_ARM_ALU_PCREL15_8  ,
33   
)
RELOC_NUMBER ( R_ARM_LDR_SBREL_11_0  ,
35   
)
RELOC_NUMBER ( R_ARM_ALU_SBREL_27_20  ,
37   
)
RELOC_NUMBER ( R_ARM_GNU_VTENTRY  ,
100   
)
RELOC_NUMBER ( R_ARM_ME_TOO  ,
128   
)