From 5f9ac92f3d21ed5a2afdc88c97ad7d9289be373c Mon Sep 17 00:00:00 2001 From: Jesper Nilsson Date: Tue, 3 Aug 2010 16:13:37 +0200 Subject: CRIS: Add debug symbols for assembler code Signed-off-by: Jesper Nilsson --- arch/cris/arch-v32/lib/checksumcopy.S | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/cris/arch-v32/lib') diff --git a/arch/cris/arch-v32/lib/checksumcopy.S b/arch/cris/arch-v32/lib/checksumcopy.S index 21aabe91489..54e209f18b0 100644 --- a/arch/cris/arch-v32/lib/checksumcopy.S +++ b/arch/cris/arch-v32/lib/checksumcopy.S @@ -9,6 +9,7 @@ */ .globl csum_partial_copy_nocheck + .type csum_partial_copy_nocheck,@function csum_partial_copy_nocheck: ;; r10 - src @@ -89,3 +90,5 @@ _do_byte: move.b $r9,[$r11] ret move.d $r13,$r10 + + .size csum_partial_copy_nocheck, . - csum_partial_copy_nocheck -- cgit v1.2.3 From 3a38125d3eda41972caee512d9823b964e0c16fc Mon Sep 17 00:00:00 2001 From: Jesper Nilsson Date: Tue, 3 Aug 2010 16:16:45 +0200 Subject: CRIS: Add debug info for assembler code Signed-off-by: Jesper Nilsson --- arch/cris/arch-v32/lib/checksum.S | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/cris/arch-v32/lib') diff --git a/arch/cris/arch-v32/lib/checksum.S b/arch/cris/arch-v32/lib/checksum.S index 87f3fd71ab1..4a72a94a49a 100644 --- a/arch/cris/arch-v32/lib/checksum.S +++ b/arch/cris/arch-v32/lib/checksum.S @@ -6,6 +6,7 @@ */ .globl csum_partial + .type csum_partial,@function csum_partial: ;; r10 - src @@ -83,3 +84,5 @@ _do_byte: addu.b [$r10],$r12 ret move.d $r12,$r10 + + .size csum_partial, .-csum_partial -- cgit v1.2.3 From 2d0503d1a6816e920e5b827bbe4eea7370c8130e Mon Sep 17 00:00:00 2001 From: Jesper Nilsson Date: Tue, 3 Aug 2010 16:18:22 +0200 Subject: CRIS: Add debug info for assembler code Signed-off-by: Jesper Nilsson --- arch/cris/arch-v32/lib/spinlock.S | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'arch/cris/arch-v32/lib') diff --git a/arch/cris/arch-v32/lib/spinlock.S b/arch/cris/arch-v32/lib/spinlock.S index 79087ef59a1..fe610b9d775 100644 --- a/arch/cris/arch-v32/lib/spinlock.S +++ b/arch/cris/arch-v32/lib/spinlock.S @@ -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 + -- cgit v1.2.3