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 | 598d71e44c38fccc4ea72a9d026205a24d3a693a (patch) | |
tree | d635d7c3fd6bd43dc15db8181bd10ff1582519c1 | |
parent | 0455a936d2565d78a8bdf22367871b73c70d8e12 (diff) | |
download | binutils-redhat-598d71e44c38fccc4ea72a9d026205a24d3a693a.tar.gz |
Add definitions of flags in e_flags field from version A-08 of ARM ELF spec.
-rw-r--r-- | include/elf/ChangeLog | 10 | ||||
-rw-r--r-- | include/elf/arm.h | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 85ff853237..0f957cddf1 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,13 @@ +2000-04-06 Nick Clifton <nickc@cygnus.com> + + * arm.h (EF_ARM_SYMSARESORTED): Define. + (EF_ARM_EABIMASK): Define. + (EF_ARM_EABI_VERSION): Define. + (EF_ARM_EABI_UNKNOWN): Define. + (EF_ARM_EABI_VER1): Define. + (PF_ARM_PI): Define. + (PF_ARM_ABS): Define. + Wed Apr 5 22:08:59 2000 J"orn Rennecke <amylaar@cygnus.co.uk> * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs. diff --git a/include/elf/arm.h b/include/elf/arm.h index 4d3405dd7e..da333c82cb 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) |