HomeFreeBSD

kldxref: Workaround incorrect PT_DYNAMIC in existing powerpc kernels

Description

kldxref: Workaround incorrect PT_DYNAMIC in existing powerpc kernels

Existing powerpc kernels include additional sections beyond .dynamic
in the PT_DYNAMIC segment. Relax the requirement for an exact size
match of the section and segment for PowerPC files as a workaround.

Reported by: jrtc27
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D43123

(cherry picked from commit 6631e2f9b49e08f53c7beb560ee8509c343b3927)

Details

Provenance
jhbAuthored on Jan 9 2024, 6:57 PM
Differential Revision
D43123: kldxref: Workaround incorrect PT_DYNAMIC in existing powerpc kernels
Parents
rGfb4c8b2d89cb: kldxref: Correct contract number in license ACK
Branches
Unknown
Tags
Unknown