1 /* Placeholder definitions to pull in removed symbol versions.
2 Copyright (C) 2019-2021 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_1, GLIBC_2_2))
32 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
33 __libpthread_version_placeholder
, GLIBC_2_1
);
36 #if (SHLIB_COMPAT (libpthread, GLIBC_2_1_1, GLIBC_2_1_2))
37 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
38 __libpthread_version_placeholder
, GLIBC_2_1_1
);
40 #if (SHLIB_COMPAT (libpthread, GLIBC_2_1_2, GLIBC_2_2))
41 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
42 __libpthread_version_placeholder
, GLIBC_2_1_2
);
45 #if SHLIB_COMPAT (libpthread, GLIBC_2_2, GLIBC_2_2_3) \
46 && ABI_libpthread_GLIBC_2_2 != ABI_libpthread_GLIBC_2_0
47 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
48 __libpthread_version_placeholder
, GLIBC_2_2
);
51 #if (SHLIB_COMPAT (libpthread, GLIBC_2_2_3, GLIBC_2_2_4))
52 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
53 __libpthread_version_placeholder
, GLIBC_2_2_3
);
56 #if (SHLIB_COMPAT (libpthread, GLIBC_2_2_6, GLIBC_2_3))
57 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
58 __libpthread_version_placeholder
, GLIBC_2_2_6
);
61 #if (SHLIB_COMPAT (libpthread, GLIBC_2_3_2, GLIBC_2_3_4))
62 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
63 __libpthread_version_placeholder
, GLIBC_2_3_2
);
66 #if (SHLIB_COMPAT (libpthread, GLIBC_2_3_3, GLIBC_2_3_4))
67 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
68 __libpthread_version_placeholder
, GLIBC_2_3_3
);
71 #if (SHLIB_COMPAT (libpthread, GLIBC_2_3_4, GLIBC_2_4))
72 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
73 __libpthread_version_placeholder
, GLIBC_2_3_4
);
76 #if (SHLIB_COMPAT (libpthread, GLIBC_2_4, GLIBC_2_5))
77 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
78 __libpthread_version_placeholder
, GLIBC_2_4
);
81 #if SHLIB_COMPAT (libpthread, GLIBC_2_11, GLIBC_2_12)
82 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
83 __libpthread_version_placeholder
, GLIBC_2_11
);
86 #if SHLIB_COMPAT (libpthread, GLIBC_2_12, GLIBC_2_13)
87 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
88 __libpthread_version_placeholder
, GLIBC_2_12
);
91 #if SHLIB_COMPAT (libpthread, GLIBC_2_18, GLIBC_2_19) \
92 && ABI_libpthread_GLIBC_2_18 != ABI_libpthread_GLIBC_2_0
93 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
94 __libpthread_version_placeholder
, GLIBC_2_18
);
97 #if (SHLIB_COMPAT (libpthread, GLIBC_2_28, GLIBC_2_29))
98 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
99 __libpthread_version_placeholder
, GLIBC_2_28
);
102 #if (SHLIB_COMPAT (libpthread, GLIBC_2_30, GLIBC_2_31))
103 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
104 __libpthread_version_placeholder
, GLIBC_2_30
);
107 #if (SHLIB_COMPAT (libpthread, GLIBC_2_31, GLIBC_2_32))
108 compat_symbol (libpthread
, __libpthread_version_placeholder_1
,
109 __libpthread_version_placeholder
, GLIBC_2_31
);