svn commit: r313563 - head/usr.sbin/kldxref
Ed Maste
emaste at FreeBSD.org
Fri Feb 10 19:17:11 UTC 2017
Author: emaste
Date: Fri Feb 10 19:17:10 2017
New Revision: 313563
URL: https://svnweb.freebsd.org/changeset/base/313563
Log:
kldxref: bump MAXSEGS to 3
ld.bfd generates two PT_LOAD segments, but certain linkers or linker
configurations generate three PT_LOAD segments (one additional for
RELRO).
PR: 216975
Reported by: Shawn Webb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Modified:
head/usr.sbin/kldxref/ef.c
Modified: head/usr.sbin/kldxref/ef.c
==============================================================================
--- head/usr.sbin/kldxref/ef.c Fri Feb 10 19:11:33 2017 (r313562)
+++ head/usr.sbin/kldxref/ef.c Fri Feb 10 19:17:10 2017 (r313563)
@@ -47,7 +47,7 @@
#include "ef.h"
-#define MAXSEGS 2
+#define MAXSEGS 3
struct ef_file {
char* ef_name;
struct elf_file *ef_efile;
More information about the svn-src-all
mailing list