mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
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:
parent
db0f264393
commit
9ef5b65085
@ -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 */
|
||||
|
@ -123,7 +123,6 @@ libkern/fls.c optional !armv7 !armv6
|
||||
libkern/flsl.c optional !armv7 !armv6
|
||||
libkern/flsll.c optional !armv7 !armv6
|
||||
libkern/lshrdi3.c standard
|
||||
libkern/memcmp.c standard
|
||||
libkern/moddi3.c standard
|
||||
libkern/qdivrem.c standard
|
||||
libkern/strlen.c standard
|
||||
|
Loading…
Reference in New Issue
Block a user