aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2004-03-23 23:05:52 +0000
committerPaul Brook <paul@codesourcery.com>2004-03-23 23:05:52 +0000
commitd507cf36a6e8dd590757a05889cd9f2c1dd9aba5 (patch)
treeb81eeb7d994cc02d9639fea1325460a7eda5d7b2 /bfd
parentcb19ec34f51c0010b13a00221787e7363deb26ed (diff)
downloadgdb-d507cf36a6e8dd590757a05889cd9f2c1dd9aba5.zip
gdb-d507cf36a6e8dd590757a05889cd9f2c1dd9aba5.tar.gz
gdb-d507cf36a6e8dd590757a05889cd9f2c1dd9aba5.tar.bz2
* 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 <ARM>: Document -meabi. * doc/c-arm.texi: Ditto.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-arm.h12
2 files changed, 16 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index dac6564..6560ebc 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-23 Paul Brook <paul@codesourcery.com>
+
+ * elf32-arm.h (arm_print_private_bfd_data): Add EABI v3.
+
2004-03-22 Bob Wilson <bob.wilson@acm.org>
* elf32-xtensa.c (elf_xtensa_check_relocs): Remove code to read
diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h
index 2f6c22e..33f85bd 100644
--- a/bfd/elf32-arm.h
+++ b/bfd/elf32-arm.h
@@ -2679,6 +2679,18 @@ elf32_arm_print_private_bfd_data (abfd, ptr)
| EF_ARM_MAPSYMSFIRST);
break;
+ case EF_ARM_EABI_VER3:
+ fprintf (file, _(" [Version3 EABI]"));
+
+ if (flags & EF_ARM_BE8)
+ fprintf (file, _(" [BE8]"));
+
+ if (flags & EF_ARM_LE8)
+ fprintf (file, _(" [LE8]"));
+
+ flags &= ~(EF_ARM_LE8 | EF_ARM_BE8);
+ break;
+
default:
fprintf (file, _(" <EABI version unrecognised>"));
break;