This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: as & readelf "Error: Cannot stat input file no.elf" stylemessage


Hi J.G.

> 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.


Thanks - I have applied this patch with a few modifications:

  * I moved the stat() code into bucomm.c and then called this
    function from the other files in the binutils/ directory.  This
    reduced code duplication.

  * I divided the ChangeLog up into separate entries for the
    binutils, gas and ld directories.

  * I added code to detect and complain about directories being given
    as a filename.

Cheers
        Nick
        


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]