Author: emaste Date: Wed May 30 12:55:27 2018 New Revision: 334380 URL: https://svnweb.freebsd.org/changeset/base/334380
Log: link_elf_obj: correct an error message Previously we'd report that a file has "no valid symbol table" if it in fact had two or more. Change the message to report that there must be exactly one. Modified: head/sys/kern/link_elf_obj.c Modified: head/sys/kern/link_elf_obj.c ============================================================================== --- head/sys/kern/link_elf_obj.c Wed May 30 12:40:37 2018 (r334379) +++ head/sys/kern/link_elf_obj.c Wed May 30 12:55:27 2018 (r334380) @@ -656,7 +656,8 @@ link_elf_load_file(linker_class_t cls, const char *fil } if (nsym != 1) { /* Only allow one symbol table for now */ - link_elf_error(filename, "file has no valid symbol table"); + link_elf_error(filename, + "file must have exactly one symbol table"); error = ENOEXEC; goto out; } _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"