arm: asm: Fix some asm issues when building with clang
The clang ARM assembler is a bit stricter than GNU as, make a few changes so things build with both Signed-off-by: Peter Smith <peter.smith@linaro.org> Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
b0d46a3175
commit
4e90103fcb
4 changed files with 10 additions and 10 deletions
|
@ -72,7 +72,7 @@ SECTION_SUBSEC_FUNC(TEXT, _HandlerModeExit, z_ExcExit)
|
|||
|
||||
ldr r1, [r0, #_kernel_offset_to_current]
|
||||
|
||||
ldr r0, [r0, _kernel_offset_to_ready_q_cache]
|
||||
ldr r0, [r0, #_kernel_offset_to_ready_q_cache]
|
||||
cmp r0, r1
|
||||
beq _EXIT_EXC
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue