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] |
I don't mind error on "strip foo.c". But I don't think error on foo.c in an archive is nice. A warning is better.
Agreed. I assume that you have a patch that does this ?
Here is the patch.
+const char * +bfd_archive_filename (bfd *abfd)
+ return buf; + } + else + return bfd_get_filename (abfd);
+#define BUFSIZE 8192
|| bfd_get_arch (ibfd) != bfd_get_arch (obfd))) { if (bfd_get_arch (ibfd) == bfd_arch_unknown) - fatal (_("Unable to recognise the format of the input file %s"), - bfd_get_filename (ibfd)); + non_fatal (_("Unable to recognise the format of the input file `%s'"), + bfd_archive_filename (ibfd)); else
+ printf (_("copy from `%s'(%s) to `%s'(%s)\n"), + bfd_archive_filename (ibfd), bfd_get_target (ibfd), bfd_get_filename (obfd), bfd_get_target (obfd));
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |