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

Details

Provenance
jrtc27Authored on Dec 13 2023, 9:43 PM
Reviewer
brooks
Differential Revision
D43049: tools/build: Provide sys/linker_set.h when cross-building
Parents
rG1fead66b6482: cp: Add tests for hard link case.
Branches
Unknown
Tags
Unknown