mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
shared/runtime/gchelper: Drop cpu directive from ARM asm helpers.
This drops the `.cpu` directive from the ARM gchelper_*.s files. Having this directive breaks the linker when targeting older CPUs (e.g. `-mthumb -mthumb-interwork` for `-mcpu=arm7tdmi`). The actual target CPU should be determined by the compiler options. The exact CPU doesn't actually matter, but rather the supported assembly instruction set. So the files are renamed to *_thumb1.s and *thumb2.s to indicate the instruction set support instead of the CPU support. Signed-off-by: David Lechner <david@pybricks.com>
This commit is contained in:
committed by
Damien George
parent
c2ab1b5185
commit
3446d440f6
@@ -335,7 +335,7 @@ SRC_O += \
|
||||
$(SYSTEM_FILE)
|
||||
|
||||
SRC_O += \
|
||||
shared/runtime/gchelper_m3.o
|
||||
shared/runtime/gchelper_thumb2.o
|
||||
|
||||
HAL_SRC_C += $(addprefix $(HAL_DIR)/ra/board/$(BOARD_LOW)/,\
|
||||
board_init.c \
|
||||
|
||||
Reference in New Issue
Block a user