svn commit: r334380 - head/sys/kern
Ed Maste
emaste at FreeBSD.org
Wed May 30 12:55:28 UTC 2018
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;
}
More information about the svn-src-all
mailing list