summaryrefslogtreecommitdiffstats
path: root/lib/libc/arm/string/ffs.S
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2004-11-09 16:49:14 +0000
committercognet <cognet@FreeBSD.org>2004-11-09 16:49:14 +0000
commit98ebb25e56d0f452f1cfd5d33770eeaedca698fd (patch)
tree8ccabba1a460da5c135164486fcb8597cd0c3fc5 /lib/libc/arm/string/ffs.S
parent7e3e230230217c6f10e0156b63efa735c2f9baef (diff)
downloadFreeBSD-src-98ebb25e56d0f452f1cfd5d33770eeaedca698fd.zip
FreeBSD-src-98ebb25e56d0f452f1cfd5d33770eeaedca698fd.tar.gz
Use the RET macro.
For setjmp() and longjmp(), put the signal mask where it's supposed to be, instead of in the space reserved for fp regs.
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