|
Packit Service |
6de65a |
/* Multiple versions of stpcpy.
|
|
Packit Service |
6de65a |
Copyright (C) 2015-2018 Free Software Foundation, Inc.
|
|
Packit Service |
6de65a |
This file is part of the GNU C Library.
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
The GNU C Library is free software; you can redistribute it and/or
|
|
Packit Service |
6de65a |
modify it under the terms of the GNU Lesser General Public
|
|
Packit Service |
6de65a |
License as published by the Free Software Foundation; either
|
|
Packit Service |
6de65a |
version 2.1 of the License, or (at your option) any later version.
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
The GNU C Library is distributed in the hope that it will be useful,
|
|
Packit Service |
6de65a |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit Service |
6de65a |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit Service |
6de65a |
Lesser General Public License for more details.
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
You should have received a copy of the GNU Lesser General Public
|
|
Packit Service |
6de65a |
License along with the GNU C Library; if not, see
|
|
Packit Service |
6de65a |
<http://www.gnu.org/licenses/>. */
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
#if defined HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc)
|
|
Packit Service |
6de65a |
# define stpcpy __redirect_stpcpy
|
|
Packit Service |
6de65a |
# define __stpcpy __redirect___stpcpy
|
|
Packit Service |
6de65a |
/* Omit the stpcpy inline definitions because it would redefine stpcpy. */
|
|
Packit Service |
6de65a |
# define __NO_STRING_INLINES
|
|
Packit Service |
6de65a |
# define NO_MEMPCPY_STPCPY_REDIRECT
|
|
Packit Service |
6de65a |
# include <string.h>
|
|
Packit Service |
6de65a |
# undef stpcpy
|
|
Packit Service |
6de65a |
# undef __stpcpy
|
|
Packit Service |
6de65a |
# include <ifunc-resolve.h>
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
s390_vx_libc_ifunc_redirected (__redirect___stpcpy, __stpcpy);
|
|
Packit Service |
6de65a |
weak_alias (__stpcpy, stpcpy)
|
|
Packit Service |
6de65a |
|
|
Packit Service |
6de65a |
#else
|
|
Packit Service |
6de65a |
# include <string/stpcpy.c>
|
|
Packit Service |
6de65a |
#endif /* !(defined HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc)) */
|