Debian Codegraph @

lib/libcrypt.minver

raw
1 # This file defines the minimum symbol version number used by the
2 # system-provided libcrypt, for each CPU and OS where libxcrypt can be
3 # binary backward compatible with it. See also lib/libcrypt.map.in,
4 # build-aux/scripts/compute-symver-floor, and
5 # build-aux/scripts/gen-libcrypt-map.
6 #
7 # Lines in this file that start with '#' are comments; # is not
8 # otherwise significant. Blank lines are ignored. All other lines
9 # must have three or four columns: VERSION, SYSTEM, CPU_FAMILY,
10 # and PREPROCESSOR_CHECK, in that order.
11 #
12 # VERSION is the minimum symbol version to use on hosts where SYSTEM
13 # and CPU_FAMILY match autoconf's $host_os and $host_cpu values,
14 # respectively, when interpreted as (Perl) regexes. There is an implicit
15 # ^ at the beginning of each regex (that is, they must match starting
16 # at the beginning of the string) but there is no implicit $ at the end
17 # (that is, they do not have to match the entire string). Use '.'
18 # to accept any string.
19 #
20 # If there is anything more on the line after the CPU_FAMILY field,
21 # all of it is taken as a preprocessor #if expression which must be
22 # true for this line's version number to be used. The macros defined
23 # in <limits.h> are available to this expression. This mechanism is
24 # for subarchitectures that do not change $host_cpu, e.g. x32 (I wish
25 # they wouldn't do that...)
26 #
27 # The symbol version XCRYPT_2.0 is special; if this file selects that
28 # version as the minimum for some platform, configure will
29 # automatically switch into --disable-obsolete-api mode. This is used
30 # for platforms where either we have not yet implemented binary
31 # backward compatibility with the system-provided libcrypt, or we know
32 # there is no system-provided libcrypt to be compatible with.
33 #
34 # The symbol version ERROR is special; if this file selects that
35 # version as the minimum for some platform, configuration will fail.
36 # This is used for platforms where we know we ought to support
37 # backward binary compatibility and the library shouldn't be allowed
38 # to be used until someone's set this up properly.
39 #
40 # More specific regexes must be sorted below less specific ones, and
41 # empty PREPROCESSOR_CHECK must be sorted below non-empty. If neither
42 # constraint applies, sort entries in descending order of symbol
43 # version within one SYSTEM, and in alphabetical order of CPU_FAMILY
44 # within each symbol version.
45 #
46 # Future cleanup: the ERROR lines for 'gnu*', 'kfreebsd*gnu*', and
47 # 'linux*gnu*' can be removed once GNU libc stops shipping libcrypt.
48 # It will be correct to use XCRYPT_2.0 as the minimum symbol version
49 # for any platform added to glibc after that release.
50
51 #VERSION SYSTEM CPU_FAMILY PREPROCESSOR_CHECK
52
53 # GNU Hurd
54 GLIBC_2.38 gnu x86_64
55 GLIBC_2.2.6 gnu i[3-9]86
56 ERROR gnu .
57
58 # FreeBSD kernel with GNU libc
59 GLIBC_2.3 kfreebsd.*gnu x86_64 !(defined __x86_64__ && ULONG_MAX == UINT_MAX) /* not x32 */
60 GLIBC_2.3 kfreebsd.*gnu i[3-9]86
61 ERROR kfreebsd.*gnu .
62
63 # Linux with GNU libc
64 GLIBC_2.36 linux.*gnu loongarch64 __WORDSIZE == 64 && ULONG_MAX != UINT_MAX /* lp64* ABI */
65 GLIBC_2.35 linux.*gnu or1k
66 GLIBC_2.33 linux.*gnu riscv32
67 GLIBC_2.32 linux.*gnu arc
68 GLIBC_2.29 linux.*gnu csky
69 GLIBC_2.27 linux.*gnu riscv64
70 GLIBC_2.21 linux.*gnu nios2
71 GLIBC_2.18 linux.*gnu microblaze
72 GLIBC_2.17 linux.*gnu aarch64
73 GLIBC_2.17 linux.*gnu powerpc64le
74 GLIBC_2.16 linux.*gnu x86_64 defined __x86_64__ && ULONG_MAX == UINT_MAX /* x32 */
75 GLIBC_2.12 linux.*gnu tilegx
76 GLIBC_2.12 linux.*gnu tilepro
77 GLIBC_2.4 linux.*gnu arm
78 GLIBC_2.4 linux.*gnu m68k defined __mcoldfire__
79 GLIBC_2.3 linux.*gnu powerpc64
80 GLIBC_2.2.5 linux.*gnu x86_64 defined __x86_64__ && ULONG_MAX != UINT_MAX /* 64 */
81 GLIBC_2.2 linux.*gnu s390x
82 GLIBC_2.0 linux.*gnu alpha
83 GLIBC_2.0 linux.*gnu e2k
84 GLIBC_2.0 linux.*gnu hppa
85 GLIBC_2.0 linux.*gnu i[3-9]86
86 GLIBC_2.0 linux.*gnu ia64
87 GLIBC_2.0 linux.*gnu m68k
88 GLIBC_2.0 linux.*gnu mips
89 GLIBC_2.0 linux.*gnu powerpc
90 GLIBC_2.0 linux.*gnu s390
91 GLIBC_2.0 linux.*gnu sh
92 GLIBC_2.0 linux.*gnu sparc
93 GLIBC_2.0 linux.*gnu x86_64
94 ERROR linux.*gnu .
95
96 # Other systems.
97 XCRYPT_2.0 . .