HomeFreeBSD

libdtrace: Do not set SHF_ALLOC on SUNW_dof relocation sections

Description

libdtrace: Do not set SHF_ALLOC on SUNW_dof relocation sections

The section will contain static relocations which do not need to be
preserved after linking, and moreover these relocations may reference
symbols that end up getting removed.

Do not set SHF_ALLOC and instead let the linker decide what needs to be
done.

PR: 258872
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Apr 4 2023, 3:21 PM
Parents
rG91ef6f14f234: Revert "zfs: fall back if block_cloning feature is disabled"
Branches
Unknown
Tags
Unknown