aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@netbsd.org>2002-02-13 18:14:48 +0000
committerJason Thorpe <thorpej@netbsd.org>2002-02-13 18:14:48 +0000
commit76f57f3aaa745f1dbb24496feb91ee18be5cfe17 (patch)
treeac01c3c08b663878934c28d7b76b87d5b6372ac1 /binutils/readelf.c
parent78b4f46824bf1fc873b17528ca434b420f12a36a (diff)
downloadgdb-76f57f3aaa745f1dbb24496feb91ee18be5cfe17.zip
gdb-76f57f3aaa745f1dbb24496feb91ee18be5cfe17.tar.gz
gdb-76f57f3aaa745f1dbb24496feb91ee18be5cfe17.tar.bz2
bfd:
2002-02-13 Matt Fredette <fredette@netbsd.org> * elf32-m68k.c (elf32_m68k_print_private_bfd_data): Recognize EF_M68000. bintuls: 2002-02-13 Matt Fredette <fredette@netbsd.org> * readelf.c (get_machine_flags): Recognize EF_M68000. gas: 2002-02-13 Matt Fredette <fredette@netbsd.org> * config/tc-m68k.c (md_show_usage): No longer display a hard-coded "68020" for the default CPU, instead display the canonical name of the true, configured default CPU. (m68k_elf_final_processing): Mark objects for sub-68020 CPUs with the new EF_M68000 flag. include/elf: 2002-02-13 Matt Fredette <fredette@netbsd.org> * m68k.h (EF_M68000): Define.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 0c95f05..3bd67ba 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -1641,6 +1641,8 @@ get_machine_flags (e_flags, e_machine)
case EM_68K:
if (e_flags & EF_CPU32)
strcat (buf, ", cpu32");
+ if (e_flags & EF_M68000)
+ strcat (buf, ", m68000");
break;
case EM_PPC: