Commit e7cb0838 authored by Max Filippov's avatar Max Filippov
Browse files

xtensa: drop bcopy implementation



bcopy is not exported and there's no in-tree users of this function.
Drop it.

Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent f8b09d45
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -118,9 +118,6 @@ extern void *__memcpy(void *__to, __const__ void *__from, size_t __n);
extern void *memmove(void *__dest, __const__ void *__src, size_t __n);
extern void *__memmove(void *__dest, __const__ void *__src, size_t __n);

/* Don't build bcopy at all ...  */
#define __HAVE_ARCH_BCOPY

#if defined(CONFIG_KASAN) && !defined(__SANITIZE_ADDRESS__)

/*
+0 −15
Original line number Diff line number Diff line
@@ -274,21 +274,6 @@ WEAK(memcpy)

ENDPROC(__memcpy)

/*
 * void bcopy(const void *src, void *dest, size_t n);
 */

ENTRY(bcopy)

	abi_entry_default
	# a2=src, a3=dst, a4=len
	mov	a5, a3
	mov	a3, a2
	mov	a2, a5
	j	.Lmovecommon	# go to common code for memmove+bcopy

ENDPROC(bcopy)

/*
 * void *memmove(void *dst, const void *src, size_t len);
 *