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.
Sponsored by: Arm Ltd
Differential D42224
sys/sys: Check for __ASSEMBLER__ in elf_common.h andrew on Oct 16 2023, 3:07 PM. Authored by Tags None Referenced Files
Subscribers
Details When preprocessing assembly files with clang or gcc the ASSEMBLER Sponsored by: Arm Ltd
Diff Detail
Event TimelineComment Actions This is fine... But maybe we don't need the LOCORE hack at all if all assemblers define ASSEMBLER now? Comment Actions I don't think we need LOCORE. I can follow up with a commit to remove LOCORE, although I'm unsure if we have anything that depends on it (either base or ports) |