Blame sysdeps/s390/wmemset-c.c

Packit Bot 6ad7be
/* Default wmemset implementation for S/390.
Packit Bot 6ad7be
   Copyright (C) 2015-2018 Free Software Foundation, Inc.
Packit Bot 6ad7be
   This file is part of the GNU C Library.
Packit Bot 6ad7be
Packit Bot 6ad7be
   The GNU C Library is free software; you can redistribute it and/or
Packit Bot 6ad7be
   modify it under the terms of the GNU Lesser General Public
Packit Bot 6ad7be
   License as published by the Free Software Foundation; either
Packit Bot 6ad7be
   version 2.1 of the License, or (at your option) any later version.
Packit Bot 6ad7be
Packit Bot 6ad7be
   The GNU C Library is distributed in the hope that it will be useful,
Packit Bot 6ad7be
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Bot 6ad7be
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Bot 6ad7be
   Lesser General Public License for more details.
Packit Bot 6ad7be
Packit Bot 6ad7be
   You should have received a copy of the GNU Lesser General Public
Packit Bot 6ad7be
   License along with the GNU C Library; if not, see
Packit Bot 6ad7be
   <http://www.gnu.org/licenses/>.  */
Packit Bot 6ad7be
Packit Bot 6ad7be
#include <ifunc-wmemset.h>
Packit Bot 6ad7be
Packit Bot 6ad7be
#if HAVE_WMEMSET_C
Packit Bot 6ad7be
# if HAVE_WMEMSET_IFUNC || HAVE_WMEMSET_Z13
Packit Bot 6ad7be
#  define WMEMSET WMEMSET_C
Packit Bot 6ad7be
Packit Bot 6ad7be
#  undef weak_alias
Packit Bot 6ad7be
#  define weak_alias(name, alias)
Packit Bot 6ad7be
Packit Bot 6ad7be
#  if defined SHARED && IS_IN (libc)
Packit Bot 6ad7be
#   undef libc_hidden_weak
Packit Bot 6ad7be
#   define libc_hidden_weak(name)
Packit Bot 6ad7be
#   undef libc_hidden_def
Packit Bot 6ad7be
#   if ! defined HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT
Packit Bot 6ad7be
#    define libc_hidden_def(name)					\
Packit Bot 6ad7be
  __hidden_ver1 (__wmemset_c, __GI_wmemset, __wmemset_c)  __attribute__((weak)); \
Packit Bot 6ad7be
  strong_alias (__wmemset_c, __wmemset_c_1);				\
Packit Bot 6ad7be
  __hidden_ver1 (__wmemset_c_1, __GI___wmemset, __wmemset_c_1);
Packit Bot 6ad7be
#   else
Packit Bot 6ad7be
#    define libc_hidden_def(name)
Packit Bot 6ad7be
#   endif
Packit Bot 6ad7be
#  endif
Packit Bot 6ad7be
# endif
Packit Bot 6ad7be
Packit Bot 6ad7be
# include <wcsmbs/wmemset.c>
Packit Bot 6ad7be
#endif