HomeFreeBSD

kldxref: bump MAXSEGS to 3

Description

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

Details

Provenance
emasteAuthored on
Parents
rS313562: kldxref: s/sections/segments/ in warning message
Branches
Unknown
Tags
Unknown