diff options
author | Nick Clifton <nickc@redhat.com> | 2000-04-06 23:18:18 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-04-06 23:18:18 +0000 |
commit | ff1c4e0d5914b3be3ec1c932f75a4e09ed6df41e (patch) | |
tree | b4c826691321c13df5a1f2335915ccfb8d230e0e /include/elf/arm.h | |
parent | bcea15ac193d7dfb5827826bf878224a6ad9b10a (diff) | |
download | gdb-ff1c4e0d5914b3be3ec1c932f75a4e09ed6df41e.zip gdb-ff1c4e0d5914b3be3ec1c932f75a4e09ed6df41e.tar.gz gdb-ff1c4e0d5914b3be3ec1c932f75a4e09ed6df41e.tar.bz2 |
Add definitions of flags in e_flags field from version A-08 of ARM ELF spec.
Diffstat (limited to 'include/elf/arm.h')
-rw-r--r-- | include/elf/arm.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/elf/arm.h b/include/elf/arm.h index 4d3405d..da333c8 100644 --- a/include/elf/arm.h +++ b/include/elf/arm.h @@ -34,6 +34,14 @@ #define EF_OLD_ABI 0x100 #define EF_SOFT_FLOAT 0x200 +/* Other constants defined in the ARM ELF spec. version A-08. */ +#define EF_ARM_SYMSARESORTED 0x04 /* NB conflicts with EF_INTERWORK */ +#define EF_ARM_EABIMASK 0xFF000000 + +#define EF_ARM_EABI_VERSION(flags) ((flags) & EF_ARM_EABIMASK) +#define EF_ARM_EABI_UNKNOWN 0x00000000 +#define EF_ARM_EABI_VER1 0x01000000 + /* Local aliases for some flags to match names used by COFF port. */ #define F_INTERWORK EF_INTERWORK #define F_APCS26 EF_APCS_26 @@ -51,6 +59,8 @@ /* ARM-specific program header flags. */ #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. */ /* Relocation types. */ START_RELOC_NUMBERS (elf_arm_reloc_type) |