aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2006-10-26 00:22:52 +0000
committerBen Elliston <bje@au.ibm.com>2006-10-26 00:22:52 +0000
commit49a184f6ad3b5827d58b55106c3f33f015d6aa5a (patch)
tree0c9772b6cec52532965d7c1bf72d5563e560167a /bfd
parent033cd5fdcdd4b2dbfa28ab5ee634822b48d20898 (diff)
downloadgdb-49a184f6ad3b5827d58b55106c3f33f015d6aa5a.zip
gdb-49a184f6ad3b5827d58b55106c3f33f015d6aa5a.tar.gz
gdb-49a184f6ad3b5827d58b55106c3f33f015d6aa5a.tar.bz2
* reloc.c (_bfd_relocate_contents): Remove explicit case 0.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog2
-rw-r--r--bfd/reloc.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 682cd1e..2d41833 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,7 @@
2006-10-26 Ben Elliston <bje@au.ibm.com>
+ * reloc.c (_bfd_relocate_contents): Remove explicit case 0.
+
* elf.c (bfd_section_from_shdr): Remove extraneous breaks.
* targets.c (find_target): Remove extraneous break.
diff --git a/bfd/reloc.c b/bfd/reloc.c
index 3d40730..09b888f 100644
--- a/bfd/reloc.c
+++ b/bfd/reloc.c
@@ -1522,7 +1522,6 @@ _bfd_relocate_contents (reloc_howto_type *howto,
switch (size)
{
default:
- case 0:
abort ();
case 1:
bfd_put_8 (input_bfd, x, location);