changeset 445:9c6204534ab8

Improve diagnostic message from lwlink when an object isn't needed Thanks to Mark R V Murray <mark@grondar.org> for this improvement to the diagnostic message when a specified object is not required when linking.
author William Astle <lost@l-w.ca>
date Mon, 27 Nov 2017 23:12:30 -0700
parents 141a1beb98ae
children 818b096ac128
files lwlink/link.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);