Blame sysdeps/s390/ifunc-stpcpy.h

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