mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 07:02:20 +00:00
Make the assembly codes compatible with both GNU and Metaware toolchain. * replace ".balign" with ".align" ".align" assembler directive is supposed by all ARC toolchains and it is implemented in a same way across ARC toolchains. * replace "mov_s __certain_reg" with "mov __certain_reg" Even though GCC encodes those mnemonics and even real HW executes them according to PRM these are restricted ones for mov_s and CCAC rightfully refuses to accept such mnemonics. So for compatibility and clarity sake we switch to 32-bit mov instruction which allows use of all those instructions. * Add "%%" prefix while accessing registers from inline ASM as it is required by MWDT. * Drop "@" prefix while accessing symbols (defined in C code) from ASM code as it is required by MWDT. Signed-off-by: Wayne Ren <wei.ren@synopsys.com> /# |
||
---|---|---|
.. | ||
mpu | ||
offsets | ||
secureshield | ||
arc_connect.c | ||
arc_smp.c | ||
cache.c | ||
CMakeLists.txt | ||
cpu_idle.S | ||
fast_irq.S | ||
fatal.c | ||
fault_s.S | ||
fault.c | ||
irq_manage.c | ||
irq_offload.c | ||
isr_wrapper.S | ||
prep_c.c | ||
regular_irq.S | ||
reset.S | ||
switch.S | ||
thread_entry_wrapper.S | ||
thread.c | ||
timestamp.c | ||
userspace.S | ||
vector_table.c | ||
vector_table.ld |