HomeFreeBSD

elftoolchain: Support building on Arm-based Macs

Description

elftoolchain: Support building on Arm-based Macs

Currently macOS and DragonFlyBSD get their own special case and only
handle x86. Since all the FreeBSD cases should be general enough for
macOS and DragonFlyBSD (and the x86 ones are identical to the existing
ones) we can just delete the special cases and reuse the FreeBSD ones.

Note that upstream has since removed all the architecture-specific
checks in this file, with the only code relevant to us being an
endianness check that uses the generic compiler-provided macros. Thus
this patch will not be upstreamed, and will be dropped in a future
vendor import.

Reviewed by: dim
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D29352

Details

Provenance
jrtc27Authored on Mar 20 2021, 5:58 PM
Reviewer
dim
Differential Revision
D29352: elftoolchain: Support building on Arm-based Macs
Parents
rGee7ffaa2e6e0: netmap: fix issues in nm_os_extmem_create()
Branches
Unknown
Tags
Unknown