HomeFreeBSD

sys/sys: Check for __ASSEMBLER__ in elf_common.h

Description

sys/sys: Check for ASSEMBLER in elf_common.h

When preprocessing assembly files with clang or gcc the ASSEMBLER
macro is defined. Check for this as an alternative to LOCORE in
elf_common.h so it can be included by .S files.

Reviewed by: imp
Sponsored by: Arm Ltd
Differential Revision: https://reviews.freebsd.org/D42224

Details

Provenance
andrewAuthored on Oct 12 2023, 9:45 AM
Reviewer
imp
Differential Revision
D42224: sys/sys: Check for __ASSEMBLER__ in elf_common.h
Parents
rGeb875881553b: Tweaks to libarchive's upgrade instructions
Branches
Unknown
Tags
Unknown