summaryrefslogtreecommitdiffstats
path: root/lib/libc/arm/string/ffs.S
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arm/string/ffs.S')
-rw-r--r--lib/libc/arm/string/ffs.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arm/string/ffs.S b/lib/libc/arm/string/ffs.S
index e91b3bb..223d55d 100644
--- a/lib/libc/arm/string/ffs.S
+++ b/lib/libc/arm/string/ffs.S
@@ -62,7 +62,7 @@ ENTRY(ffs)
/* now lookup in table indexed on top 6 bits of r0 */
ldrneb r0, [ r2, r0, lsr #26 ]
- mov pc, lr
+ RET
.text;
.type .L_ffs_table, _ASM_TYPE_OBJECT;
.L_ffs_table:
@@ -78,5 +78,5 @@ ENTRY(ffs)
#else
clzne r0, r0
rsbne r0, r0, #32
- mov pc, lr
+ RET
#endif
OpenPOWER on IntegriCloud