aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-m68k.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 /bfd/elf32-m68k.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 'bfd/elf32-m68k.c')
-rw-r--r--bfd/elf32-m68k.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf32-m68k.c b/bfd/elf32-m68k.c
index c3e4c93c..ab7ab45 100644
--- a/bfd/elf32-m68k.c
+++ b/bfd/elf32-m68k.c
@@ -412,6 +412,9 @@ elf32_m68k_print_private_bfd_data (abfd, ptr)
if (elf_elfheader (abfd)->e_flags & EF_CPU32)
fprintf (file, _(" [cpu32]"));
+ if (elf_elfheader (abfd)->e_flags & EF_M68000)
+ fprintf (file, _ (" [m68000]"));
+
fputc ('\n', file);
return true;