diff options
author | Paul Brook <paul@codesourcery.com> | 2004-10-12 14:17:08 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2004-10-12 14:17:08 +0000 |
commit | 8cb5156692f0f5bf3a24c5d549462bf3c7c71873 (patch) | |
tree | 8324e9ba4463164fe6965b2cd83ae0a471a5b6e4 /bfd | |
parent | 06c2338dfb9f8735e688cad31fb8f4e7a4edc171 (diff) | |
download | gdb-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 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elf32-arm.h | 8 |
2 files changed, 10 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f8b7e6f..af51a06 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2004-10-12 Paul Brook <paul@codesourcery.com> + + * elf32-arm.h: Support EABI version 4 objects. + 2004-10-12 Alan Modra <amodra@bigpond.net.au> PR 325 diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index a0695c1..a793d09 100644 --- a/bfd/elf32-arm.h +++ b/bfd/elf32-arm.h @@ -25,9 +25,9 @@ typedef unsigned long int insn32; typedef unsigned short int insn16; -/* In lieu of proper flags, assume all EABIv3 objects are interworkable. */ +/* In lieu of proper flags, assume all EABIv4 objects are interworkable. */ #define INTERWORK_FLAG(abfd) \ - (EF_ARM_EABI_VERSION (elf_elfheader (abfd)->e_flags) == EF_ARM_EABI_VER3 \ + (EF_ARM_EABI_VERSION (elf_elfheader (abfd)->e_flags) == EF_ARM_EABI_VER4 \ || (elf_elfheader (abfd)->e_flags & EF_ARM_INTERWORK)) /* The linker script knows the section names for placement. @@ -2705,6 +2705,10 @@ elf32_arm_print_private_bfd_data (bfd *abfd, void * ptr) case EF_ARM_EABI_VER3: fprintf (file, _(" [Version3 EABI]")); + break; + + case EF_ARM_EABI_VER4: + fprintf (file, _(" [Version4 EABI]")); if (flags & EF_ARM_BE8) fprintf (file, _(" [BE8]")); |