mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 21:03:55 +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:
@ -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;
|
||||
|
Reference in New Issue
Block a user