mirror of
https://github.com/opnsense/src.git
synced 2026-05-21 09:25:59 -04: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
2 changed files with 2 additions and 3 deletions
|
|
@ -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 a new issue