svn commit: r313848 - stable/10/usr.sbin/kldxref

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


Author: emaste
Date: Fri Feb 17 00:49:01 2017
New Revision: 313848
URL: https://svnweb.freebsd.org/changeset/base/313848

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/10/usr.sbin/kldxref/ef.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/kldxref/ef.c
==============================================================================
--- stable/10/usr.sbin/kldxref/ef.c	Fri Feb 17 00:47:43 2017	(r313847)
+++ stable/10/usr.sbin/kldxref/ef.c	Fri Feb 17 00:49:01 2017	(r313848)
@@ -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-stable-10 mailing list