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