mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
Emit a warning when an archive is created (only shown with -v) in order to
confrom to POSIX specification.
This commit is contained in:
parent
b5727d755e
commit
e99158355d
@ -1,3 +1,8 @@
|
||||
2003-11-13 Tobias Burnus <tobias.burnus@physik.fu-berlin.de>
|
||||
|
||||
* ar.c (open_inarch): Emit a warning when an archive is created
|
||||
(only shown with -v) in order to confrom to POSIX specification.
|
||||
|
||||
2003-11-11 Wang Li <charles@linux.net.cn>
|
||||
|
||||
* objcopy.c (wildcard): New variable. True if wildcard pattern
|
||||
|
@ -750,6 +750,8 @@ open_inarch (const char *archive_filename, const char *file)
|
||||
|| ! bfd_set_format (arch, bfd_archive)
|
||||
|| ! bfd_close (arch))
|
||||
bfd_fatal (archive_filename);
|
||||
else if (!silent_create)
|
||||
non_fatal (_("creating %s"), archive_filename);
|
||||
|
||||
/* If we die creating a new archive, don't leave it around. */
|
||||
output_filename = archive_filename;
|
||||
|
Loading…
Reference in New Issue
Block a user