1 /* Placeholder definitions to pull in removed symbol versions.
2 Copyright (C) 2019-2024 Free Software Foundation, Inc.
3 This file is part of the GNU C Library.
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.
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.
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/>. */
19 #include <sys/cdefs.h>
20 #include <shlib-compat.h>
24 attribute_compat_text_section
26 __libpthread_version_placeholder_1 (void)
31 #if SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_34)
32 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
33 __libpthread_version_placeholder
, GLIBC_2_0
);
36 #if (SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_2))
37 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
38 __libpthread_version_placeholder
, GLIBC_2_1
);
41 #if (SHLIB_COMPAT (libpthread, GLIBC_2_1_1, GLIBC_2_1_2))
42 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
43 __libpthread_version_placeholder
, GLIBC_2_1_1
);
45 #if (SHLIB_COMPAT (libpthread, GLIBC_2_1_2, GLIBC_2_2))
46 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
47 __libpthread_version_placeholder
, GLIBC_2_1_2
);
50 #if SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_3) \
51 && ABI_libpthread_GLIBC_2_2 != ABI_libpthread_GLIBC_2_0
52 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
53 __libpthread_version_placeholder
, GLIBC_2_2
);
56 #if (SHLIB_COMPAT (libpthread, GLIBC_2_2_3, GLIBC_2_2_4))
57 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
58 __libpthread_version_placeholder
, GLIBC_2_2_3
);
61 #if (SHLIB_COMPAT (libpthread, GLIBC_2_2_6, GLIBC_2_3))
62 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
63 __libpthread_version_placeholder
, GLIBC_2_2_6
);
66 #if (SHLIB_COMPAT (libpthread, GLIBC_2_3_2, GLIBC_2_3_4))
67 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
68 __libpthread_version_placeholder
, GLIBC_2_3_2
);
71 #if (SHLIB_COMPAT (libpthread, GLIBC_2_3_3, GLIBC_2_3_4))
72 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
73 __libpthread_version_placeholder
, GLIBC_2_3_3
);
76 #if (SHLIB_COMPAT (libpthread, GLIBC_2_3_4, GLIBC_2_4))
77 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
78 __libpthread_version_placeholder
, GLIBC_2_3_4
);
81 #if (SHLIB_COMPAT (libpthread, GLIBC_2_4, GLIBC_2_5))
82 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
83 __libpthread_version_placeholder
, GLIBC_2_4
);
86 #if SHLIB_COMPAT (libpthread, GLIBC_2_11, GLIBC_2_12)
87 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
88 __libpthread_version_placeholder
, GLIBC_2_11
);
91 #if SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_13)
92 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
93 __libpthread_version_placeholder
, GLIBC_2_12
);
96 #if SHLIB_COMPAT (libpthread, GLIBC_2_18, GLIBC_2_19)
97 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
98 __libpthread_version_placeholder
, GLIBC_2_18
);
101 #if (SHLIB_COMPAT (libpthread, GLIBC_2_28, GLIBC_2_29))
102 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
103 __libpthread_version_placeholder
, GLIBC_2_28
);
106 #if (SHLIB_COMPAT (libpthread, GLIBC_2_30, GLIBC_2_31))
107 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
108 __libpthread_version_placeholder
, GLIBC_2_30
);
111 #if (SHLIB_COMPAT (libpthread, GLIBC_2_31, GLIBC_2_32))
112 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
113 __libpthread_version_placeholder
, GLIBC_2_31
);