git: d57842ed2dad - main - depend-cleanup.sh: clean up after AArch64 libc SIMD merge

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 13 Jan 2025 16:06:13 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/src/commit/?id=d57842ed2dad1c9bb8ae7271a8b5df772ac5213b

commit d57842ed2dad1c9bb8ae7271a8b5df772ac5213b
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-01-13 15:20:07 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-01-13 16:05:06 +0000

    depend-cleanup.sh: clean up after AArch64 libc SIMD merge
    
    This should cover all the changed functions.
    
    Event:          GSoC 2024
    Reported by:    andrew
    Approved by:    emaste
    Differential Revision: https://reviews.freebsd.org/D48443
---
 tools/build/depend-cleanup.sh | 45 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
index 8aee1d0e9e71..6f97747183a8 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -239,3 +239,48 @@ if [ -h "$OBJTOP"/lib/libc/jemalloc.3 ]; then
 	echo "Removing stale jemalloc.3 object"
 	run rm -f "$OBJTOP"/lib/libc/jemalloc.3
 fi
+
+if [ $MACHINE_ARCH = aarch64 ]; then
+	# 20250110  5e7d93a60440  add strcmp SIMD implementation
+	clean_dep   lib/libc strcmp S
+
+	# 20250110  b91003acffe7  add strspn optimized implementation
+	clean_dep   lib/libc strspn c
+
+	# 20250110  f2bd390a54f1  add strcspn optimized implementation
+	clean_dep   lib/libc strcspn c
+
+	# 20250110  89b3872376cb  add optimized strpbrk & strsep implementations
+	clean_dep   lib/libc strpbrk c
+
+	# 20250110  79287d783c72  strcat enable use of SIMD
+	clean_dep   lib/libc strcat c
+
+	# 20250110  756b7fc80837  add strlcpy SIMD implementation
+	clean_dep   lib/libc strlcpy c
+
+	# 20250110  25c485e14769  add strncmp SIMD implementation
+	clean_dep   lib/libc strncmp S
+
+	# 20250110  bad17991c06d  add memccpy SIMD implementation
+	clean_dep   lib/libc memccpy c
+
+	# 20250110  3dc5429158cf  add strncat SIMD implementation
+	clean_dep   lib/libc strncat c
+
+	# 20250110  bea89d038ac5  add strlcat SIMD implementation
+	clean_dep   lib/libc strlcat c
+
+	# 20250110  3863fec1ce2d  add strlen SIMD implementation
+	clean_dep   lib/libc strlen S
+
+	# 20250110  79e01e7e643c  add bcopy & bzero wrapper
+	clean_dep   lib/libc bcopy c
+	clean_dep   lib/libc bzero c
+
+	# 20250110  f2c98669fc1b  add ASIMD-enhanced timingsafe_bcmp implementation
+	clean_dep   lib/libc timingsafe_bcmp c
+
+	# 20250110  3f224333af16  add timingsafe_memcmp() assembly implementation
+	clean_dep   lib/libc timingsafe_memcmp c
+fi