svn commit: r313846 - stable/11/usr.sbin/kldxref

Ed Maste emaste at FreeBSD.org
Fri Feb 17 00:46:17 UTC 2017


Author: emaste
Date: Fri Feb 17 00:46:16 2017
New Revision: 313846
URL: https://svnweb.freebsd.org/changeset/base/313846

Log:
  MFC r313563: 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

Modified:
  stable/11/usr.sbin/kldxref/ef.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.sbin/kldxref/ef.c
==============================================================================
--- stable/11/usr.sbin/kldxref/ef.c	Fri Feb 17 00:44:48 2017	(r313845)
+++ stable/11/usr.sbin/kldxref/ef.c	Fri Feb 17 00:46:16 2017	(r313846)
@@ -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