diff options
author | emaste <emaste@FreeBSD.org> | 2017-02-17 00:49:01 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2017-02-17 00:49:01 +0000 |
commit | d3b5abd4282ad6ec83d3d0e2697e4c32e1094664 (patch) | |
tree | c5c01468bb4d341234f4549f0c24a5c388f2e5be /usr.sbin | |
parent | 4ae0bf7e940b0b987f7e915d58f5e8fd8c584bdb (diff) | |
download | FreeBSD-src-d3b5abd4282ad6ec83d3d0e2697e4c32e1094664.zip FreeBSD-src-d3b5abd4282ad6ec83d3d0e2697e4c32e1094664.tar.gz |
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
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/kldxref/ef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/kldxref/ef.c b/usr.sbin/kldxref/ef.c index aa3fc2e..d700b2a 100644 --- a/usr.sbin/kldxref/ef.c +++ b/usr.sbin/kldxref/ef.c @@ -47,7 +47,7 @@ #include "ef.h" -#define MAXSEGS 2 +#define MAXSEGS 3 struct ef_file { char* ef_name; struct elf_file *ef_efile; |