freebsd-dev/cddl/contrib
Mark Johnston 27f35b7dd4 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
2023-04-04 14:08:16 -04:00
..
opensolaris libdtrace: Do not set SHF_ALLOC on SUNW_dof relocation sections 2023-04-04 14:08:16 -04:00