Blame sysdeps/s390/ifunc-stpcpy.h

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