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
1e27dea9e0
commit
ea2e2dc5ed
@ -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
Block a user