diff options
author | Nick Clifton <nickc@redhat.com> | 2005-04-15 16:28:52 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-04-15 16:28:52 +0000 |
commit | ac559f4a6daae06b15dbcaeaa9c383a91e9e3e41 (patch) | |
tree | 0e0eddcd34462a7f53ab47dd68518edbdbe5ae77 /binutils/objcopy.c | |
parent | e2f4edfd006e47c385b715b535e5515f3ffd9a43 (diff) | |
download | gdb-ac559f4a6daae06b15dbcaeaa9c383a91e9e3e41.zip gdb-ac559f4a6daae06b15dbcaeaa9c383a91e9e3e41.tar.gz gdb-ac559f4a6daae06b15dbcaeaa9c383a91e9e3e41.tar.bz2 |
Issue an error message when attmepting to copy an empty input file.
Diffstat (limited to 'binutils/objcopy.c')
-rw-r--r-- | binutils/objcopy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 2d25b13..856b348 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -1701,6 +1701,7 @@ copy_file (const char *input_filename, const char *output_filename, if (get_file_size (input_filename) < 1) { + non_fatal (_("error: the input file '%s' is empty"), input_filename); status = 1; return; } |