# HG changeset patch # User William Astle # Date 1511849550 25200 # Node ID 9c6204534ab8287851c48de39bec0628bc5b7468 # Parent 141a1beb98aee48d5efeb5f46393ca798dbe5d4b Improve diagnostic message from lwlink when an object isn't needed Thanks to Mark R V Murray for this improvement to the diagnostic message when a specified object is not required when linking. diff -r 141a1beb98ae -r 9c6204534ab8 lwlink/link.c --- a/lwlink/link.c Mon Nov 27 23:11:27 2017 -0700 +++ b/lwlink/link.c Mon Nov 27 23:12:30 2017 -0700 @@ -714,7 +714,7 @@ if (inputfiles[fn] -> forced == 1) continue; - fprintf(stderr, "Warning: %s (%d) does not resolve any symbols\n", inputfiles[fn] -> filename, fn); + fprintf(stderr, "Warning: library -l%s (%d) does not resolve any symbols\n", inputfiles[fn] -> filename, fn); } } void find_section_by_name_once_aux(char *name, fileinfo_t *fn, section_t **rval, int *found);