From 704bbd0dc3077602741acddeead509558c4cc032 Mon Sep 17 00:00:00 2001 From: David MacKenzie Date: Fri, 11 Feb 1994 23:56:49 +0000 Subject: * objcopy.c (strip_main, copy_main): Add missing 'break' in switch. --- binutils/ChangeLog | 13 +++++++++++++ binutils/objcopy.c | 3 +++ 2 files changed, 16 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index a69713c..9f445b9 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,16 @@ +Fri Feb 11 15:54:51 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * objcopy.c (strip_main, copy_main): Add missing 'break' in switch. + +Mon Feb 7 19:45:52 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * objdump.c (disassemble_data): Handle bfd_arch_powerpc. + +Sun Feb 6 22:08:20 1994 David J. Mackenzie (djm@thepub.cygnus.com) + + * strings.c objdump.c nlmconv.c objcopy.c nm.c ar.c size.c (main): + Call xmalloc_set_program_name. + Fri Feb 4 10:46:01 1994 David J. Mackenzie (djm@thepub.cygnus.com) * objcopy.c (filter_bytes): Make MEMHUNK a char *, not PTR, so we diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 690bf8d..12ca037 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -696,6 +696,7 @@ strip_main (argc, argv) { case 'I': input_target = optarg; + break; case 'O': output_target = optarg; break; @@ -803,6 +804,7 @@ copy_main (argc, argv) case 'I': case 's': /* "source" - 'I' is preferred */ input_target = optarg; + break; case 'O': case 'd': /* "destination" - 'O' is preferred */ output_target = optarg; @@ -890,6 +892,7 @@ main (argc, argv) char *argv[]; { program_name = argv[0]; + xmalloc_set_program_name (program_name); strip_symbols = strip_undef; discard_locals = locals_undef; -- cgit v1.1