https://sourceware.org/bugzilla/show_bug.cgi?id=28917
--- Comment #1 from Mike Frysinger <vapier at gentoo dot org> --- ugh, this appears to be undocumented behavior. i can't find anything in the man page or manual discussing this, and the commit history predates git. --- a/binutils/ar.c +++ b/binutils/ar.c @@ -1493,8 +1493,7 @@ /* For compatibility with existing ar programs, we permit the same file to be added multiple times. */ if (FILENAME_CMP (normalize (*files_to_move, arch), - normalize (bfd_get_filename (current), arch)) == 0 - && current->arelt_data != NULL) + normalize (bfd_get_filename (current), arch)) == 0) { bool replaced; if (newer_only) -- You are receiving this mail because: You are on the CC list for the bug.