summaryrefslogtreecommitdiffstats
path: root/libc/arch-arm/bionic/memcmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/arch-arm/bionic/memcmp.S')
-rw-r--r--libc/arch-arm/bionic/memcmp.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/libc/arch-arm/bionic/memcmp.S b/libc/arch-arm/bionic/memcmp.S
index f45b56b..67dcddc 100644
--- a/libc/arch-arm/bionic/memcmp.S
+++ b/libc/arch-arm/bionic/memcmp.S
@@ -44,6 +44,7 @@
*/
memcmp:
+ .fnstart
PLD (r0, #0)
PLD (r1, #0)
@@ -53,6 +54,7 @@ memcmp:
moveq r0, #0
bxeq lr
+ .save {r4, lr}
/* save registers */
stmfd sp!, {r4, lr}
@@ -174,6 +176,7 @@ memcmp:
9: /* restore registers and return */
ldmfd sp!, {r4, lr}
bx lr
+ .fnend