From 51771d455eee6505ad7ab5999cad8c9dc7a97d84 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Tue, 23 Mar 2004 23:05:52 +0000 Subject: * bfd/elf32-arm.h (arm_print_private_bfd_data): Add EABI v3. * binutils/readelf.c (decode_ARM_machine_flags): Add EABI v3. * gas/config/tc-arm.c (meabi_flags): New variable. (arm_parse_eabi): New function. (md_begin): Set flags for EABI v3. (arm_eabis): Add. (arm_long_opts): Add meabi. * include/elf/arm.h (EF_ERM_BE8, EF_ARM_LE8, EF_ARM_EABI_VER3): Add. * doc/as.texinf : Document -meabi. * doc/c-arm.texi: Ditto. --- include/elf/ChangeLog | 4 ++++ include/elf/arm.h | 5 +++++ 2 files changed, 9 insertions(+) (limited to 'include/elf') diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 6e4d604b2d0..385b857e384 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,7 @@ +2004-03-23 Paul Brook + + * arm.h (EF_ERM_BE8, EF_ARM_LE8, EF_ARM_EABI_VER3): Add. + 2003-03-03 Andrew Stubbs * sh.h: Add EF_SH4_NOMMU_NOFPU. diff --git a/include/elf/arm.h b/include/elf/arm.h index 181a9f0c5c9..158a4b55e4f 100644 --- a/include/elf/arm.h +++ b/include/elf/arm.h @@ -42,10 +42,15 @@ #define EF_ARM_MAPSYMSFIRST 0x10 /* NB conflicts with EF_APCS_FLOAT */ #define EF_ARM_EABIMASK 0xFF000000 +/* Constants defined in AAELF. */ +#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 /* Local aliases for some flags to match names used by COFF port. */ #define F_INTERWORK EF_ARM_INTERWORK -- cgit v1.2.1