public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* objcopy fails silently with an empty input file
@ 2005-04-12 23:35 Shaun Jackman
  2005-04-13 16:08 ` Nick Clifton
  0 siblings, 1 reply; 8+ messages in thread
From: Shaun Jackman @ 2005-04-12 23:35 UTC (permalink / raw)
  To: binutils

objcopy silently fails when the input file is empty. I'd rather it
didn't fail -- this used to work in previous versions -- but it
definitely shouldn't fail silently.

Cheers,
Shaun

$ arm-elf-objcopy --version | head -1
GNU objcopy 2.15
$ echo > not-empty
$ arm-elf-objcopy -Ibinary -Oelf32-little not-empty not-empty.o; echo $?
0
$ echo -n > empty
$ arm-elf-objcopy -Ibinary -Oelf32-little empty empty.o; echo $?
1

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-04-15 16:27 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-12 23:35 objcopy fails silently with an empty input file Shaun Jackman
2005-04-13 16:08 ` Nick Clifton
2005-04-13 17:21   ` Shaun Jackman
2005-04-14  9:54     ` Nick Clifton
2005-04-14 15:25       ` Shaun Jackman
2005-04-15  9:13         ` Nick Clifton
2005-04-15 16:01           ` Shaun Jackman
2005-04-15 16:27             ` Nick Clifton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).