]> git.ipfire.org Git - thirdparty/glibc.git/blame - sysdeps/powerpc/powerpc64/le/fpu/multiarch/float128-ifunc-macros.h
Update copyright dates with scripts/update-copyrights
[thirdparty/glibc.git] / sysdeps / powerpc / powerpc64 / le / fpu / multiarch / float128-ifunc-macros.h
CommitLineData
33fc3452 1/* _Float128 aliasing macro support for ifunc generation on PPC.
2b778ceb 2 Copyright (C) 2020-2021 Free Software Foundation, Inc.
33fc3452
PM
3 This file is part of the GNU C Library.
4
5 The GNU C Library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 The GNU C Library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with the GNU C Library; if not, see
17 <https://www.gnu.org/licenses/>. */
18
19#ifndef _FLOAT128_IFUNC_MACROS_PPC64LE
20#define _FLOAT128_IFUNC_MACROS_PPC64LE 1
21
22/* Bring in the various alias-providing headers, and disable
23 _Float128 related macros. This prevents exporting any ABI
24 from _Float128 implementation objects. */
25#include <libm-alias-float128.h>
26#include <libm-alias-finite.h>
27
28#undef libm_alias_float128_r
29#undef libm_alias_finite
30#undef libm_alias_exclusive_ldouble
31#undef libm_alias_float128_other_r_ldbl
32#undef declare_mgen_finite_alias
33#undef declare_mgen_alias
34#undef declare_mgen_alias_r
35
36#define libm_alias_finite(from, to)
37#define libm_alias_float128_r(from, to, r)
38#define libm_alias_exclusive_ldouble(from, to)
39#define libm_alias_float128_other_r_ldbl(from, to, r)
40#define declare_mgen_finite_alias(from, to)
41#define declare_mgen_alias(from, to)
42#define declare_mgen_alias_r(from, to)
43
44/* Likewise, disable hidden symbol support. This is not needed
45 for the implementation objects as the redirects already give
46 us this support. This also means any non-_Float128 headers
47 which provide hidden_def's should be included prior to this
48 header (e.g fenv.h). */
49#undef libm_hidden_def
50#define libm_hidden_def(func)
51#undef libm_hidden_proto
52#define libm_hidden_proto(f)
53
54#include <float128-ifunc-redirect-macros.h>
55
56#endif /* _FLOAT128_IFUNC_MACROS_PPC64LE */