aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1991-11-30 04:20:07 +0000
committerFred Fish <fnf@specifix.com>1991-11-30 04:20:07 +0000
commiteb8983c9cacc7f531be736eb2bf6b7bd07bebe48 (patch)
tree9bbc9a0df452961ad261f566fc56b2aa7f9e70c0 /bfd/elf.c
parentad3cef4de830bfc29a1f96aaa1b0ae1406fd9c9d (diff)
downloadgdb-eb8983c9cacc7f531be736eb2bf6b7bd07bebe48.zip
gdb-eb8983c9cacc7f531be736eb2bf6b7bd07bebe48.tar.gz
gdb-eb8983c9cacc7f531be736eb2bf6b7bd07bebe48.tar.bz2
Fix bug in elf.c (missing "break" statements in cases), add ncr and
SVR4 i386 support to configuration.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index a09ff71..66ce039 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;