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