aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-09-09 17:20:41 +0000
committerNick Clifton <nickc@redhat.com>1997-09-09 17:20:41 +0000
commit98ab32a58a80e7123ca2c93bb526136a3c3caaac (patch)
tree35ce4d633766cbc9c73a71891eab273912e3ad14
parent1ffec081989b3cc37680d85f60d4a0fc5e2423ca (diff)
downloadfsf-binutils-gdb-98ab32a58a80e7123ca2c93bb526136a3c3caaac.zip
fsf-binutils-gdb-98ab32a58a80e7123ca2c93bb526136a3c3caaac.tar.gz
fsf-binutils-gdb-98ab32a58a80e7123ca2c93bb526136a3c3caaac.tar.bz2
Fixed buglet displaying machine architecture.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-v850.c6
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 <nickc@cygnus.com>
+
+ * 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 */
}