From 98ab32a58a80e7123ca2c93bb526136a3c3caaac Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 9 Sep 1997 17:20:41 +0000 Subject: Fixed buglet displaying machine architecture. --- bfd/ChangeLog | 5 +++++ bfd/elf32-v850.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f8b092a..6b3607c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Tue Sep 9 10:21:56 1997 Nick Clifton + + * elf32-v850.c (v850_elf_print_private_bfd_data): Break after + decoding architecture. + Sun Sep 7 12:25:22 1997 H.J. Lu (hjl@gnu.ai.mit.edu) * bfd/elf64-alpha.c (reloc_howto_type): Fix the howto table. diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c index 55e6675..c29d145 100644 --- a/bfd/elf32-v850.c +++ b/bfd/elf32-v850.c @@ -1551,12 +1551,12 @@ v850_elf_print_private_bfd_data (abfd, ptr) switch (elf_elfheader (abfd)->e_flags & EF_V850_ARCH) { default: - case E_V850_ARCH: fprintf (file, ": v850 architecture"); + case E_V850_ARCH: fprintf (file, ": v850 architecture"); break; /* start-sanitize-v850e */ - case E_V850E_ARCH: fprintf (file, ": v850e architecture"); + case E_V850E_ARCH: fprintf (file, ": v850e architecture"); break; /* end-sanitize-v850e */ /* start-sanitize-v850eq */ - case E_V850EQ_ARCH: fprintf (file, ": v850eq architecture"); + case E_V850EQ_ARCH: fprintf (file, ": v850eq architecture"); break; /* end-sanitize-v850eq */ } -- cgit v1.1