forked from rpms/glibc
30 lines
838 B
Diff
30 lines
838 B
Diff
|
From bf92893a14ebc161b08b28acc24fa06ae6be19cb Mon Sep 17 00:00:00 2001
|
||
|
From: Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||
|
Date: Thu, 10 Feb 2022 11:23:24 -0300
|
||
|
Subject: [PATCH] x86_64: Remove bcopy optimizations
|
||
|
Content-type: text/plain; charset=UTF-8
|
||
|
|
||
|
The symbols is not present in current POSIX specification and compiler
|
||
|
already generates memmove call.
|
||
|
---
|
||
|
sysdeps/x86_64/multiarch/bcopy.S | 7 -------
|
||
|
1 file changed, 7 deletions(-)
|
||
|
delete mode 100644 sysdeps/x86_64/multiarch/bcopy.S
|
||
|
|
||
|
diff --git a/sysdeps/x86_64/multiarch/bcopy.S b/sysdeps/x86_64/multiarch/bcopy.S
|
||
|
deleted file mode 100644
|
||
|
index 639f02bd..00000000
|
||
|
--- a/sysdeps/x86_64/multiarch/bcopy.S
|
||
|
+++ /dev/null
|
||
|
@@ -1,7 +0,0 @@
|
||
|
-#include <sysdep.h>
|
||
|
-
|
||
|
- .text
|
||
|
-ENTRY(bcopy)
|
||
|
- xchg %rdi, %rsi
|
||
|
- jmp __libc_memmove /* Branch to IFUNC memmove. */
|
||
|
-END(bcopy)
|
||
|
--
|
||
|
GitLab
|
||
|
|