aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-10-12 14:17:08 +0000
committerPaul Brook <paul@codesourcery.com>2004-10-12 14:17:08 +0000
commit8cb5156692f0f5bf3a24c5d549462bf3c7c71873 (patch)
tree8324e9ba4463164fe6965b2cd83ae0a471a5b6e4 /binutils/readelf.c
parent06c2338dfb9f8735e688cad31fb8f4e7a4edc171 (diff)
downloadgdb-8cb5156692f0f5bf3a24c5d549462bf3c7c71873.zip
gdb-8cb5156692f0f5bf3a24c5d549462bf3c7c71873.tar.gz
gdb-8cb5156692f0f5bf3a24c5d549462bf3c7c71873.tar.bz2
2004-10-12 Paul Brook <paul@codesourcery.com>
bfd/ * elf32-arm.h: Support EABI version 4 objects. binutils/ * readelf.c (decode_ARM_machine_flags): Support EABI version 4. gas/ * config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to EF_ARM_EABI_VER4. (arm_eabis): Ditto. * doc/c-arm.texi: Document that we actually support -meabi=4, not -meabi=3. include/ * elf/arm.h (EF_ARM_EABI_VER4): Define.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 7f9eaf0..6f82f83 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -1767,6 +1767,10 @@ decode_ARM_machine_flags (unsigned e_flags, char buf[])
case EF_ARM_EABI_VER3:
strcat (buf, ", Version3 EABI");
+ break;
+
+ case EF_ARM_EABI_VER4:
+ strcat (buf, ", Version4 EABI");
while (e_flags)
{
unsigned flag;