Merge pull request #210 from greg-king5/archiver

Make an ar65 warning show both object files' names.
This commit is contained in:
Oliver Schmidt
2015-09-25 16:21:47 +02:00

View File

@@ -113,9 +113,9 @@ void ExpInsert (const char* Name, const ObjData* Module)
while (1) { while (1) {
if (strcmp (L->Name, Name) == 0) { if (strcmp (L->Name, Name) == 0) {
/* Duplicate entry */ /* Duplicate entry */
Warning ("External symbol `%s' in module `%s', library `%s' " Warning ("External symbol `%s' in module `%s', library `%s', "
"is duplicated in module `%s'", "is duplicated in module `%s'",
Name, L->Name, LibName, Module->Name); Name, L->Module->Name, LibName, Module->Name);
} }
if (L->Next == 0) { if (L->Next == 0) {
break; break;