Commit 2d0503d1 authored by Jesper Nilsson's avatar Jesper Nilsson

CRIS: Add debug info for assembler code

Signed-off-by: default avatarJesper Nilsson <jesper.nilsson@axis.com>
parent 3a38125d
...@@ -6,7 +6,9 @@ ...@@ -6,7 +6,9 @@
.global cris_spin_lock .global cris_spin_lock
.type cris_spin_lock,@function
.global cris_spin_trylock .global cris_spin_trylock
.type cris_spin_trylock,@function
.text .text
...@@ -22,6 +24,8 @@ cris_spin_lock: ...@@ -22,6 +24,8 @@ cris_spin_lock:
ret ret
nop nop
.size cris_spin_lock, . - cris_spin_lock
cris_spin_trylock: cris_spin_trylock:
clearf p clearf p
1: move.b [$r10], $r11 1: move.b [$r10], $r11
...@@ -31,3 +35,6 @@ cris_spin_trylock: ...@@ -31,3 +35,6 @@ cris_spin_trylock:
clearf p clearf p
ret ret
movu.b $r11,$r10 movu.b $r11,$r10
.size cris_spin_trylock, . - cris_spin_trylock
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment