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:
Kumar Gala 2019-03-13 11:26:28 -05:00 committed by Kumar Gala
commit 4e90103fcb
4 changed files with 10 additions and 10 deletions

View file

@ -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