Blame sysdeps/s390/multiarch/stpcpy-c.c

Packit Service 8bbac7
/* Default stpcpy implementation for S/390.
Packit Service 8bbac7
   Copyright (C) 2015-2018 Free Software Foundation, Inc.
Packit Service 8bbac7
   This file is part of the GNU C Library.
Packit Service 8bbac7
Packit Service 8bbac7
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 8bbac7
   modify it under the terms of the GNU Lesser General Public
Packit Service 8bbac7
   License as published by the Free Software Foundation; either
Packit Service 8bbac7
   version 2.1 of the License, or (at your option) any later version.
Packit Service 8bbac7
Packit Service 8bbac7
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 8bbac7
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 8bbac7
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 8bbac7
   Lesser General Public License for more details.
Packit Service 8bbac7
Packit Service 8bbac7
   You should have received a copy of the GNU Lesser General Public
Packit Service 8bbac7
   License along with the GNU C Library; if not, see
Packit Service 8bbac7
   <http://www.gnu.org/licenses/>.  */
Packit Service 8bbac7
Packit Service 8bbac7
#if defined HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc)
Packit Service 8bbac7
# define STPCPY  __stpcpy_c
Packit Service 8bbac7
# undef weak_alias
Packit Service 8bbac7
# define weak_alias(a, b)
Packit Service 8bbac7
# ifdef SHARED
Packit Service 8bbac7
#  undef libc_hidden_def
Packit Service 8bbac7
#  define libc_hidden_def(name)					\
Packit Service 8bbac7
  __hidden_ver1 (__stpcpy_c, __GI___stpcpy, __stpcpy_c);
Packit Service 8bbac7
#  undef libc_hidden_builtin_def
Packit Service 8bbac7
#  define libc_hidden_builtin_def(name)				\
Packit Service 8bbac7
  strong_alias (__stpcpy_c, __stpcpy_c_1);			\
Packit Service 8bbac7
  __hidden_ver1 (__stpcpy_c_1, __GI_stpcpy, __stpcpy_c_1);
Packit Service 8bbac7
# endif /* SHARED */
Packit Service 8bbac7
Packit Service 8bbac7
Packit Service 8bbac7
# include <string/stpcpy.c>
Packit Service 8bbac7
#endif /* HAVE_S390_VX_ASM_SUPPORT && IS_IN (libc) */