HomeFreeBSD

rtld: do not process absent dynamic.

Description

rtld: do not process absent dynamic.

If object has no dynamic phdr, do not try to dereference NULL. This
means that we cannot process any relocation, and that there cannot be
symbols defined, but it is up to static linker to produce meaningful
objects.

PR: 249121
Reported by: wsh@riski.sh
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS365367: sx: fix up manpage after r363113
Branches
Unknown
Tags
Unknown