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.

(cherry picked from commit 839fdcfc0c1dba34f728813d9756515ad82ff58a)

Details

Provenance
jrtc27Authored on Mar 20 2021, 5:58 PM
Parents
R10:5a9fe096f14c: tools/build: Improve host-symlinks failure mode
Branches
Unknown
Tags
Unknown