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
This commit is contained in:
parent
d65b2f7ed6
commit
b6c03f2122
|
@ -47,7 +47,7 @@
|
|||
|
||||
#include "ef.h"
|
||||
|
||||
#define MAXSEGS 2
|
||||
#define MAXSEGS 3
|
||||
struct ef_file {
|
||||
char* ef_name;
|
||||
struct elf_file *ef_efile;
|
||||
|
|
Loading…
Reference in New Issue