ld65: implement '--allow-multiple-definition' command line parameter
This commit is contained in:
committed by
Oliver Schmidt
parent
c248c14075
commit
5a05acf936
@@ -481,8 +481,8 @@ void InsertExport (Export* E)
|
||||
Imp->Exp = E;
|
||||
Imp = Imp->Next;
|
||||
}
|
||||
} else {
|
||||
/* Duplicate entry, this is fatal */
|
||||
} else if (AllowMultDef == 0) {
|
||||
/* Duplicate entry, this is fatal unless allowed by the user */
|
||||
Error ("Duplicate external identifier: '%s'",
|
||||
GetString (L->Name));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user