arm64, riscv64: Drop arch_string.S.

It was empty and unused on these architectures.
This commit is contained in:
Augustin Cavalier
2025-03-05 11:57:05 -05:00
parent 1707ab1299
commit 8a86fccb1b
5 changed files with 0 additions and 30 deletions
-1
View File
@@ -26,7 +26,6 @@ KernelMergeObject kernel_lib_posix_arch_$(TARGET_ARCH).o :
kernel_longjmp_return.c
kernel_setjmp_save_sigs.c
arch_string.S
memset.c
memcpy.c
@@ -28,7 +28,6 @@ KernelMergeObject kernel_lib_posix_arch_$(TARGET_ARCH).o :
kernel_longjmp_return.c
kernel_setjmp_save_sigs.c
#arch_string.S
memcpy.c
memset.c
@@ -13,7 +13,6 @@ for architectureObject in [ MultiArchSubDirSetup arm64 ] {
SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
MergeObject <$(architecture)>posix_string_arch_$(TARGET_ARCH).o :
arch_string.S
memcpy.c
memset.c
;
@@ -1,6 +0,0 @@
/*
* Copyright 2019, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*/
#include <asm_defs.h>
@@ -1,21 +0,0 @@
/*
** Copyright 2001, Travis Geiselbrecht. All rights reserved.
** Distributed under the terms of the NewOS License.
*/
#include <asm_defs.h>
#warning RISCV64: optimized assembly memcpy
// for now, a generic C one in:
// * src/system/kernel/lib/arch/riscv64/Jamfile
// * src/system/runtime_loader/arch/riscv64/Jamfile
#if 0
/* that should be enough for now */
.align 4
FUNCTION(memcpy):
/* void *memcpy(void *dest, const void *src, size_t count) */
FUNCTION_END(memcpy)
#endif