diff options
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r-- | binutils/readelf.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c index 3561eff..c8d6ad9 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -1740,6 +1740,33 @@ decode_ARM_machine_flags (unsigned e_flags, char buf[]) } break; + case EF_ARM_EABI_VER3: + strcat (buf, ", Version3 EABI"); + while (e_flags) + { + unsigned flag; + + /* Process flags one bit at a time. */ + flag = e_flags & - e_flags; + e_flags &= ~ flag; + + switch (flag) + { + case EF_ARM_BE8: + strcat (buf, ", BE8"); + break; + + case EF_ARM_LE8: + strcat (buf, ", LE8"); + break; + + default: + unknown = 1; + break; + } + } + break; + case EF_ARM_EABI_UNKNOWN: strcat (buf, ", GNU EABI"); while (e_flags) |