diff options
author | David MacKenzie <djm@cygnus> | 1994-02-11 23:56:49 +0000 |
---|---|---|
committer | David MacKenzie <djm@cygnus> | 1994-02-11 23:56:49 +0000 |
commit | 704bbd0dc3077602741acddeead509558c4cc032 (patch) | |
tree | 755c4482afeadc1e5bcad134b4953c0dd2f2a080 /binutils/objcopy.c | |
parent | 30e441ca4551a34bdfe7575e4080f147db1f6bfc (diff) | |
download | gdb-704bbd0dc3077602741acddeead509558c4cc032.zip gdb-704bbd0dc3077602741acddeead509558c4cc032.tar.gz gdb-704bbd0dc3077602741acddeead509558c4cc032.tar.bz2 |
* objcopy.c (strip_main, copy_main): Add missing 'break' in switch.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r-- | binutils/objcopy.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |