powerpc64: Fix by using the configure value $libc_cv_cc_submachine [BZ #31629]
[glibc.git] / locale / C-collate.c
blob7e42fe7742f031e04c9268c0dce1873a2d8df22b
1 /* Copyright (C) 1995-2024 Free Software Foundation, Inc.
2 This file is part of the GNU C Library.
4 The GNU C Library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
9 The GNU C Library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
14 You should have received a copy of the GNU Lesser General Public
15 License along with the GNU C Library; if not, see
16 <https://www.gnu.org/licenses/>. */
18 #include <endian.h>
19 #include <stdint.h>
20 #include "localeinfo.h"
22 #include "C-collate-seq.c"
24 const struct __locale_data _nl_C_LC_COLLATE attribute_hidden =
26 _nl_C_name,
27 NULL, 0, 0, /* no file mapped */
28 NULL, /* No cached data. */
29 UNDELETABLE,
31 19,
33 /* _NL_COLLATE_NRULES */
34 { .word = 0 },
35 /* _NL_COLLATE_RULESETS */
36 { .string = NULL },
37 /* _NL_COLLATE_TABLEMB */
38 { .string = NULL },
39 /* _NL_COLLATE_WEIGHTMB */
40 { .string = NULL },
41 /* _NL_COLLATE_EXTRAMB */
42 { .string = NULL },
43 /* _NL_COLLATE_INDIRECTMB */
44 { .string = NULL },
45 /* _NL_COLLATE_GAP1 */
46 { .string = NULL },
47 /* _NL_COLLATE_GAP2 */
48 { .string = NULL },
49 /* _NL_COLLATE_GAP3 */
50 { .string = NULL },
51 /* _NL_COLLATE_TABLEWC */
52 { .string = NULL },
53 /* _NL_COLLATE_WEIGHTWC */
54 { .string = NULL },
55 /* _NL_COLLATE_EXTRAWC */
56 { .string = NULL },
57 /* _NL_COLLATE_INDIRECTWC */
58 { .string = NULL },
59 /* _NL_COLLATE_SYMB_HASH_SIZEMB */
60 { .string = NULL },
61 /* _NL_COLLATE_SYMB_TABLEMB */
62 { .string = NULL },
63 /* _NL_COLLATE_SYMB_EXTRAMB */
64 { .string = NULL },
65 /* _NL_COLLATE_COLLSEQMB */
66 { .string = collseqmb },
67 /* _NL_COLLATE_COLLSEQWC */
68 { .string = (const char *) collseqwc },
69 /* _NL_COLLATE_CODESET */
70 { .string = _nl_C_codeset }