revert r191633; this breaks at91 & xscale (likely all arm)
This commit is contained in:
parent
79b0c0a2c8
commit
3567962cfa
@ -33,10 +33,10 @@
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
ENTRY(strncmp)
|
||||
/* if (len == 0) return 0 */
|
||||
cmp r2, #0
|
||||
moveq r0, #0
|
||||
RETeq
|
||||
/* if ((len - 1) < 0) return 0 */
|
||||
subs r2, r2, #1
|
||||
movmi r0, #0
|
||||
movmi pc, lr
|
||||
|
||||
/* ip == last src address to compare */
|
||||
add ip, r0, r2
|
||||
|
Loading…
x
Reference in New Issue
Block a user