CRIS: Add debug info for assembler code

Signed-off-by: Jesper Nilsson <jesper.nilsson@axis.com>
This commit is contained in:
Jesper Nilsson 2010-08-03 16:18:22 +02:00
parent 3a38125d3e
commit 2d0503d1a6

View File

@ -6,7 +6,9 @@
.global cris_spin_lock
.type cris_spin_lock,@function
.global cris_spin_trylock
.type cris_spin_trylock,@function
.text
@ -22,6 +24,8 @@ cris_spin_lock:
ret
nop
.size cris_spin_lock, . - cris_spin_lock
cris_spin_trylock:
clearf p
1: move.b [$r10], $r11
@ -31,3 +35,6 @@ cris_spin_trylock:
clearf p
ret
movu.b $r11,$r10
.size cris_spin_trylock, . - cris_spin_trylock