Blame sysdeps/s390/ifunc-wcscat.h

Packit Service 100f2f
/* wcscat variant information on S/390 version.
Packit Service 100f2f
   Copyright (C) 2018 Free Software Foundation, Inc.
Packit Service 100f2f
   This file is part of the GNU C Library.
Packit Service 100f2f
Packit Service 100f2f
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 100f2f
   modify it under the terms of the GNU Lesser General Public
Packit Service 100f2f
   License as published by the Free Software Foundation; either
Packit Service 100f2f
   version 2.1 of the License, or (at your option) any later version.
Packit Service 100f2f
Packit Service 100f2f
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 100f2f
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 100f2f
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 100f2f
   Lesser General Public License for more details.
Packit Service 100f2f
Packit Service 100f2f
   You should have received a copy of the GNU Lesser General Public
Packit Service 100f2f
   License along with the GNU C Library; if not, see
Packit Service 100f2f
   <http://www.gnu.org/licenses/>.  */
Packit Service 100f2f
Packit Service 100f2f
#if defined USE_MULTIARCH && IS_IN (libc)		\
Packit Service 100f2f
  && ! defined HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
Packit Service 100f2f
# define HAVE_WCSCAT_IFUNC	1
Packit Service 100f2f
#else
Packit Service 100f2f
# define HAVE_WCSCAT_IFUNC	0
Packit Service 100f2f
#endif
Packit Service 100f2f
Packit Service 100f2f
#ifdef HAVE_S390_VX_ASM_SUPPORT
Packit Service 100f2f
# define HAVE_WCSCAT_IFUNC_AND_VX_SUPPORT HAVE_WCSCAT_IFUNC
Packit Service 100f2f
#else
Packit Service 100f2f
# define HAVE_WCSCAT_IFUNC_AND_VX_SUPPORT 0
Packit Service 100f2f
#endif
Packit Service 100f2f
Packit Service 100f2f
#if defined HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
Packit Service 100f2f
# define WCSCAT_DEFAULT		WCSCAT_Z13
Packit Service 100f2f
/* The z13 ifunc variant is using the common code variant as fallback!  */
Packit Service 100f2f
# define HAVE_WCSCAT_C		1
Packit Service 100f2f
# define HAVE_WCSCAT_Z13	1
Packit Service 100f2f
#else
Packit Service 100f2f
# define WCSCAT_DEFAULT		WCSCAT_C
Packit Service 100f2f
# define HAVE_WCSCAT_C		1
Packit Service 100f2f
# define HAVE_WCSCAT_Z13	HAVE_WCSCAT_IFUNC_AND_VX_SUPPORT
Packit Service 100f2f
#endif
Packit Service 100f2f
Packit Service 100f2f
#if HAVE_WCSCAT_C
Packit Service 100f2f
# define WCSCAT_C		__wcscat_c
Packit Service 100f2f
#else
Packit Service 100f2f
# define WCSCAT_C		NULL
Packit Service 100f2f
#endif
Packit Service 100f2f
Packit Service 100f2f
#if HAVE_WCSCAT_Z13
Packit Service 100f2f
# define WCSCAT_Z13		__wcscat_vx
Packit Service 100f2f
#else
Packit Service 100f2f
# define WCSCAT_Z13		NULL
Packit Service 100f2f
#endif