aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-12-14 21:37:00 +0000
committerKen Raeburn <raeburn@cygnus>1994-12-14 21:37:00 +0000
commit63ca9597f087e125966d1aa8f55a79a12d6aed16 (patch)
tree2699a895a9011d2b998a4a1c0493f4431be97d71
parent09d7f0a65886ce66c0620901ed40d81a8cd70dba (diff)
downloadgdb-63ca9597f087e125966d1aa8f55a79a12d6aed16.zip
gdb-63ca9597f087e125966d1aa8f55a79a12d6aed16.tar.gz
gdb-63ca9597f087e125966d1aa8f55a79a12d6aed16.tar.bz2
removed some unreachable code from objcopy
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/objcopy.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index d7e83c8..3f3aac5 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+Wed Dec 14 15:51:56 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
+
+ * objcopy.c (copy_object): Don't bother setting status after
+ nonfatal() "call", because it won't return.
+
Fri Dec 9 00:22:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* nlmconv.c (powerpc_mangle_relocs): Don't switch a reloc to use
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index d1d03ae..926ff6b 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -584,7 +584,6 @@ copy_object (ibfd, obfd)
off, now))
{
nonfatal (bfd_get_filename (obfd));
- status = 1;
}
left -= now;
off += now;