Mercurial > hg > index.cgi
comparison lwlink/link.c @ 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 | 221b5f58d8ad |
children | 3425005b9980 |
comparison
equal
deleted
inserted
replaced
444:141a1beb98ae | 445:9c6204534ab8 |
---|---|
712 for (fn = 0; fn < ninputfiles; fn++) | 712 for (fn = 0; fn < ninputfiles; fn++) |
713 { | 713 { |
714 if (inputfiles[fn] -> forced == 1) | 714 if (inputfiles[fn] -> forced == 1) |
715 continue; | 715 continue; |
716 | 716 |
717 fprintf(stderr, "Warning: %s (%d) does not resolve any symbols\n", inputfiles[fn] -> filename, fn); | 717 fprintf(stderr, "Warning: library -l%s (%d) does not resolve any symbols\n", inputfiles[fn] -> filename, fn); |
718 } | 718 } |
719 } | 719 } |
720 void find_section_by_name_once_aux(char *name, fileinfo_t *fn, section_t **rval, int *found); | 720 void find_section_by_name_once_aux(char *name, fileinfo_t *fn, section_t **rval, int *found); |
721 void find_section_by_name_once_aux(char *name, fileinfo_t *fn, section_t **rval, int *found) | 721 void find_section_by_name_once_aux(char *name, fileinfo_t *fn, section_t **rval, int *found) |
722 { | 722 { |