diff --git a/binutils/ChangeLog b/binutils/ChangeLog index e6beaaf900d..0db5c0f534a 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2003-11-13 Tobias Burnus + + * 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 * objcopy.c (wildcard): New variable. True if wildcard pattern diff --git a/binutils/ar.c b/binutils/ar.c index 7270635161f..57714279a79 100644 --- a/binutils/ar.c +++ b/binutils/ar.c @@ -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;