HomeFreeBSD

tools/build: Provide sys/linker_set.h when cross-building

Description

tools/build: Provide sys/linker_set.h when cross-building

This is needed for kldxref, which will shortly become a bootstrap tool.
Linux can use the same one as FreeBSD (provided the cross-building
sys/cdefs.h is augmented appropriately), whilst macOS needs its own
Mach-O-specific implementation.

Reviewed by: brooks
Differential Revision: https://reviews.freebsd.org/D43049

(cherry picked from commit 881ec81372e0748f2869fe6c18e909afa8304e7a)

Details

Provenance
jrtc27Authored on Dec 13 2023, 9:43 PM
jhbCommitted on Jan 18 2024, 10:26 PM
Reviewer
brooks
Differential Revision
D43049: tools/build: Provide sys/linker_set.h when cross-building
Parents
rGcec0bae09eae: kldxref: Workaround incorrect PT_DYNAMIC in existing powerpc kernels
Branches
Unknown
Tags
Unknown