diff options
author | Ben Elliston <bje@au.ibm.com> | 2006-10-26 00:14:39 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2006-10-26 00:14:39 +0000 |
commit | 761c7f08fff8fe6c0ac4f5c5e21f2152b46e0700 (patch) | |
tree | 8211c6407b05161f5573a9888c62603820dc06a5 /bfd | |
parent | 0b8535371959d13802d8206bf062e18103150897 (diff) | |
download | gdb-761c7f08fff8fe6c0ac4f5c5e21f2152b46e0700.zip gdb-761c7f08fff8fe6c0ac4f5c5e21f2152b46e0700.tar.gz gdb-761c7f08fff8fe6c0ac4f5c5e21f2152b46e0700.tar.bz2 |
* elf.c (bfd_section_from_shdr): Remove extraneous breaks.
* targets.c (find_target): Remove extraneous break.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf.c | 2 | ||||
-rw-r--r-- | bfd/targets.c | 1 |
3 files changed, 5 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 2018462..682cd1e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2006-10-26 Ben Elliston <bje@au.ibm.com> + * elf.c (bfd_section_from_shdr): Remove extraneous breaks. + * targets.c (find_target): Remove extraneous break. + +2006-10-26 Ben Elliston <bje@au.ibm.com> + * coff-maxq.c (coff_maxq20_reloc): Remove unused variable `howto'. (struct maxq_reloc_map): Unused; remove. (maxq_reloc_map): Likewise. @@ -2126,13 +2126,11 @@ bfd_section_from_shdr (bfd *abfd, unsigned int shindex) abfd->flags |= HAS_RELOC; return TRUE; } - break; case SHT_GNU_verdef: elf_dynverdef (abfd) = shindex; elf_tdata (abfd)->dynverdef_hdr = *hdr; return _bfd_elf_make_section_from_shdr (abfd, hdr, name, shindex); - break; case SHT_GNU_versym: if (hdr->sh_entsize != sizeof (Elf_External_Versym)) diff --git a/bfd/targets.c b/bfd/targets.c index d8d3709..dac1136 100644 --- a/bfd/targets.c +++ b/bfd/targets.c @@ -1290,7 +1290,6 @@ find_target (const char *name) while (match->vector == NULL) ++match; return match->vector; - break; } } |