diff --git a/lib/libc/aarch64/string/Makefile.inc b/lib/libc/aarch64/string/Makefile.inc --- a/lib/libc/aarch64/string/Makefile.inc +++ b/lib/libc/aarch64/string/Makefile.inc @@ -4,7 +4,6 @@ # AARCH64_STRING_FUNCS= \ - memchr \ memcmp \ memcpy \ memmove \ @@ -19,6 +18,7 @@ # SIMD-enhanced routines not derived from Arm's code MDSRCS+= \ + memchr.S \ strcmp.S \ strspn.S \ strcspn.S \ diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh --- a/tools/build/depend-cleanup.sh +++ b/tools/build/depend-cleanup.sh @@ -270,8 +270,9 @@ # 20250110 3dc5429158cf add strncat SIMD implementation clean_dep lib/libc strncat c - # 20250110 bea89d038ac5 add strlcat SIMD implementation + # 20250110 bea89d038ac5 add strlcat SIMD implementation, and move memchr clean_dep lib/libc strlcat c + run rm -f "$OBJTOP"/lib/libc/memchr.S # 20250110 3863fec1ce2d add strlen SIMD implementation clean_dep lib/libc strlen S arm-optimized-routines