authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-26 05:30:07+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-01-26 05:56:54+01:00
logff8dbd010faa1945a796d31a7449e1ba89805f43
treeabc94e47950271ec098a729c5621abc59d0c06bf
parente4058f2c27e9b1b91194ab7ed46c74203ac92a24
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

libc: update glibc crt0 code to 2.43


188 files changed, 439 insertions(+), 246 deletions(-)

lib/libc/glibc/bits/byteswap.h+1-1
......@@ -1,5 +1,5 @@
11/* Macros and inline functions to swap the order of bytes in integer values.
2 Copyright (C) 1997-2025 Free Software Foundation, Inc.
2 Copyright (C) 1997-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/floatn-common.h+1-1
......@@ -1,6 +1,6 @@
11/* Macros to control TS 18661-3 glibc features where the same
22 definitions are appropriate for all platforms.
3 Copyright (C) 2017-2025 Free Software Foundation, Inc.
3 Copyright (C) 2017-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/libc-header-start.h+1-1
......@@ -1,5 +1,5 @@
11/* Handle feature test macros at the start of a header.
2 Copyright (C) 2016-2025 Free Software Foundation, Inc.
2 Copyright (C) 2016-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/long-double.h+1-1
......@@ -1,5 +1,5 @@
11/* Properties of long double type.
2 Copyright (C) 2016-2025 Free Software Foundation, Inc.
2 Copyright (C) 2016-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/select.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1997-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1997-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/signum-generic.h+1-1
......@@ -1,5 +1,5 @@
11/* Signal number constants. Generic template.
2 Copyright (C) 1991-2025 Free Software Foundation, Inc.
2 Copyright (C) 1991-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/stat.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1992-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1992-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/stdint-intn.h+1-1
......@@ -1,5 +1,5 @@
11/* Define intN_t types.
2 Copyright (C) 2017-2025 Free Software Foundation, Inc.
2 Copyright (C) 2017-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/stdlib-bsearch.h+1-1
......@@ -1,5 +1,5 @@
11/* Perform binary search - inline version.
2 Copyright (C) 1991-2025 Free Software Foundation, Inc.
2 Copyright (C) 1991-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/time64.h+1-1
......@@ -1,5 +1,5 @@
11/* bits/time64.h -- underlying types for __time64_t. Generic version.
2 Copyright (C) 2018-2025 Free Software Foundation, Inc.
2 Copyright (C) 2018-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/timesize.h+1-1
......@@ -1,5 +1,5 @@
11/* Bit size of the time_t type at glibc build time, general case.
2 Copyright (C) 2018-2025 Free Software Foundation, Inc.
2 Copyright (C) 2018-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/types/struct_sched_param.h+1-1
......@@ -1,5 +1,5 @@
11/* Sched parameter structure. Generic version.
2 Copyright (C) 1996-2025 Free Software Foundation, Inc.
2 Copyright (C) 1996-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/typesizes.h+1-1
......@@ -1,5 +1,5 @@
11/* bits/typesizes.h -- underlying types for *_t. Generic version.
2 Copyright (C) 2002-2025 Free Software Foundation, Inc.
2 Copyright (C) 2002-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/uintn-identity.h+1-1
......@@ -1,5 +1,5 @@
11/* Inline functions to return unsigned integer values unchanged.
2 Copyright (C) 2017-2025 Free Software Foundation, Inc.
2 Copyright (C) 2017-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/waitflags.h+1-1
......@@ -1,5 +1,5 @@
11/* Definitions of flag bits for `waitpid' et al.
2 Copyright (C) 1992-2025 Free Software Foundation, Inc.
2 Copyright (C) 1992-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/bits/waitstatus.h+1-1
......@@ -1,5 +1,5 @@
11/* Definitions of status bits for `wait' et al.
2 Copyright (C) 1992-2025 Free Software Foundation, Inc.
2 Copyright (C) 1992-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/csu/errno.c+1-1
......@@ -1,5 +1,5 @@
11/* Definition of `errno' variable. Canonical version.
2 Copyright (C) 2002-2025 Free Software Foundation, Inc.
2 Copyright (C) 2002-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/csu/init.c+1-1
......@@ -1,5 +1,5 @@
11/* Special startup support.
2 Copyright (C) 1997-2025 Free Software Foundation, Inc.
2 Copyright (C) 1997-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/debug/stack_chk_fail_local.c+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2005-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2005-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/elf/elf.h+2-2
......@@ -1,5 +1,5 @@
11/* This file defines standard ELF types, structures, and macros.
2 Copyright (C) 1995-2025 Free Software Foundation, Inc.
2 Copyright (C) 1995-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
......@@ -924,7 +924,7 @@ typedef struct
924924#define DT_SYMTAB_SHNDX 34 /* Address of SYMTAB_SHNDX section */
925925#define DT_RELRSZ 35 /* Total size of RELR relative relocations */
926926#define DT_RELR 36 /* Address of RELR relative relocations */
927#define DT_RELRENT 37 /* Size of one RELR relative relocaction */
927#define DT_RELRENT 37 /* Size of one RELR relative relocation */
928928#define DT_NUM 38 /* Number used */
929929#define DT_LOOS 0x6000000d /* Start of OS-specific */
930930#define DT_HIOS 0x6ffff000 /* End of OS-specific */
lib/libc/glibc/include/alloca.h+1-1
......@@ -4,7 +4,7 @@
44
55# ifndef _ISOMAC
66
7#include <stackinfo.h>
7#include <elf.h>
88
99#undef __alloca
1010
lib/libc/glibc/include/libc-diag.h created+99
......@@ -0,0 +1,99 @@
1/* Macros for controlling diagnostic output from the compiler.
2 Copyright (C) 2014-2026 Free Software Foundation, Inc.
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 _LIBC_DIAG_H
20#define _LIBC_DIAG_H 1
21
22/* Ignore the value of an expression when a cast to void does not
23 suffice (in particular, for a call to a function declared with
24 attribute warn_unused_result). */
25#define ignore_value(x) \
26 ({ __typeof__ (x) __ignored_value = (x); (void) __ignored_value; })
27
28/* The macros to control diagnostics are structured like this, rather
29 than a single macro that both pushes and pops diagnostic state and
30 takes the affected code as an argument, because the GCC pragmas
31 work by disabling the diagnostic for a range of source locations
32 and do not work when all the pragmas and the affected code are in a
33 single macro expansion. */
34
35/* Push diagnostic state. */
36#define DIAG_PUSH_NEEDS_COMMENT _Pragma ("GCC diagnostic push")
37
38/* Pop diagnostic state. */
39#define DIAG_POP_NEEDS_COMMENT _Pragma ("GCC diagnostic pop")
40
41/* These macros are used to push/pop diagnostic states for warnings only
42 supported by clang. */
43#ifdef __clang__
44# define DIAG_PUSH_NEEDS_COMMENT_CLANG _Pragma ("clang diagnostic push")
45# define DIAG_POP_NEEDS_COMMENT_CLANG _Pragma ("clang diagnostic pop")
46#else
47# define DIAG_PUSH_NEEDS_COMMENT_CLANG
48# define DIAG_POP_NEEDS_COMMENT_CLANG
49#endif
50
51#define _DIAG_STR1(s) #s
52#define _DIAG_STR(s) _DIAG_STR1(s)
53
54/* Ignore the diagnostic OPTION. VERSION is the most recent GCC
55 version for which the diagnostic has been confirmed to appear in
56 the absence of the pragma (in the form MAJOR.MINOR for GCC 4.x,
57 just MAJOR for GCC 5 and later). Uses of this pragma should be
58 reviewed when the GCC version given is no longer supported for
59 building glibc; the version number should always be on the same
60 source line as the macro name, so such uses can be found with grep.
61 Uses should come with a comment giving more details of the
62 diagnostic, and an architecture on which it is seen if possibly
63 optimization-related and not in architecture-specific code. This
64 macro should only be used if the diagnostic seems hard to fix (for
65 example, optimization-related false positives). */
66#define DIAG_IGNORE_NEEDS_COMMENT(version, option) \
67 _Pragma (_DIAG_STR (GCC diagnostic ignored option))
68
69/* Similar to DIAG_IGNORE_NEEDS_COMMENT the following macro ignores the
70 diagnostic OPTION but only if optimizations for size are enabled.
71 This is required because different warnings may be generated for
72 different optimization levels. For example a key piece of code may
73 only generate a warning when compiled at -Os, but at -O2 you could
74 still want the warning to be enabled to catch errors. In this case
75 you would use DIAG_IGNORE_Os_NEEDS_COMMENT to disable the warning
76 only for -Os. */
77#ifdef __OPTIMIZE_SIZE__
78# define DIAG_IGNORE_Os_NEEDS_COMMENT(version, option) \
79 _Pragma (_DIAG_STR (GCC diagnostic ignored option))
80#else
81# define DIAG_IGNORE_Os_NEEDS_COMMENT(version, option)
82#endif
83
84/* Similar to DIAG_IGNORE_NEEDS_COMMENT, these macros should be used
85 to suppress warning supported by the specific compiler. */
86#ifndef __clang__
87# define DIAG_IGNORE_NEEDS_COMMENT_GCC(VERSION, WARNING) \
88 DIAG_IGNORE_NEEDS_COMMENT (VERSION, WARNING)
89# define DIAG_IGNORE_Os_NEEDS_COMMENT_GCC(VERSION, WARNING) \
90 DIAG_IGNORE_Os_NEEDS_COMMENT (VERSION, WARNING)
91# define DIAG_IGNORE_NEEDS_COMMENT_CLANG(version, option)
92#else
93# define DIAG_IGNORE_NEEDS_COMMENT_GCC(VERSION, WARNING)
94# define DIAG_IGNORE_Os_NEEDS_COMMENT_GCC(VERSION, WARNING)
95# define DIAG_IGNORE_NEEDS_COMMENT_CLANG(version, option) \
96 _Pragma (_DIAG_STR (clang diagnostic ignored option))
97#endif
98
99#endif /* libc-diag.h */
lib/libc/glibc/include/libc-misc.h+1-1
......@@ -1,5 +1,5 @@
11/* Miscellaneous definitions for both glibc build and test.
2 Copyright (C) 2024-2025 Free Software Foundation, Inc.
2 Copyright (C) 2024-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/include/libc-pointer-arith.h+1-1
......@@ -1,5 +1,5 @@
11/* Helper macros for pointer arithmetic.
2 Copyright (C) 2012-2025 Free Software Foundation, Inc.
2 Copyright (C) 2012-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/include/libc-symbols.h+18-4
......@@ -1,6 +1,6 @@
11/* Support macros for making weak and strong aliases for symbols,
22 and for using symbol sets and linker warnings with GNU ld.
3 Copyright (C) 1995-2025 Free Software Foundation, Inc.
3 Copyright (C) 1995-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
......@@ -86,6 +86,7 @@
8686
8787/* Obtain the definition of symbol_version_reference. */
8888#include <libc-symver.h>
89#include <libc-diag.h>
8990
9091/* When PIC is defined and SHARED isn't defined, we are building PIE
9192 by default. */
......@@ -167,6 +168,16 @@
167168 __attribute_copy__ (name);
168169#endif
169170
171/* Define a strong_alias for SHARED, or weak_alias otherwise. It is used to
172 avoid potential compiler warnings for weak alias indirection (when a weak
173 alias is always resolved to a symbol even if a weak definition also
174 exists). */
175# ifdef SHARED
176# define static_weak_alias(name, aliasname) strong_alias (name, aliasname)
177# else
178# define static_weak_alias(name, aliasname) weak_alias (name, aliasname)
179# endif
180
170181/* Declare SYMBOL as weak undefined symbol (resolved to 0 if not defined). */
171182# define weak_extern(symbol) _weak_extern (weak symbol)
172183# define _weak_extern(expr) _Pragma (#expr)
......@@ -280,7 +291,7 @@ for linking")
280291
281292
282293/*
283
294
284295*/
285296
286297#ifdef HAVE_GNU_RETAIN
......@@ -683,7 +694,10 @@ for linking")
683694# define __ifunc_args(type_name, name, expr, init, ...) \
684695 extern __typeof (type_name) name __attribute__ \
685696 ((ifunc (#name "_ifunc"))); \
686 __ifunc_resolver (type_name, name, expr, init, static, __VA_ARGS__)
697 DIAG_PUSH_NEEDS_COMMENT_CLANG; \
698 DIAG_IGNORE_NEEDS_COMMENT_CLANG (13, "-Wunused-function"); \
699 __ifunc_resolver (type_name, name, expr, init, static, __VA_ARGS__); \
700 DIAG_POP_NEEDS_COMMENT_CLANG;
687701
688702# define __ifunc_args_hidden(type_name, name, expr, init, ...) \
689703 __ifunc_args (type_name, name, expr, init, __VA_ARGS__)
......@@ -807,7 +821,7 @@ for linking")
807821#define libm_ifunc_init()
808822#define libm_ifunc(name, expr) \
809823 __ifunc (name, name, expr, void, libm_ifunc_init)
810
824
811825/* These macros facilitate sharing source files with gnulib.
812826
813827 They are here instead of sys/cdefs.h because they should not be
lib/libc/glibc/include/pthread.h-4
......@@ -8,14 +8,10 @@ extern int __pthread_barrier_init (pthread_barrier_t *__restrict __barrier,
88 const pthread_barrierattr_t *__restrict
99 __attr, unsigned int __count)
1010 __THROW __nonnull ((1));
11#if PTHREAD_IN_LIBC
1211libc_hidden_proto (__pthread_barrier_init)
13#endif
1412extern int __pthread_barrier_wait (pthread_barrier_t *__barrier)
1513 __THROWNL __nonnull ((1));
16#if PTHREAD_IN_LIBC
1714libc_hidden_proto (__pthread_barrier_wait)
18#endif
1915
2016/* This function is called to initialize the pthread library. */
2117extern void __pthread_initialize (void) __attribute__ ((weak));
lib/libc/glibc/include/stap-probe.h+1-1
......@@ -1,5 +1,5 @@
11/* Macros for defining Systemtap <sys/sdt.h> static probe points.
2 Copyright (C) 2012-2025 Free Software Foundation, Inc.
2 Copyright (C) 2012-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/io/bits/statx.h+1-1
......@@ -1,5 +1,5 @@
11/* statx-related definitions and declarations. Generic version.
2 Copyright (C) 2018-2025 Free Software Foundation, Inc.
2 Copyright (C) 2018-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/io/fcntl.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1991-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1991-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/io/mknod.c+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1995-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1995-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/io/sys/stat.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1991-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1991-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/locale/bits/types/__locale_t.h+1-1
......@@ -1,5 +1,5 @@
11/* Definition of struct __locale_struct and __locale_t.
2 Copyright (C) 1997-2025 Free Software Foundation, Inc.
2 Copyright (C) 1997-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/locale/bits/types/locale_t.h+1-1
......@@ -1,5 +1,5 @@
11/* Definition of locale_t.
2 Copyright (C) 2017-2025 Free Software Foundation, Inc.
2 Copyright (C) 2017-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/misc/sys/cdefs.h+21-9
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1992-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1992-2026 Free Software Foundation, Inc.
22 Copyright The GNU Toolchain Authors.
33 This file is part of the GNU C Library.
44
......@@ -438,10 +438,10 @@
438438*/
439439#endif
440440
441/* GCC and clang have various useful declarations that can be made with
442 the '__attribute__' syntax. All of the ways we use this do fine if
443 they are omitted for compilers that don't understand it. */
444#if !(defined __GNUC__ || defined __clang__)
441/* GCC, clang, and compatible compilers have various useful declarations
442 that can be made with the '__attribute__' syntax. All of the ways we use
443 this do fine if they are omitted for compilers that don't understand it. */
444#if !(defined __GNUC__ || defined __clang__ || defined __TINYC__)
445445# define __attribute__(xyz) /* Ignore */
446446#endif
447447
......@@ -606,14 +606,14 @@
606606# define __attribute_artificial__ /* Ignore */
607607#endif
608608
609/* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
610 inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__
611 or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions
609/* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 inline
610 semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__ or
611 __GNUC_GNU_INLINE__ is not a good enough check for gcc because gcc versions
612612 older than 4.3 may define these macros and still not guarantee GNU inlining
613613 semantics.
614614
615615 clang++ identifies itself as gcc-4.2, but has support for GNU inlining
616 semantics, that can be checked for by using the __GNUC_STDC_INLINE_ and
616 semantics, that can be checked for by using the __GNUC_STDC_INLINE__ and
617617 __GNUC_GNU_INLINE__ macro definitions. */
618618#if (!defined __cplusplus || __GNUC_PREREQ (4,3) \
619619 || (defined __clang__ && (defined __GNUC_STDC_INLINE__ \
......@@ -828,6 +828,18 @@ _Static_assert (0, "IEEE 128-bits long double requires redirection on this platf
828828# define __HAVE_GENERIC_SELECTION 0
829829#endif
830830
831#if __HAVE_GENERIC_SELECTION
832/* If PTR is a pointer to const, return CALL cast to type CTYPE,
833 otherwise return CALL. Pointers to types with non-const qualifiers
834 are not valid. This should not be defined for C++, as macros are
835 not an appropriate way of implementing such qualifier-generic
836 operations for C++. */
837# define __glibc_const_generic(PTR, CTYPE, CALL) \
838 _Generic (0 ? (PTR) : (void *) 1, \
839 const void *: (CTYPE) (CALL), \
840 default: CALL)
841#endif
842
831843#if __GNUC_PREREQ (10, 0)
832844/* Designates a 1-based positional argument ref-index of pointer type
833845 that can be used to access size-index elements of the pointed-to
lib/libc/glibc/misc/sys/select.h+1-1
......@@ -1,5 +1,5 @@
11/* `fd_set' type and related macros, and `select'/`pselect' declarations.
2 Copyright (C) 1996-2025 Free Software Foundation, Inc.
2 Copyright (C) 1996-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/posix/bits/cpu-set.h+1-1
......@@ -1,6 +1,6 @@
11/* Definition of the cpu_set_t structure used by the POSIX 1003.1b-1993
22 scheduling interface.
3 Copyright (C) 1996-2025 Free Software Foundation, Inc.
3 Copyright (C) 1996-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/posix/bits/types.h+1-1
......@@ -1,5 +1,5 @@
11/* bits/types.h -- definitions of __*_t types underlying *_t types.
2 Copyright (C) 2002-2025 Free Software Foundation, Inc.
2 Copyright (C) 2002-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/posix/sys/types.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1991-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1991-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/signal/signal.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1991-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1991-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/stdlib/alloca.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1992-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1992-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/stdlib/bits/stdlib-float.h+1-1
......@@ -1,5 +1,5 @@
11/* Floating-point inline functions for stdlib.h.
2 Copyright (C) 2012-2025 Free Software Foundation, Inc.
2 Copyright (C) 2012-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/stdlib/errno.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1991-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1991-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/stdlib/exit.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1991-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1991-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/stdlib/stdlib.h+42-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1991-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1991-2026 Free Software Foundation, Inc.
22 Copyright The GNU Toolchain Authors.
33 This file is part of the GNU C Library.
44
......@@ -35,6 +35,10 @@ __BEGIN_DECLS
3535
3636#define _STDLIB_H 1
3737
38#if __GLIBC_USE (ISOC23)
39# define __STDC_VERSION_STDLIB_H__ 202311L
40#endif
41
3842#if (defined __USE_XOPEN || defined __USE_XOPEN2K8) && !defined _SYS_WAIT_H
3943/* XPG requires a few symbols from <sys/wait.h> being defined. */
4044# include <bits/waitflags.h>
......@@ -686,6 +690,24 @@ extern void *realloc (void *__ptr, size_t __size)
686690/* Free a block allocated by `malloc', `realloc' or `calloc'. */
687691extern void free (void *__ptr) __THROW;
688692
693#if __GLIBC_USE(ISOC23)
694/* Free a block allocated by `malloc', `realloc' or `calloc' but not
695 `aligned_alloc', `memalign', `posix_memalign', `valloc' or
696 `pvalloc'. SIZE must be equal to the original requested size
697 provided to `malloc', `realloc' or `calloc'. For `calloc' SIZE is
698 NMEMB elements * SIZE bytes. It is forbidden to call `free_sized'
699 for allocations which the caller did not directly allocate but
700 must still deallocate, such as `strdup' or `strndup'. Instead
701 continue using `free` for these cases. */
702extern void free_sized (void *__ptr, size_t __size) __THROW;
703
704/* Free a block allocated by `aligned_alloc', `memalign' or
705 `posix_memalign'. ALIGNMENT and SIZE must be the same as the values
706 provided to `aligned_alloc', `memalign' or `posix_memalign'. */
707extern void free_aligned_sized (void *__ptr, size_t __alignment, size_t __size)
708 __THROW;
709#endif
710
689711#ifdef __USE_MISC
690712/* Re-allocate the previously allocated block in PTR, making the new
691713 block large enough for NMEMB elements of SIZE bytes each. */
......@@ -965,6 +987,12 @@ extern void *bsearch (const void *__key, const void *__base,
965987# include <bits/stdlib-bsearch.h>
966988#endif
967989
990#if __GLIBC_USE (ISOC23) && defined __glibc_const_generic && !defined _LIBC
991# define bsearch(KEY, BASE, NMEMB, SIZE, COMPAR) \
992 __glibc_const_generic (BASE, const void *, \
993 bsearch (KEY, BASE, NMEMB, SIZE, COMPAR))
994#endif
995
968996/* Sort NMEMB elements of BASE, of SIZE bytes each,
969997 using COMPAR to perform the comparisons. */
970998extern void qsort (void *__base, size_t __nmemb, size_t __size,
......@@ -1158,6 +1186,19 @@ extern int getloadavg (double __loadavg[], int __nelem)
11581186extern int ttyslot (void) __THROW;
11591187#endif
11601188
1189#if __GLIBC_USE (ISOC23)
1190# ifndef __cplusplus
1191# include <bits/types/once_flag.h>
1192
1193/* Call function __FUNC exactly once, even if invoked from several threads.
1194 All calls must be made with the same __FLAGS object. */
1195extern void call_once (once_flag *__flag, void (*__func)(void));
1196# endif /* !__cplusplus */
1197
1198/* Return the alignment of P. */
1199extern size_t memalignment (const void *__p);
1200#endif
1201
11611202#include <bits/stdlib-float.h>
11621203
11631204/* Define some macros helping to catch buffer overflows. */
lib/libc/glibc/string/bits/endian.h+1-1
......@@ -1,5 +1,5 @@
11/* Endian macros for string.h functions
2 Copyright (C) 1992-2025 Free Software Foundation, Inc.
2 Copyright (C) 1992-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/string/endian.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1992-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1992-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2002-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2002-2026 Free Software Foundation, Inc.
22
33 This file is part of the GNU C Library.
44
lib/libc/glibc/sysdeps/aarch64/start.S+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1995-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1995-2026 Free Software Foundation, Inc.
22
33 This file is part of the GNU C Library.
44
lib/libc/glibc/sysdeps/aarch64/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1997-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1997-2026 Free Software Foundation, Inc.
22
33 This file is part of the GNU C Library.
44
lib/libc/glibc/sysdeps/arc/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code for ARC.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/arc/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for ARC.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/arm/arm-features.h+1-1
......@@ -1,5 +1,5 @@
11/* Macros to test for CPU features on ARM. Generic ARM version.
2 Copyright (C) 2012-2025 Free Software Foundation, Inc.
2 Copyright (C) 2012-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/arm/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code for ARM & ELF
2 Copyright (C) 1995-2025 Free Software Foundation, Inc.
2 Copyright (C) 1995-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/arm/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for ARM.
2 Copyright (C) 1997-2025 Free Software Foundation, Inc.
2 Copyright (C) 1997-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/csky/abiv2/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code compliant to the ELF C-SKY ABIV2.
2 Copyright (C) 2018-2025 Free Software Foundation, Inc.
2 Copyright (C) 2018-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/csky/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for C-SKY.
2 Copyright (C) 2018-2025 Free Software Foundation, Inc.
2 Copyright (C) 2018-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/generic/dl-dtprocnum.h+1-1
......@@ -1,5 +1,5 @@
11/* Configuration of lookup functions.
2 Copyright (C) 2000-2025 Free Software Foundation, Inc.
2 Copyright (C) 2000-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/generic/dl-sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* System-specific settings for dynamic linker code. Generic version.
2 Copyright (C) 2002-2025 Free Software Foundation, Inc.
2 Copyright (C) 2002-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/generic/dwarf2.h+1-1
......@@ -1,6 +1,6 @@
11/* Declarations and definitions of codes relating to the DWARF2 symbolic
22 debugging information format.
3 Copyright (C) 1992-2025 Free Software Foundation, Inc.
3 Copyright (C) 1992-2026 Free Software Foundation, Inc.
44
55 This file is part of the GNU C Library.
66
lib/libc/glibc/sysdeps/generic/libc-lock.h+1-1
......@@ -1,5 +1,5 @@
11/* libc-internal interface for mutex locks. Stub version.
2 Copyright (C) 1996-2025 Free Software Foundation, Inc.
2 Copyright (C) 1996-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/generic/libc-symver.h+1-1
......@@ -1,5 +1,5 @@
11/* Symbol version management.
2 Copyright (C) 1995-2025 Free Software Foundation, Inc.
2 Copyright (C) 1995-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/generic/single-thread.h+1-1
......@@ -1,5 +1,5 @@
11/* Single thread optimization, generic version.
2 Copyright (C) 2019-2025 Free Software Foundation, Inc.
2 Copyright (C) 2019-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/generic/symbol-hacks.h+16
......@@ -6,6 +6,22 @@ asm ("memmove = __GI_memmove");
66asm ("memset = __GI_memset");
77asm ("memcpy = __GI_memcpy");
88
9/* clang might generate the internal fortfify calls when it is enabled,
10 through the buitintin. */
11asm ("__vfprintf_chk = __GI___vfprintf_chk");
12asm ("__vsprintf_chk = __GI___vsprintf_chk");
13asm ("__vsyslog_chk = __GI___vsyslog_chk");
14asm ("__memcpy_chk = __GI___memcpy_chk");
15asm ("__memmove_chk = __GI___memmove_chk");
16asm ("__memset_chk = __GI___memset_chk");
17asm ("__mempcpy_chk = __GI___mempcpy_chk");
18asm ("__stpcpy_chk = __GI___stpcpy_chk");
19asm ("__strcpy_chk = __GI___strcpy_chk");
20asm ("strcpy = __GI_strcpy");
21asm ("strncpy = __GI_strncpy");
22asm ("strcat = __GI_strcat");
23asm ("strlen = __GI_strlen");
24
925/* Some targets do not use __stack_chk_fail_local. In libc.so,
1026 redirect __stack_chk_fail to a hidden reference
1127 __stack_chk_fail_local, to avoid the PLT reference.
lib/libc/glibc/sysdeps/generic/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Generic asm macros used on many machines.
2 Copyright (C) 1991-2025 Free Software Foundation, Inc.
2 Copyright (C) 1991-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/generic/tls.h+1-1
......@@ -1,5 +1,5 @@
11/* Definition for thread-local data handling. Generic version.
2 Copyright (C) 2002-2025 Free Software Foundation, Inc.
2 Copyright (C) 2002-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/htl/bits/pthread.h+1-1
......@@ -1,5 +1,5 @@
11/* Pthread data structures. Generic version.
2 Copyright (C) 2002-2025 Free Software Foundation, Inc.
2 Copyright (C) 2002-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/htl/bits/thread-shared-types.h+1-1
......@@ -1,5 +1,5 @@
11/* Common threading primitives definitions for both POSIX and C11.
2 Copyright (C) 2017-2025 Free Software Foundation, Inc.
2 Copyright (C) 2017-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/htl/libc-lockP.h+1-36
......@@ -1,5 +1,5 @@
11/* Private libc-internal interface for mutex locks.
2 Copyright (C) 2015-2025 Free Software Foundation, Inc.
2 Copyright (C) 2015-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
......@@ -20,7 +20,6 @@
2020#define _BITS_LIBC_LOCKP_H 1
2121
2222#include <pthread.h>
23#include <pthread-functions.h>
2423
2524/* If we check for a weakly referenced symbol and then perform a
2625 normal jump to it te code generated for some platforms in case of
......@@ -36,40 +35,6 @@
3635 (FUNC != NULL ? FUNC ARGS : ELSE)
3736#endif
3837
39/* Call thread functions through the function pointer table. */
40#if defined SHARED && IS_IN (libc)
41# define PTFAVAIL(NAME) __libc_pthread_functions_init
42# define __libc_ptf_call(FUNC, ARGS, ELSE) \
43 (__libc_pthread_functions_init ? PTHFCT_CALL (ptr_##FUNC, ARGS) : ELSE)
44# define __libc_ptf_call_always(FUNC, ARGS) \
45 PTHFCT_CALL (ptr_##FUNC, ARGS)
46#elif IS_IN (libpthread)
47# define PTFAVAIL(NAME) 1
48# define __libc_ptf_call(FUNC, ARGS, ELSE) \
49 FUNC ARGS
50# define __libc_ptf_call_always(FUNC, ARGS) \
51 FUNC ARGS
52#else
53# define PTFAVAIL(NAME) (NAME != NULL)
54# define __libc_ptf_call(FUNC, ARGS, ELSE) \
55 __libc_maybe_call (FUNC, ARGS, ELSE)
56# define __libc_ptf_call_always(FUNC, ARGS) \
57 FUNC ARGS
58#endif
59
60/* Create thread-specific key. */
61#define __libc_key_create(KEY, DESTRUCTOR) \
62 __libc_ptf_call (__pthread_key_create, (KEY, DESTRUCTOR), 1)
63
64/* Get thread-specific data. */
65#define __libc_getspecific(KEY) \
66 __libc_ptf_call (__pthread_getspecific, (KEY), NULL)
67
68/* Set thread-specific data. */
69#define __libc_setspecific(KEY, VALUE) \
70 __libc_ptf_call (__pthread_setspecific, (KEY, VALUE), 0)
71
72
7338/* Functions that are used by this file and are internal to the GNU C
7439 library. */
7540
lib/libc/glibc/sysdeps/htl/pthread.h+1-1
......@@ -1,5 +1,5 @@
11/* Posix threads. Hurd version.
2 Copyright (C) 2000-2025 Free Software Foundation, Inc.
2 Copyright (C) 2000-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/i386/htl/bits/pthreadtypes-arch.h+1-1
......@@ -1,5 +1,5 @@
11/* Machine-specific pthread type layouts. Hurd i386 version.
2 Copyright (C) 2002-2025 Free Software Foundation, Inc.
2 Copyright (C) 2002-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/i386/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code compliant to the ELF i386 ABI.
2 Copyright (C) 1995-2025 Free Software Foundation, Inc.
2 Copyright (C) 1995-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/i386/symbol-hacks.h+1-1
......@@ -1,5 +1,5 @@
11/* Hacks needed for symbol manipulation. i386 version.
2 Copyright (C) 2017-2025 Free Software Foundation, Inc.
2 Copyright (C) 2017-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/i386/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for i386.
2 Copyright (C) 1991-2025 Free Software Foundation, Inc.
2 Copyright (C) 1991-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/loongarch/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code compliant to the ELF LoongArch ABI.
2 Copyright (C) 2022-2025 Free Software Foundation, Inc.
2 Copyright (C) 2022-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/loongarch/sys/regdef.h+1-1
......@@ -1,5 +1,5 @@
11/* Register Macro definitions
2 Copyright (C) 2022-2025 Free Software Foundation, Inc.
2 Copyright (C) 2022-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55
lib/libc/glibc/sysdeps/m68k/coldfire/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for Coldfire.
2 Copyright (C) 1998-2025 Free Software Foundation, Inc.
2 Copyright (C) 1998-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/m68k/m680x0/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for m680x0.
2 Copyright (C) 2010-2025 Free Software Foundation, Inc.
2 Copyright (C) 2010-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/m68k/nptl/bits/pthreadtypes-arch.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2010-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2010-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/m68k/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code compliant to the ELF m68k ABI.
2 Copyright (C) 1996-2025 Free Software Foundation, Inc.
2 Copyright (C) 1996-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/m68k/symbol-hacks.h+1-1
......@@ -1,5 +1,5 @@
11/* Hacks needed for symbol manipulation. m68k version.
2 Copyright (C) 2017-2025 Free Software Foundation, Inc.
2 Copyright (C) 2017-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/m68k/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for m68k.
2 Copyright (C) 1998-2025 Free Software Foundation, Inc.
2 Copyright (C) 1998-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/mach/libc-lock.h+1-1
......@@ -1,5 +1,5 @@
11/* libc-internal interface for mutex locks. Mach cthreads version.
2 Copyright (C) 1996-2025 Free Software Foundation, Inc.
2 Copyright (C) 1996-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/mach/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1994-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1994-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/mips/dl-dtprocnum.h+1-1
......@@ -1,5 +1,5 @@
11/* Configuration of lookup functions. MIPS version.
2 Copyright (C) 2000-2025 Free Software Foundation, Inc.
2 Copyright (C) 2000-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/mips/isarev.h created+8
......@@ -0,0 +1,8 @@
1#ifndef _ISAREV_H
2#define _ISAREV_H
3
4#ifndef __mips_isa_rev
5# define __mips_isa_rev 0
6#endif
7
8#endif
lib/libc/glibc/sysdeps/mips/nptl/bits/pthreadtypes-arch.h+1-1
......@@ -1,5 +1,5 @@
11/* Machine-specific pthread type layouts. MIPS version.
2 Copyright (C) 2005-2025 Free Software Foundation, Inc.
2 Copyright (C) 2005-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/mips/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code compliant to the ELF Mips ABI.
2 Copyright (C) 1995-2025 Free Software Foundation, Inc.
2 Copyright (C) 1995-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/nptl/bits/pthreadtypes.h+1-1
......@@ -1,5 +1,5 @@
11/* Declaration of common pthread types for all architectures.
2 Copyright (C) 2017-2025 Free Software Foundation, Inc.
2 Copyright (C) 2017-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/nptl/bits/thread-shared-types.h+2-2
......@@ -1,5 +1,5 @@
11/* Common threading primitives definitions for both POSIX and C11.
2 Copyright (C) 2017-2025 Free Software Foundation, Inc.
2 Copyright (C) 2017-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
......@@ -75,7 +75,7 @@ typedef struct __pthread_internal_slist
7575
7676#include <bits/struct_mutex.h>
7777
78/* Arch-sepecific read-write lock definitions. A generic implementation is
78/* Arch-specific read-write lock definitions. A generic implementation is
7979 provided by struct_rwlock.h. If required, an architecture can override it
8080 by defining:
8181
lib/libc/glibc/sysdeps/nptl/libc-lock.h+1-1
......@@ -1,5 +1,5 @@
11/* libc-internal interface for mutex locks. NPTL version.
2 Copyright (C) 1996-2025 Free Software Foundation, Inc.
2 Copyright (C) 1996-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/nptl/libc-lockP.h+1-8
......@@ -1,5 +1,5 @@
11/* Private libc-internal interface for mutex locks. NPTL version.
2 Copyright (C) 1996-2025 Free Software Foundation, Inc.
2 Copyright (C) 1996-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
......@@ -90,13 +90,6 @@ _Static_assert (LLL_LOCK_INITIALIZER == 0, "LLL_LOCK_INITIALIZER != 0");
9090 (FUNC != NULL ? FUNC ARGS : ELSE)
9191#endif
9292
93/* All previously forwarded functions are now called directly (either
94 via local call in libc, or through a __export), but __libc_ptf_call
95 is still used in generic code shared with Hurd. */
96#define PTFAVAIL(NAME) 1
97#define __libc_ptf_call(FUNC, ARGS, ELSE) FUNC ARGS
98#define __libc_ptf_call_always(FUNC, ARGS) FUNC ARGS
99
10093/* Initialize the named lock variable, leaving it in a consistent, unlocked
10194 state. */
10295#define __libc_lock_init(NAME) ((void) ((NAME) = LLL_LOCK_INITIALIZER))
lib/libc/glibc/sysdeps/nptl/pthread.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2002-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2002-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/powerpc/powerpc32/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code for programs linked with GNU libc.
2 Copyright (C) 1998-2025 Free Software Foundation, Inc.
2 Copyright (C) 1998-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/powerpc/powerpc32/symbol-hacks.h+1-1
......@@ -1,5 +1,5 @@
11/* Hacks needed for symbol manipulation. powerpc version.
2 Copyright (C) 2017-2025 Free Software Foundation, Inc.
2 Copyright (C) 2017-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/powerpc/powerpc32/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembly macros for 32-bit PowerPC.
2 Copyright (C) 1999-2025 Free Software Foundation, Inc.
2 Copyright (C) 1999-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/powerpc/powerpc64/dl-dtprocnum.h+1-1
......@@ -1,5 +1,5 @@
11/* Configuration of lookup functions. PowerPC64 version.
2 Copyright (C) 2002-2025 Free Software Foundation, Inc.
2 Copyright (C) 2002-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/powerpc/powerpc64/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code for programs linked with GNU libc. PowerPC64 version.
2 Copyright (C) 1998-2025 Free Software Foundation, Inc.
2 Copyright (C) 1998-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/powerpc/powerpc64/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembly macros for 64-bit PowerPC.
2 Copyright (C) 2002-2025 Free Software Foundation, Inc.
2 Copyright (C) 2002-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/powerpc/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1999-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1999-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/riscv/nptl/bits/pthreadtypes-arch.h+1-1
......@@ -1,5 +1,5 @@
11/* Machine-specific pthread type layouts. RISC-V version.
2 Copyright (C) 2011-2025 Free Software Foundation, Inc.
2 Copyright (C) 2011-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/riscv/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code compliant to the ELF RISC-V ABI.
2 Copyright (C) 1995-2025 Free Software Foundation, Inc.
2 Copyright (C) 1995-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/s390/s390-64/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code compliant to the 64 bit S/390 ELF ABI.
2 Copyright (C) 2001-2025 Free Software Foundation, Inc.
2 Copyright (C) 2001-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/s390/s390-64/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for 64 bit S/390.
2 Copyright (C) 2001-2025 Free Software Foundation, Inc.
2 Copyright (C) 2001-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/sparc/dl-dtprocnum.h+1-1
......@@ -1,5 +1,5 @@
11/* Configuration of lookup functions. SPARC version.
2 Copyright (C) 2000-2025 Free Software Foundation, Inc.
2 Copyright (C) 2000-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/sparc/sparc32/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code for elf32-sparc
2 Copyright (C) 1997-2025 Free Software Foundation, Inc.
2 Copyright (C) 1997-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/sparc/sparc64/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code for elf64-sparc
2 Copyright (C) 1997-2025 Free Software Foundation, Inc.
2 Copyright (C) 1997-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/sparc/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2011-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2011-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/arm/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1997-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1997-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/i386/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1991-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1991-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/mips/mips32/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1992-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1992-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/mips/mips64/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1992-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1992-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/mips/sysdep.h+2-4
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1992-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1992-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
......@@ -15,12 +15,10 @@
1515 License along with the GNU C Library. If not, see
1616 <https://www.gnu.org/licenses/>. */
1717
18#include <isarev.h>
1819#include <sgidefs.h>
1920#include <sysdeps/unix/sysdep.h>
2021
21#ifndef __mips_isa_rev
22# define __mips_isa_rev 0
23#endif
2422
2523#ifdef __ASSEMBLER__
2624
lib/libc/glibc/sysdeps/unix/powerpc/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1991-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1991-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sh/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1999-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1999-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysdep.h+2-2
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1991-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1991-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
......@@ -138,7 +138,7 @@
138138#include <syscall_types.h>
139139
140140/* Adjust both the __syscall_cancel and the SYSCALL_CANCEL macro to support
141 7 arguments instead of default 6 (curently only mip32). It avoid add
141 7 arguments instead of default 6 (currently only mip32). It avoid add
142142 the requirement to each architecture to support 7 argument macros
143143 {INTERNAL,INLINE}_SYSCALL. */
144144#ifdef HAVE_CANCELABLE_SYSCALL_WITH_7_ARGS
lib/libc/glibc/sysdeps/unix/sysv/linux/aarch64/kernel-features.h+1-1
......@@ -1,6 +1,6 @@
11/* Set flags signalling availability of kernel features based on given
22 kernel version number. AArch64 version.
3 Copyright (C) 2018-2025 Free Software Foundation, Inc.
3 Copyright (C) 2018-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/aarch64/sys/elf.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1996-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1996-2026 Free Software Foundation, Inc.
22
33 This file is part of the GNU C Library.
44
lib/libc/glibc/sysdeps/unix/sysv/linux/aarch64/sysdep.h+40-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2005-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2005-2026 Free Software Foundation, Inc.
22
33 This file is part of the GNU C Library.
44
......@@ -150,6 +150,19 @@
150150 mov x8, SYS_ify (syscall_name); \
151151 svc 0
152152
153/* Clear ZA state of SME (ASM version). */
154/* The __libc_arm_za_disable function has special calling convention
155 that allows to call it without stack manipulation and preserving
156 most of the registers. */
157 .macro CALL_LIBC_ARM_ZA_DISABLE
158 cfi_remember_state
159 mov x13, x30
160 cfi_register(x30, x13)
161 bl __libc_arm_za_disable
162 mov x30, x13
163 cfi_restore_state
164 .endm
165
153166#else /* not __ASSEMBLER__ */
154167
155168# define VDSO_NAME "LINUX_2.6.39"
......@@ -230,6 +243,32 @@
230243#undef HAVE_INTERNAL_BRK_ADDR_SYMBOL
231244#define HAVE_INTERNAL_BRK_ADDR_SYMBOL 1
232245
246/* Clear ZA state of SME (C version). */
247/* The __libc_arm_za_disable function has special calling convention
248 that allows to call it without stack manipulation and preserving
249 most of the registers. */
250#define CALL_LIBC_ARM_ZA_DISABLE() \
251({ \
252 unsigned long int __tmp; \
253 asm volatile ( \
254 " .cfi_remember_state\n" \
255 " mov %0, x30\n" \
256 " .cfi_register x30, %0\n" \
257 " bl __libc_arm_za_disable\n" \
258 " mov x30, %0\n" \
259 " .cfi_restore_state\n" \
260 : "=r" (__tmp) \
261 : \
262 : "x14", "x15", "x16", "x17", "x18", "memory" ); \
263})
264
265/* Do clear ZA state of SME before making normal clone syscall. */
266#define INLINE_CLONE_SYSCALL(a0, a1, a2, a3, a4) \
267({ \
268 CALL_LIBC_ARM_ZA_DISABLE (); \
269 INLINE_SYSCALL_CALL (clone, a0, a1, a2, a3, a4); \
270})
271
233272#endif /* __ASSEMBLER__ */
234273
235274#endif /* linux/aarch64/sysdep.h */
lib/libc/glibc/sysdeps/unix/sysv/linux/arc/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for ARC.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/arm/kernel-features.h+1-1
......@@ -1,6 +1,6 @@
11/* Set flags signalling availability of kernel features based on given
22 kernel version number.
3 Copyright (C) 2006-2025 Free Software Foundation, Inc.
3 Copyright (C) 2006-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/arm/sys/elf.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1996-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1996-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/arm/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1992-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1992-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/bits/stat.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1992-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1992-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/bits/timex.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1995-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1995-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/csky/kernel_stat.h+1-1
......@@ -1,5 +1,5 @@
11/* Internal definitions for stat functions. Linux/csky.
2 Copyright (C) 2011-2025 Free Software Foundation, Inc.
2 Copyright (C) 2011-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/csky/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembly macros for C-SKY.
2 Copyright (C) 2018-2025 Free Software Foundation, Inc.
2 Copyright (C) 2018-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/dl-sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* System-specific settings for dynamic linker code. Linux version.
2 Copyright (C) 2005-2025 Free Software Foundation, Inc.
2 Copyright (C) 2005-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/fstat.c+1-1
......@@ -1,5 +1,5 @@
11/* Get file status. Linux version.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/fstat64.c+1-1
......@@ -1,5 +1,5 @@
11/* Get file status. Linux version.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/fstatat.c+1-1
......@@ -1,5 +1,5 @@
11/* Get file status. Linux version.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/fstatat64.c+1-1
......@@ -1,5 +1,5 @@
11/* Get file status. Linux version.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/i386/dl-sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* System-specific settings for dynamic linker code. i386 version.
2 Copyright (C) 2002-2025 Free Software Foundation, Inc.
2 Copyright (C) 2002-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/i386/kernel-features.h+1-1
......@@ -1,6 +1,6 @@
11/* Set flags signalling availability of kernel features based on given
22 kernel version number. i386 version.
3 Copyright (C) 1999-2025 Free Software Foundation, Inc.
3 Copyright (C) 1999-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/i386/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1992-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1992-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/include/sys/timex.h+1-1
......@@ -1,5 +1,5 @@
11/* Internal declarations for sys/timex.h.
2 Copyright (C) 2014-2025 Free Software Foundation, Inc.
2 Copyright (C) 2014-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/kernel-features.h+6-1
......@@ -1,6 +1,6 @@
11/* Set flags signalling availability of kernel features based on given
22 kernel version number.
3 Copyright (C) 1999-2025 Free Software Foundation, Inc.
3 Copyright (C) 1999-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
......@@ -261,4 +261,9 @@
261261# define __ASSUME_FCHMODAT2 0
262262#endif
263263
264/* The mseal system call was introduced across all architectures in Linux 6.10
265 (although only supported on 64-bit CPUs). */
266/* zig patch: don't assume kernel version */
267#define __ASSUME_MSEAL 0
268
264269#endif /* kernel-features.h */
lib/libc/glibc/sysdeps/unix/sysv/linux/kernel_stat.h+1-1
......@@ -1,5 +1,5 @@
11/* Internal definitions for stat functions.
2 Copyright (C) 2021-2025 Free Software Foundation, Inc.
2 Copyright (C) 2021-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/loongarch/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembly macros for LoongArch.
2 Copyright (C) 2022-2025 Free Software Foundation, Inc.
2 Copyright (C) 2022-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/lstat.c+1-1
......@@ -1,5 +1,5 @@
11/* Get file status. Linux version.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/lstat64.c+1-1
......@@ -1,5 +1,5 @@
11/* Get file status.
2 Copyright (C) 1996-2025 Free Software Foundation, Inc.
2 Copyright (C) 1996-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/m68k/coldfire/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2010-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2010-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/m68k/kernel-features.h+1-1
......@@ -1,6 +1,6 @@
11/* Set flags signalling availability of kernel features based on given
22 kernel version number.
3 Copyright (C) 2008-2025 Free Software Foundation, Inc.
3 Copyright (C) 2008-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/m68k/m680x0/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2010-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2010-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/m68k/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1996-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1996-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/mips/kernel-features.h+1-1
......@@ -1,6 +1,6 @@
11/* Set flags signalling availability of kernel features based on given
22 kernel version number.
3 Copyright (C) 1999-2025 Free Software Foundation, Inc.
3 Copyright (C) 1999-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/mips/mips32/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2000-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2000-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/mips/mips64/kstat_cp.h+1-1
......@@ -1,5 +1,5 @@
11/* Struct stat/stat64 to stat/stat64 conversion for Linux.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/mips/mips64/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2000-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2000-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/mips/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Syscall definitions, Linux MIPS generic version.
2 Copyright (C) 2019-2025 Free Software Foundation, Inc.
2 Copyright (C) 2019-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/mknodat.c+1-1
......@@ -1,5 +1,5 @@
11/* Create a special or ordinary file. Linux version.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/powerpc/kernel-features.h+1-1
......@@ -1,6 +1,6 @@
11/* Set flags signalling availability of kernel features based on given
22 kernel version number. PowerPC version.
3 Copyright (C) 1999-2025 Free Software Foundation, Inc.
3 Copyright (C) 1999-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h+1-1
......@@ -1,5 +1,5 @@
11/* Definition of `struct stat' used in the kernel.
2 Copyright (C) 1997-2025 Free Software Foundation, Inc.
2 Copyright (C) 1997-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1992-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1992-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/powerpc/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Syscall definitions, Linux PowerPC generic version.
2 Copyright (C) 2019-2025 Free Software Foundation, Inc.
2 Copyright (C) 2019-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/riscv/kernel-features.h+1-1
......@@ -1,6 +1,6 @@
11/* Set flags signalling availability of kernel features based on given
22 kernel version number. RISC-V version.
3 Copyright (C) 2018-2025 Free Software Foundation, Inc.
3 Copyright (C) 2018-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/riscv/sysdep.h+7
......@@ -355,7 +355,14 @@
355355 _sys_result; \
356356})
357357
358#ifdef __riscv_v
359# define __SYSCALL_CLOBBERS "v0", "v1", "v2", "v3", "v4", "v5", "v6", "v7", "v8", "v9", \
360 "v10", "v11", "v12", "v13", "v14", "v15", "v16", "v17", "v18", "v19", \
361 "v20", "v21", "v22", "v23", "v24", "v25", "v26", "v27", "v28", "v29", \
362 "v30", "v31", "vl", "vtype", "vxrm", "vxsat", "memory"
363#else
358364# define __SYSCALL_CLOBBERS "memory"
365#endif
359366
360367extern long int __syscall_error (long int neg_errno);
361368
lib/libc/glibc/sysdeps/unix/sysv/linux/s390/bits/typesizes.h+1-1
......@@ -1,5 +1,5 @@
11/* bits/typesizes.h -- underlying types for *_t. Linux/s390 version.
2 Copyright (C) 2003-2025 Free Software Foundation, Inc.
2 Copyright (C) 2003-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/s390/kernel-features.h+1-1
......@@ -1,6 +1,6 @@
11/* Set flags signalling availability of kernel features based on given
22 kernel version number. S/390 version.
3 Copyright (C) 1999-2025 Free Software Foundation, Inc.
3 Copyright (C) 1999-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for 64 bit S/390.
2 Copyright (C) 2001-2025 Free Software Foundation, Inc.
2 Copyright (C) 2001-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/s390/sys/elf.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2000-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2000-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/s390/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Syscall definitions, Linux s390 version.
2 Copyright (C) 2019-2025 Free Software Foundation, Inc.
2 Copyright (C) 2019-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/single-thread.h+1-1
......@@ -1,5 +1,5 @@
11/* Single thread optimization, Linux version.
2 Copyright (C) 2019-2025 Free Software Foundation, Inc.
2 Copyright (C) 2019-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/sparc/bits/typesizes.h+1-1
......@@ -1,5 +1,5 @@
11/* bits/typesizes.h -- underlying types for *_t. Linux/SPARC version.
2 Copyright (C) 2002-2025 Free Software Foundation, Inc.
2 Copyright (C) 2002-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/sparc/kernel-features.h+1-1
......@@ -1,6 +1,6 @@
11/* Set flags signalling availability of kernel features based on given
22 kernel version number. SPARC version.
3 Copyright (C) 1999-2025 Free Software Foundation, Inc.
3 Copyright (C) 1999-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1997-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1997-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/sparc/sparc64/kstat_cp.h+1-1
......@@ -1,5 +1,5 @@
11/* Struct kernel_stat64 to stat64. Linux/SPARC version.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1997-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1997-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/sparc/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2000-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2000-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/stat.c+1-1
......@@ -1,5 +1,5 @@
11/* Get file status. Linux version.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/stat64.c+1-1
......@@ -1,5 +1,5 @@
11/* Get file status. Linux version.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/stat_t64_cp.c+1-1
......@@ -1,5 +1,5 @@
11/* Struct stat/stat64 to stat/stat64 conversion for Linux.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/stat_t64_cp.h+1-1
......@@ -1,5 +1,5 @@
11/* Copy to/from struct stat with and without 64-bit time_t support.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/struct_stat_time64.h+1-1
......@@ -1,5 +1,5 @@
11/* Struct stat with 64-bit time support.
2 Copyright (C) 2020-2025 Free Software Foundation, Inc.
2 Copyright (C) 2020-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/sys/syscall.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1995-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1995-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/sys/timex.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1995-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1995-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2015-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2015-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/x86/bits/typesizes.h+1-1
......@@ -1,5 +1,5 @@
11/* bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version.
2 Copyright (C) 2012-2025 Free Software Foundation, Inc.
2 Copyright (C) 2012-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/x86/sys/elf.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1998-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1998-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/x86_64/kernel-features.h+1-1
......@@ -1,6 +1,6 @@
11/* Set flags signalling availability of kernel features based on given
22 kernel version number. x86-64 version.
3 Copyright (C) 1999-2025 Free Software Foundation, Inc.
3 Copyright (C) 1999-2026 Free Software Foundation, Inc.
44 This file is part of the GNU C Library.
55
66 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/x86_64/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2001-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2001-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2012-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2012-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/unix/x86_64/sysdep.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 1991-2025 Free Software Foundation, Inc.
1/* Copyright (C) 1991-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/wordsize-32/divdi3-symbol-hacks.h+1-1
......@@ -1,5 +1,5 @@
11/* Hacks needed for divdi3 symbol manipulation.
2 Copyright (C) 2004-2025 Free Software Foundation, Inc.
2 Copyright (C) 2004-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/x86/nptl/bits/pthreadtypes-arch.h+1-1
......@@ -1,4 +1,4 @@
1/* Copyright (C) 2002-2025 Free Software Foundation, Inc.
1/* Copyright (C) 2002-2026 Free Software Foundation, Inc.
22 This file is part of the GNU C Library.
33
44 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/x86/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for x86.
2 Copyright (C) 2017-2025 Free Software Foundation, Inc.
2 Copyright (C) 2017-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/x86_64/start.S+1-1
......@@ -1,5 +1,5 @@
11/* Startup code compliant to the ELF x86-64 ABI.
2 Copyright (C) 2001-2025 Free Software Foundation, Inc.
2 Copyright (C) 2001-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/x86_64/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for x86-64.
2 Copyright (C) 2001-2025 Free Software Foundation, Inc.
2 Copyright (C) 2001-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or
lib/libc/glibc/sysdeps/x86_64/x32/sysdep.h+1-1
......@@ -1,5 +1,5 @@
11/* Assembler macros for x32.
2 Copyright (C) 2012-2025 Free Software Foundation, Inc.
2 Copyright (C) 2012-2026 Free Software Foundation, Inc.
33 This file is part of the GNU C Library.
44
55 The GNU C Library is free software; you can redistribute it and/or