mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-12 20:20:18 +00:00
x86_64: Add memcmpeq.S to fix disable-multi-arch build
The following commit:
commit cf4fd28ea4
Author: Noah Goldstein <goldstein.w.n@gmail.com>
Date: Tue Oct 26 19:43:18 2021 -0500
Broke --disable-multi-arch build for x86_64 because x86_64/memcmpeq.S
was not defined outside of multiarch and the alias for __memcmpeq in
x86_64/memcmp.S was removed.
This commit fixes that issue by adding x86_64/memcmpeq.S.
make xcheck passes on x86_64 with and without --disable-multi-arch
This commit is contained in:
parent
b3cf94ef15
commit
1d56fd3bae
21
sysdeps/x86_64/memcmpeq.S
Normal file
21
sysdeps/x86_64/memcmpeq.S
Normal file
@ -0,0 +1,21 @@
|
||||
/* __memcmpeq optimized with SSE2.
|
||||
Copyright (C) 2017-2021 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 memcmp __memcmpeq
|
||||
#define USE_AS_MEMCMPEQ 1
|
||||
#include "multiarch/memcmp-sse2.S"
|
Loading…
Reference in New Issue
Block a user