rockbox/firmware/target/mips
Aidan MacDonald f44b6c78e0 misc: respect standard __ASSEMBLER__ define in CPU headers
The JZ47xx and S5L87xx processor families used their own
special defines (__ASSEMBLY__ and ASM respectively) in
their CPU headers to check if they were included from an
assembly source file.

For GCC the standard seems to be __ASSEMBLER__, so check
for that instead and remove the non-standard symbols.
Being more consistent across platforms makes it easier to
include cpu.h from cross-platform files (eg. plugin.lds).

Change-Id: I282930cad34e1a2ff18166f3b4338548b34f4a49
2026-03-05 21:13:50 +00:00
..
ingenic_jz47xx misc: respect standard __ASSEMBLER__ define in CPU headers 2026-03-05 21:13:50 +00:00
ingenic_x1000 pcm: introduce pcm_sink 2026-03-02 10:09:11 +09:00
exception-mips.S mips: consolidate exception handling, add exception backtraces 2022-10-17 09:04:18 -04:00
mipsr2-endian.h MIPS: add another mipsr2 endian function 2021-05-29 15:35:50 +00:00
mmu-mips.c New port: FiiO M3K on bare metal 2021-03-28 00:01:37 +00:00
mmu-mips.h mips: Work around an issue with GCC 8. 2022-10-10 08:24:33 -04:00
system-mips.c mips: show version info on exception panic screen 2025-12-11 15:48:50 +00:00
system-mips.h mips: consolidate exception handling, add exception backtraces 2022-10-17 09:04:18 -04:00