x86-64: Define __memcmpeq in ld.so

Define __memcmpeq in ld.so so that compiler can generate __memcmpeq call
when compiling for ld.so.

(cherry picked from commit a5659cf27d)
This commit is contained in:
H.J. Lu 2022-02-13 18:46:23 -08:00 committed by Sunil K Pandey
parent a133623048
commit f0a53588da

View File

@ -16,8 +16,10 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
#ifndef memcmp
#if IS_IN (libc)
# define memcmp __memcmpeq_sse2
#else
# define memcmp __memcmpeq
#endif
#define USE_AS_MEMCMPEQ 1
#include "memcmp-sse2.S"