diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-02-10 11:20:54 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2022-02-23 14:06:49 -0300 |
commit | 8bad328203ee79fbc2e895e2a3f17f6a221d0814 (patch) | |
tree | e0ba7c548bf66cbf98b6cba25a6cd34c3ede3572 /sysdeps/i386/i686/multiarch/bcopy.c | |
parent | 86a82cd57ce102d09bb6753af01787008d134618 (diff) | |
download | glibc-8bad328203ee79fbc2e895e2a3f17f6a221d0814.tar.gz glibc-8bad328203ee79fbc2e895e2a3f17f6a221d0814.tar.xz glibc-8bad328203ee79fbc2e895e2a3f17f6a221d0814.zip |
i386: Remove bcopy optimizations
The symbols is not present in current POSIX specification and compiler already generates memmove call.
Diffstat (limited to 'sysdeps/i386/i686/multiarch/bcopy.c')
-rw-r--r-- | sysdeps/i386/i686/multiarch/bcopy.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/sysdeps/i386/i686/multiarch/bcopy.c b/sysdeps/i386/i686/multiarch/bcopy.c deleted file mode 100644 index bc2c2ac55d..0000000000 --- a/sysdeps/i386/i686/multiarch/bcopy.c +++ /dev/null @@ -1,30 +0,0 @@ -/* Multiple versions of bcopy. - All versions must be listed in ifunc-impl-list.c. - Copyright (C) 2017-2022 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - <https://www.gnu.org/licenses/>. */ - -/* Define multiple versions only for the definition in libc. */ -#if IS_IN (libc) -# define bcopy __redirect_bcopy -# include <string.h> -# undef bcopy - -# define SYMBOL_NAME bcopy -# include "ifunc-memmove.h" - -libc_ifunc_redirected (__redirect_bcopy, bcopy, IFUNC_SELECTOR ()); -#endif |