as & readelf "Error: Cannot stat input file no.elf" style message
J. Grant
jg-lists@jguk.org
Fri Nov 7 00:16:00 GMT 2003
Hi Nick,
> Please alter strings et al. It does not make sense to run these
> programs on a directory, so having an error message imply that it is
> OK is a bad thing.
Ok, I have created a patch for review that makes strings et al the "No
such file" message when a file is found not to exist. This replaces the
"No such file or directory" message that was displayed.
I have verified each program with test arguments and I am confident I
have identified all cases and not broken anything by making these
revisions.
2003-10-25 Jonathan R. Grant <jg-binutils@jguk.org>
* binutils/addr2line.c: Use "No such file" error message.
* binutils/ar.c: Ditto (ar).
* binutils/ar.c: Ditto (ranlib).
* binutils/nm.c: Ditto.
* binutils/objcopy.c: Ditto (objcopy).
* binutils/objcopy.c: Ditto (strip).
* binutils/objdump.c: Ditto.
* binutils/readelf.c: Ditto.
* binutils/size.c: Ditto.
* binutils/strings.c: Ditto.
* gas/input-file.c: Ditto
* ld/ldfile.c: Ditto.
Best regards
JG
-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-such-file-07.patch.gz
Type: application/gzip
Size: 2859 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20031107/79528099/attachment.gz>
More information about the Binutils
mailing list