summaryrefslogtreecommitdiff
path: root/lib_blackfin/memcpy.S
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-19 00:36:14 -0500
committerMike Frysinger <vapier@gentoo.org>2008-03-15 22:14:57 -0400
commit5b22163fef865af2b6bfb6b75f1b7bf443ce170c (patch)
treea93fc7598a06334f9cba7e29bce76dd08339c429 /lib_blackfin/memcpy.S
parentcf675d3b2b9c3511c1d99bc8f8f38fd2f08bfcaf (diff)
downloadu-boot-imx-5b22163fef865af2b6bfb6b75f1b7bf443ce170c.zip
u-boot-imx-5b22163fef865af2b6bfb6b75f1b7bf443ce170c.tar.gz
u-boot-imx-5b22163fef865af2b6bfb6b75f1b7bf443ce170c.tar.bz2
Blackfin: add proper ELF markings to some assembly functions
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib_blackfin/memcpy.S')
-rw-r--r--lib_blackfin/memcpy.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib_blackfin/memcpy.S b/lib_blackfin/memcpy.S
index 24577be..e6b359a 100644
--- a/lib_blackfin/memcpy.S
+++ b/lib_blackfin/memcpy.S
@@ -23,6 +23,7 @@
.align 2
.globl _memcpy_ASM;
+.type _memcpy_ASM, STT_FUNC;
_memcpy_ASM:
CC = R2 <= 0; /* length not positive?*/
IF CC JUMP .L_P1L2147483647; /* Nothing to do */
@@ -112,3 +113,5 @@ _memcpy_ASM:
B[P0--] = R1;
RTS;
+
+.size _memcpy_ASM, .-_memcpy_ASM