Author: dim
Date: Thu Aug 20 18:50:46 2020
New Revision: 364435
URL: https://svnweb.freebsd.org/changeset/base/364435
Log:
Bump kldxref's MAXSEGS to 16, to stop complaints about the kernel
supposedly having too many segments, when lld 11 links it. Such kernels
should load just fine.
Note that we may still do some tweaking of our kernel linker scripts, to
lower the number of segments, although the exact benefit is not entirely
clear.
Modified:
head/usr.sbin/kldxref/ef.c
Modified: head/usr.sbin/kldxref/ef.c
==============================================================================
--- head/usr.sbin/kldxref/ef.c Thu Aug 20 18:31:50 2020 (r364434)
+++ head/usr.sbin/kldxref/ef.c Thu Aug 20 18:50:46 2020 (r364435)
@@ -49,7 +49,7 @@
#include "ef.h"
-#define MAXSEGS 3
+#define MAXSEGS 16
struct ef_file {
char *ef_name;
struct elf_file *ef_efile;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"