aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2010-08-13 13:03:46 +0000
committerNathan Sidwell <nathan@codesourcery.com>2010-08-13 13:03:46 +0000
commitf608cd77e751a7c47cfb0f8fb91677cbb3e75232 (patch)
treed2fcbfaced393c794d1c72549b9eb64131c09b24 /binutils/readelf.c
parent9d8d6261e33d9fc30804baba9de325453cc3092d (diff)
downloadgdb-f608cd77e751a7c47cfb0f8fb91677cbb3e75232.zip
gdb-f608cd77e751a7c47cfb0f8fb91677cbb3e75232.tar.gz
gdb-f608cd77e751a7c47cfb0f8fb91677cbb3e75232.tar.bz2
bfd/
* elf32-m69k.c (elf32_m68k_print_private_bfd_data): Detect EMAC_B variant. binutils/ * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B variants.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 30a7fcc..4c40e6e 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -2310,6 +2310,13 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
case EF_M68K_CF_ISA_B:
isa = "B";
break;
+ case EF_M68K_CF_ISA_C:
+ isa = "C";
+ break;
+ case EF_M68K_CF_ISA_C_NODIV:
+ isa = "C";
+ additional = ", nodiv";
+ break;
}
strcat (buf, ", cf, isa ");
strcat (buf, isa);
@@ -2328,6 +2335,9 @@ get_machine_flags (unsigned e_flags, unsigned e_machine)
case EF_M68K_CF_EMAC:
mac = "emac";
break;
+ case EF_M68K_CF_EMAC_B:
+ mac = "emac_b";
+ break;
}
if (mac)
{