From eb8983c9cacc7f531be736eb2bf6b7bd07bebe48 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Sat, 30 Nov 1991 04:20:07 +0000 Subject: [PATCH] Fix bug in elf.c (missing "break" statements in cases), add ncr and SVR4 i386 support to configuration. --- bfd/ChangeLog | 10 ++++++++++ bfd/elf.c | 2 ++ 2 files changed, 12 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7172bf6449d..5826e95225f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,13 @@ +Fri Nov 29 20:04:49 1991 Fred Fish (fnf at cygnus.com) + + * config/mh-i386v4, config/mh-i386-elf, hosts/h-i386v4.h: New files. + + * configure.in: Add vendor "ncr" as supported per-target vendor. + Add svr4 case for i386 per-host case. + + * elf.c (elf_object_p, elf_core_file_p): Add missing "break" to + ELFDATA2LSB cases. + Fri Nov 29 12:16:51 1991 Per Bothner (bothner at cygnus.com) * syms.c (bfd_decode_symclass): Return 'A' diff --git a/bfd/elf.c b/bfd/elf.c index a09ff71bc76..66ce0391469 100644 --- a/bfd/elf.c +++ b/bfd/elf.c @@ -659,6 +659,7 @@ wrong: break; case ELFDATA2LSB: /* Little-endian */ abfd->xvec = &elf_little_vec; + break; case ELFDATANONE: /* No data encoding specified */ default: /* Unknown data encoding specified */ goto wrong; @@ -831,6 +832,7 @@ wrong: break; case ELFDATA2LSB: /* Little-endian */ abfd->xvec = &elf_little_vec; + break; case ELFDATANONE: /* No data encoding specified */ default: /* Unknown data encoding specified */ goto wrong; -- 2.30.2