Blame sysdeps/s390/multiarch/memcmp.c

Packit Service 3e830d
/* Multiple versions of memcmp.
Packit Service 3e830d
   Copyright (C) 2015-2018 Free Software Foundation, Inc.
Packit Service 3e830d
   This file is part of the GNU C Library.
Packit Service 3e830d
Packit Service 3e830d
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 3e830d
   modify it under the terms of the GNU Lesser General Public
Packit Service 3e830d
   License as published by the Free Software Foundation; either
Packit Service 3e830d
   version 2.1 of the License, or (at your option) any later version.
Packit Service 3e830d
Packit Service 3e830d
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 3e830d
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 3e830d
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 3e830d
   Lesser General Public License for more details.
Packit Service 3e830d
Packit Service 3e830d
   You should have received a copy of the GNU Lesser General Public
Packit Service 3e830d
   License along with the GNU C Library; if not, see
Packit Service 3e830d
   <http://www.gnu.org/licenses/>.  */
Packit Service 3e830d
Packit Service 3e830d
#if IS_IN (libc)
Packit Service 3e830d
# define memcmp __redirect_memcmp
Packit Service 3e830d
# include <string.h>
Packit Service 3e830d
# undef memcmp
Packit Service 3e830d
# include <ifunc-resolve.h>
Packit Service 3e830d
Packit Service 3e830d
s390_libc_ifunc (__redirect_memcmp, __memcmp, memcmp)
Packit Service 3e830d
weak_alias (memcmp, bcmp);
Packit Service 3e830d
#endif