diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2010-08-13 13:03:44 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2010-08-13 13:03:44 +0000 |
commit | dc2c2c0f22e144f0d0349ed5f7af03ee57a78c82 (patch) | |
tree | 40fe04560456c2d885a9252c9a69b6de8aa984db /binutils | |
parent | eaddca61ab79a1519ec16f6691526b1ed74e8651 (diff) | |
download | binutils-redhat-dc2c2c0f22e144f0d0349ed5f7af03ee57a78c82.tar.gz |
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')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3648503d50..cfa33e497b 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2010-08-13 Nathan Sidwell <nathan@codesourcery.com> + + * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B + variants. + 2010-08-13 Tom Tromey <tromey@redhat.com> * dwarf.c (process_debug_info): Don't subtract section address diff --git a/binutils/readelf.c b/binutils/readelf.c index 30a7fcc4a1..4c40e6e011 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) { |