arm: bcmp -> memcmp

The bcmp symbol is not used, at the same time memcmp as pulled from
libkern does byte-by-byte comparison.

So happens bcmp as found in support.S is in fact renamed memcmp, rename
it back.

Discussed with:	cognet
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik
2021-07-19 09:52:23 +00:00
parent db0f264393
commit 9ef5b65085
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -216,7 +216,7 @@ do_memset:
EEND(memset)
END(bzero)
ENTRY(bcmp)
ENTRY(memcmp)
mov ip, r0
cmp r2, #0x06
beq .Lmemcmp_6bytes
@@ -324,7 +324,7 @@ ENTRY(bcmp)
RETne /* Return if mismatch on #4 */
sub r0, r3, r2 /* r0 = b1#5 - b2#5 */
RET
END(bcmp)
END(memcmp)
ENTRY(bcopy)
/* switch the source and destination registers */