| author | |
| committer | |
| log | ff8dbd010faa1945a796d31a7449e1ba89805f43 |
| tree | abc94e47950271ec098a729c5621abc59d0c06bf |
| parent | e4058f2c27e9b1b91194ab7ed46c74203ac92a24 |
| signature |
188 files changed, 439 insertions(+), 246 deletions(-)
lib/libc/glibc/bits/byteswap.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros and inline functions to swap the order of bytes in integer values. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Macros to control TS 18661-3 glibc features where the same | 1 | /* Macros to control TS 18661-3 glibc features where the same |
| 2 | definitions are appropriate for all platforms. | 2 | definitions are appropriate for all platforms. |
| 3 | Copyright (C) 2017-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 2017-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Handle feature test macros at the start of a header. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Properties of long double type. | 1 | /* Properties of long double type. |
| 2 | Copyright (C) 2016-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2016-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Signal number constants. Generic template. | 1 | /* Signal number constants. Generic template. |
| 2 | Copyright (C) 1991-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Define intN_t types. | 1 | /* Define intN_t types. |
| 2 | Copyright (C) 2017-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Perform binary search - inline version. | 1 | /* Perform binary search - inline version. |
| 2 | Copyright (C) 1991-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/time64.h -- underlying types for __time64_t. Generic version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Bit size of the time_t type at glibc build time, general case. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Sched parameter structure. Generic version. | 1 | /* Sched parameter structure. Generic version. |
| 2 | Copyright (C) 1996-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. Generic version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Inline functions to return unsigned integer values unchanged. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions of flag bits for `waitpid' et al. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definitions of status bits for `wait' et al. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of `errno' variable. Canonical version. | 1 | /* Definition of `errno' variable. Canonical version. |
| 2 | Copyright (C) 2002-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Special startup support. | 1 | /* Special startup support. |
| 2 | Copyright (C) 1997-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* This file defines standard ELF types, structures, and macros. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -924,7 +924,7 @@ typedef struct | ... | @@ -924,7 +924,7 @@ typedef struct |
| 924 | #define DT_SYMTAB_SHNDX	34		/* Address of SYMTAB_SHNDX section */ | 924 | #define DT_SYMTAB_SHNDX	34		/* Address of SYMTAB_SHNDX section */ |
| 925 | #define DT_RELRSZ	35		/* Total size of RELR relative relocations */ | 925 | #define DT_RELRSZ	35		/* Total size of RELR relative relocations */ |
| 926 | #define DT_RELR		36		/* Address of RELR relative relocations */ | 926 | #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 */ |
| 928 | #define	DT_NUM		38		/* Number used */ | 928 | #define	DT_NUM		38		/* Number used */ |
| 929 | #define DT_LOOS		0x6000000d	/* Start of OS-specific */ | 929 | #define DT_LOOS		0x6000000d	/* Start of OS-specific */ |
| 930 | #define DT_HIOS		0x6ffff000	/* End of OS-specific */ | 930 | #define DT_HIOS		0x6ffff000	/* End of OS-specific */ |
lib/libc/glibc/include/alloca.h+1-1| ... | @@ -4,7 +4,7 @@ | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | ||
| 5 | # ifndef _ISOMAC | 5 | # ifndef _ISOMAC |
| 6 | 6 | ||
| 7 | #include <stackinfo.h> | 7 | #include <elf.h> |
| 8 | 8 | ||
| 9 | #undef	__alloca | 9 | #undef	__alloca |
| 10 | 10 |
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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Miscellaneous definitions for both glibc build and test. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Helper macros for pointer arithmetic. | 1 | /* Helper macros for pointer arithmetic. |
| 2 | Copyright (C) 2012-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Support macros for making weak and strong aliases for symbols, | 1 | /* Support macros for making weak and strong aliases for symbols, |
| 2 | and for using symbol sets and linker warnings with GNU ld. | 2 | 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. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -86,6 +86,7 @@ | ... | @@ -86,6 +86,7 @@ |
| 86 | 86 | ||
| 87 | /* Obtain the definition of symbol_version_reference. */ | 87 | /* Obtain the definition of symbol_version_reference. */ |
| 88 | #include <libc-symver.h> | 88 | #include <libc-symver.h> |
| 89 | #include <libc-diag.h> | ||
| 89 | 90 | ||
| 90 | /* When PIC is defined and SHARED isn't defined, we are building PIE | 91 | /* When PIC is defined and SHARED isn't defined, we are building PIE |
| 91 | by default. */ | 92 | by default. */ |
| ... | @@ -167,6 +168,16 @@ | ... | @@ -167,6 +168,16 @@ |
| 167 | __attribute_copy__ (name); | 168 | __attribute_copy__ (name); |
| 168 | #endif | 169 | #endif |
| 169 | 170 | ||
| 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 | |||
| 170 | /* Declare SYMBOL as weak undefined symbol (resolved to 0 if not defined). */ | 181 | /* Declare SYMBOL as weak undefined symbol (resolved to 0 if not defined). */ |
| 171 | # define weak_extern(symbol) _weak_extern (weak symbol) | 182 | # define weak_extern(symbol) _weak_extern (weak symbol) |
| 172 | # define _weak_extern(expr) _Pragma (#expr) | 183 | # define _weak_extern(expr) _Pragma (#expr) |
| ... | @@ -280,7 +291,7 @@ for linking") | ... | @@ -280,7 +291,7 @@ for linking") |
| 280 | 291 | ||
| 281 | 292 | ||
| 282 | /* | 293 | /* |
| 283 | 294 | ||
| 284 | */ | 295 | */ |
| 285 | 296 | ||
| 286 | #ifdef HAVE_GNU_RETAIN | 297 | #ifdef HAVE_GNU_RETAIN |
| ... | @@ -683,7 +694,10 @@ for linking") | ... | @@ -683,7 +694,10 @@ for linking") |
| 683 | # define __ifunc_args(type_name, name, expr, init, ...)			\ | 694 | # define __ifunc_args(type_name, name, expr, init, ...)			\ |
| 684 | extern __typeof (type_name) name __attribute__			\ | 695 | extern __typeof (type_name) name __attribute__			\ |
| 685 | 			 ((ifunc (#name "_ifunc")));		\ | 696 | 			 ((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; | ||
| 687 | 701 | ||
| 688 | # define __ifunc_args_hidden(type_name, name, expr, init, ...)		\ | 702 | # define __ifunc_args_hidden(type_name, name, expr, init, ...)		\ |
| 689 | __ifunc_args (type_name, name, expr, init, __VA_ARGS__) | 703 | __ifunc_args (type_name, name, expr, init, __VA_ARGS__) |
| ... | @@ -807,7 +821,7 @@ for linking") | ... | @@ -807,7 +821,7 @@ for linking") |
| 807 | #define libm_ifunc_init() | 821 | #define libm_ifunc_init() |
| 808 | #define libm_ifunc(name, expr)				\ | 822 | #define libm_ifunc(name, expr)				\ |
| 809 | __ifunc (name, name, expr, void, libm_ifunc_init) | 823 | __ifunc (name, name, expr, void, libm_ifunc_init) |
| 810 | 824 | ||
| 811 | /* These macros facilitate sharing source files with gnulib. | 825 | /* These macros facilitate sharing source files with gnulib. |
| 812 | 826 | ||
| 813 | They are here instead of sys/cdefs.h because they should not be | 827 | 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, | ... | @@ -8,14 +8,10 @@ extern int __pthread_barrier_init (pthread_barrier_t *__restrict __barrier, |
| 8 | 				 const pthread_barrierattr_t *__restrict | 8 | 				 const pthread_barrierattr_t *__restrict |
| 9 | 				 __attr, unsigned int __count) | 9 | 				 __attr, unsigned int __count) |
| 10 | __THROW __nonnull ((1)); | 10 | __THROW __nonnull ((1)); |
| 11 | #if PTHREAD_IN_LIBC | ||
| 12 | libc_hidden_proto (__pthread_barrier_init) | 11 | libc_hidden_proto (__pthread_barrier_init) |
| 13 | #endif | ||
| 14 | extern int __pthread_barrier_wait (pthread_barrier_t *__barrier) | 12 | extern int __pthread_barrier_wait (pthread_barrier_t *__barrier) |
| 15 | __THROWNL __nonnull ((1)); | 13 | __THROWNL __nonnull ((1)); |
| 16 | #if PTHREAD_IN_LIBC | ||
| 17 | libc_hidden_proto (__pthread_barrier_wait) | 14 | libc_hidden_proto (__pthread_barrier_wait) |
| 18 | #endif | ||
| 19 | 15 | ||
| 20 | /* This function is called to initialize the pthread library. */ | 16 | /* This function is called to initialize the pthread library. */ |
| 21 | extern void __pthread_initialize (void) __attribute__ ((weak)); | 17 | extern void __pthread_initialize (void) __attribute__ ((weak)); |
lib/libc/glibc/include/stap-probe.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros for defining Systemtap <sys/sdt.h> static probe points. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* statx-related definitions and declarations. Generic version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of struct __locale_struct and __locale_t. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of locale_t. | 1 | /* Definition of locale_t. |
| 2 | Copyright (C) 2017-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 2 | Copyright The GNU Toolchain Authors. | 2 | Copyright The GNU Toolchain Authors. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| ... | @@ -438,10 +438,10 @@ | ... | @@ -438,10 +438,10 @@ |
| 438 | */ | 438 | */ |
| 439 | #endif | 439 | #endif |
| 440 | 440 | ||
| 441 | /* GCC and clang have various useful declarations that can be made with | 441 | /* GCC, clang, and compatible compilers have various useful declarations |
| 442 | the '__attribute__' syntax. All of the ways we use this do fine if | 442 | that can be made with the '__attribute__' syntax. All of the ways we use |
| 443 | they are omitted for compilers that don't understand it. */ | 443 | this do fine if they are omitted for compilers that don't understand it. */ |
| 444 | #if !(defined __GNUC__ || defined __clang__) | 444 | #if !(defined __GNUC__ || defined __clang__ || defined __TINYC__) |
| 445 | # define __attribute__(xyz)	/* Ignore */ | 445 | # define __attribute__(xyz)	/* Ignore */ |
| 446 | #endif | 446 | #endif |
| 447 | 447 | ||
| ... | @@ -606,14 +606,14 @@ | ... | @@ -606,14 +606,14 @@ |
| 606 | # define __attribute_artificial__ /* Ignore */ | 606 | # define __attribute_artificial__ /* Ignore */ |
| 607 | #endif | 607 | #endif |
| 608 | 608 | ||
| 609 | /* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 | 609 | /* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99 inline |
| 610 | inline semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__ | 610 | semantics, unless -fgnu89-inline is used. Using __GNUC_STDC_INLINE__ or |
| 611 | or __GNUC_GNU_INLINE is not a good enough check for gcc because gcc versions | 611 | __GNUC_GNU_INLINE__ is not a good enough check for gcc because gcc versions |
| 612 | older than 4.3 may define these macros and still not guarantee GNU inlining | 612 | older than 4.3 may define these macros and still not guarantee GNU inlining |
| 613 | semantics. | 613 | semantics. |
| 614 | 614 | ||
| 615 | clang++ identifies itself as gcc-4.2, but has support for GNU inlining | 615 | 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 |
| 617 | __GNUC_GNU_INLINE__ macro definitions. */ | 617 | __GNUC_GNU_INLINE__ macro definitions. */ |
| 618 | #if (!defined __cplusplus || __GNUC_PREREQ (4,3) \ | 618 | #if (!defined __cplusplus || __GNUC_PREREQ (4,3) \ |
| 619 | || (defined __clang__ && (defined __GNUC_STDC_INLINE__ \ | 619 | || (defined __clang__ && (defined __GNUC_STDC_INLINE__ \ |
| ... | @@ -828,6 +828,18 @@ _Static_assert (0, "IEEE 128-bits long double requires redirection on this platf | ... | @@ -828,6 +828,18 @@ _Static_assert (0, "IEEE 128-bits long double requires redirection on this platf |
| 828 | # define __HAVE_GENERIC_SELECTION 0 | 828 | # define __HAVE_GENERIC_SELECTION 0 |
| 829 | #endif | 829 | #endif |
| 830 | 830 | ||
| 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 | |||
| 831 | #if __GNUC_PREREQ (10, 0) | 843 | #if __GNUC_PREREQ (10, 0) |
| 832 | /* Designates a 1-based positional argument ref-index of pointer type | 844 | /* Designates a 1-based positional argument ref-index of pointer type |
| 833 | that can be used to access size-index elements of the pointed-to | 845 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* `fd_set' type and related macros, and `select'/`pselect' declarations. | 1 | /* `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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Definition of the cpu_set_t structure used by the POSIX 1003.1b-1993 | 1 | /* Definition of the cpu_set_t structure used by the POSIX 1003.1b-1993 |
| 2 | scheduling interface. | 2 | scheduling interface. |
| 3 | Copyright (C) 1996-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 1996-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/types.h -- definitions of __*_t types underlying *_t types. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Floating-point inline functions for stdlib.h. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 2 | Copyright The GNU Toolchain Authors. | 2 | Copyright The GNU Toolchain Authors. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| ... | @@ -35,6 +35,10 @@ __BEGIN_DECLS | ... | @@ -35,6 +35,10 @@ __BEGIN_DECLS |
| 35 | 35 | ||
| 36 | #define	_STDLIB_H	1 | 36 | #define	_STDLIB_H	1 |
| 37 | 37 | ||
| 38 | #if __GLIBC_USE (ISOC23) | ||
| 39 | # define __STDC_VERSION_STDLIB_H__ 202311L | ||
| 40 | #endif | ||
| 41 | |||
| 38 | #if (defined __USE_XOPEN || defined __USE_XOPEN2K8) && !defined _SYS_WAIT_H | 42 | #if (defined __USE_XOPEN || defined __USE_XOPEN2K8) && !defined _SYS_WAIT_H |
| 39 | /* XPG requires a few symbols from <sys/wait.h> being defined. */ | 43 | /* XPG requires a few symbols from <sys/wait.h> being defined. */ |
| 40 | # include <bits/waitflags.h> | 44 | # include <bits/waitflags.h> |
| ... | @@ -686,6 +690,24 @@ extern void *realloc (void *__ptr, size_t __size) | ... | @@ -686,6 +690,24 @@ extern void *realloc (void *__ptr, size_t __size) |
| 686 | /* Free a block allocated by `malloc', `realloc' or `calloc'. */ | 690 | /* Free a block allocated by `malloc', `realloc' or `calloc'. */ |
| 687 | extern void free (void *__ptr) __THROW; | 691 | extern void free (void *__ptr) __THROW; |
| 688 | 692 | ||
| 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. */ | ||
| 702 | extern 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'. */ | ||
| 707 | extern void free_aligned_sized (void *__ptr, size_t __alignment, size_t __size) | ||
| 708 | __THROW; | ||
| 709 | #endif | ||
| 710 | |||
| 689 | #ifdef __USE_MISC | 711 | #ifdef __USE_MISC |
| 690 | /* Re-allocate the previously allocated block in PTR, making the new | 712 | /* Re-allocate the previously allocated block in PTR, making the new |
| 691 | block large enough for NMEMB elements of SIZE bytes each. */ | 713 | block large enough for NMEMB elements of SIZE bytes each. */ |
| ... | @@ -965,6 +987,12 @@ extern void *bsearch (const void *__key, const void *__base, | ... | @@ -965,6 +987,12 @@ extern void *bsearch (const void *__key, const void *__base, |
| 965 | # include <bits/stdlib-bsearch.h> | 987 | # include <bits/stdlib-bsearch.h> |
| 966 | #endif | 988 | #endif |
| 967 | 989 | ||
| 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 | |||
| 968 | /* Sort NMEMB elements of BASE, of SIZE bytes each, | 996 | /* Sort NMEMB elements of BASE, of SIZE bytes each, |
| 969 | using COMPAR to perform the comparisons. */ | 997 | using COMPAR to perform the comparisons. */ |
| 970 | extern void qsort (void *__base, size_t __nmemb, size_t __size, | 998 | extern void qsort (void *__base, size_t __nmemb, size_t __size, |
| ... | @@ -1158,6 +1186,19 @@ extern int getloadavg (double __loadavg[], int __nelem) | ... | @@ -1158,6 +1186,19 @@ extern int getloadavg (double __loadavg[], int __nelem) |
| 1158 | extern int ttyslot (void) __THROW; | 1186 | extern int ttyslot (void) __THROW; |
| 1159 | #endif | 1187 | #endif |
| 1160 | 1188 | ||
| 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. */ | ||
| 1195 | extern void call_once (once_flag *__flag, void (*__func)(void)); | ||
| 1196 | # endif /* !__cplusplus */ | ||
| 1197 | |||
| 1198 | /* Return the alignment of P. */ | ||
| 1199 | extern size_t memalignment (const void *__p); | ||
| 1200 | #endif | ||
| 1201 | |||
| 1161 | #include <bits/stdlib-float.h> | 1202 | #include <bits/stdlib-float.h> |
| 1162 | 1203 | ||
| 1163 | /* Define some macros helping to catch buffer overflows. */ | 1204 | /* Define some macros helping to catch buffer overflows. */ |
lib/libc/glibc/string/bits/endian.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Endian macros for string.h functions | 1 | /* Endian macros for string.h functions |
| 2 | Copyright (C) 1992-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2026 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/glibc/sysdeps/aarch64/start.S+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2026 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/glibc/sysdeps/aarch64/sysdep.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2026 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/glibc/sysdeps/arc/start.S+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code for ARC. | 1 | /* Startup code for ARC. |
| 2 | Copyright (C) 2020-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for ARC. | 1 | /* Assembler macros for ARC. |
| 2 | Copyright (C) 2020-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Macros to test for CPU features on ARM. Generic ARM version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code for ARM & ELF | 1 | /* Startup code for ARM & ELF |
| 2 | Copyright (C) 1995-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for ARM. | 1 | /* Assembler macros for ARM. |
| 2 | Copyright (C) 1997-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code compliant to the ELF C-SKY ABIV2. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for C-SKY. | 1 | /* Assembler macros for C-SKY. |
| 2 | Copyright (C) 2018-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Configuration of lookup functions. | 1 | /* Configuration of lookup functions. |
| 2 | Copyright (C) 2000-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System-specific settings for dynamic linker code. Generic version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Declarations and definitions of codes relating to the DWARF2 symbolic | 1 | /* Declarations and definitions of codes relating to the DWARF2 symbolic |
| 2 | debugging information format. | 2 | debugging information format. |
| 3 | Copyright (C) 1992-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of the GNU C Library. | 5 | This file is part of the GNU C Library. |
| 6 | 6 |
lib/libc/glibc/sysdeps/generic/libc-lock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* libc-internal interface for mutex locks. Stub version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Symbol version management. | 1 | /* Symbol version management. |
| 2 | Copyright (C) 1995-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1995-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Single thread optimization, generic version. | 1 | /* Single thread optimization, generic version. |
| 2 | Copyright (C) 2019-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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"); | ... | @@ -6,6 +6,22 @@ asm ("memmove = __GI_memmove"); |
| 6 | asm ("memset = __GI_memset"); | 6 | asm ("memset = __GI_memset"); |
| 7 | asm ("memcpy = __GI_memcpy"); | 7 | asm ("memcpy = __GI_memcpy"); |
| 8 | 8 | ||
| 9 | /* clang might generate the internal fortfify calls when it is enabled, | ||
| 10 | through the buitintin. */ | ||
| 11 | asm ("__vfprintf_chk = __GI___vfprintf_chk"); | ||
| 12 | asm ("__vsprintf_chk = __GI___vsprintf_chk"); | ||
| 13 | asm ("__vsyslog_chk = __GI___vsyslog_chk"); | ||
| 14 | asm ("__memcpy_chk = __GI___memcpy_chk"); | ||
| 15 | asm ("__memmove_chk = __GI___memmove_chk"); | ||
| 16 | asm ("__memset_chk = __GI___memset_chk"); | ||
| 17 | asm ("__mempcpy_chk = __GI___mempcpy_chk"); | ||
| 18 | asm ("__stpcpy_chk = __GI___stpcpy_chk"); | ||
| 19 | asm ("__strcpy_chk = __GI___strcpy_chk"); | ||
| 20 | asm ("strcpy = __GI_strcpy"); | ||
| 21 | asm ("strncpy = __GI_strncpy"); | ||
| 22 | asm ("strcat = __GI_strcat"); | ||
| 23 | asm ("strlen = __GI_strlen"); | ||
| 24 | |||
| 9 | /* Some targets do not use __stack_chk_fail_local. In libc.so, | 25 | /* Some targets do not use __stack_chk_fail_local. In libc.so, |
| 10 | redirect __stack_chk_fail to a hidden reference | 26 | redirect __stack_chk_fail to a hidden reference |
| 11 | __stack_chk_fail_local, to avoid the PLT reference. | 27 | __stack_chk_fail_local, to avoid the PLT reference. |
lib/libc/glibc/sysdeps/generic/sysdep.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Generic asm macros used on many machines. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition for thread-local data handling. Generic version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Pthread data structures. Generic version. | 1 | /* Pthread data structures. Generic version. |
| 2 | Copyright (C) 2002-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Common threading primitives definitions for both POSIX and C11. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Private libc-internal interface for mutex locks. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -20,7 +20,6 @@ | ... | @@ -20,7 +20,6 @@ |
| 20 | #define _BITS_LIBC_LOCKP_H 1 | 20 | #define _BITS_LIBC_LOCKP_H 1 |
| 21 | 21 | ||
| 22 | #include <pthread.h> | 22 | #include <pthread.h> |
| 23 | #include <pthread-functions.h> | ||
| 24 | 23 | ||
| 25 | /* If we check for a weakly referenced symbol and then perform a | 24 | /* If we check for a weakly referenced symbol and then perform a |
| 26 | normal jump to it te code generated for some platforms in case of | 25 | normal jump to it te code generated for some platforms in case of |
| ... | @@ -36,40 +35,6 @@ | ... | @@ -36,40 +35,6 @@ |
| 36 | (FUNC != NULL ? FUNC ARGS : ELSE) | 35 | (FUNC != NULL ? FUNC ARGS : ELSE) |
| 37 | #endif | 36 | #endif |
| 38 | 37 | ||
| 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 | |||
| 73 | /* Functions that are used by this file and are internal to the GNU C | 38 | /* Functions that are used by this file and are internal to the GNU C |
| 74 | library. */ | 39 | library. */ |
| 75 | 40 |
lib/libc/glibc/sysdeps/htl/pthread.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Posix threads. Hurd version. | 1 | /* Posix threads. Hurd version. |
| 2 | Copyright (C) 2000-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific pthread type layouts. Hurd i386 version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code compliant to the ELF i386 ABI. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Hacks needed for symbol manipulation. i386 version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for i386. | 1 | /* Assembler macros for i386. |
| 2 | Copyright (C) 1991-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code compliant to the ELF LoongArch ABI. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Register Macro definitions | 1 | /* Register Macro definitions |
| 2 | Copyright (C) 2022-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2022-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | 5 |
lib/libc/glibc/sysdeps/m68k/coldfire/sysdep.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for Coldfire. | 1 | /* Assembler macros for Coldfire. |
| 2 | Copyright (C) 1998-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for m680x0. | 1 | /* Assembler macros for m680x0. |
| 2 | Copyright (C) 2010-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2010-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2010-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2010-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code compliant to the ELF m68k ABI. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Hacks needed for symbol manipulation. m68k version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for m68k. | 1 | /* Assembler macros for m68k. |
| 2 | Copyright (C) 1998-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1998-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* libc-internal interface for mutex locks. Mach cthreads version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1994-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1994-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Configuration of lookup functions. MIPS version. | 1 | /* Configuration of lookup functions. MIPS version. |
| 2 | Copyright (C) 2000-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific pthread type layouts. MIPS version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code compliant to the ELF Mips ABI. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Declaration of common pthread types for all architectures. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Common threading primitives definitions for both POSIX and C11. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -75,7 +75,7 @@ typedef struct __pthread_internal_slist | ... | @@ -75,7 +75,7 @@ typedef struct __pthread_internal_slist |
| 75 | 75 | ||
| 76 | #include <bits/struct_mutex.h> | 76 | #include <bits/struct_mutex.h> |
| 77 | 77 | ||
| 78 | /* Arch-sepecific read-write lock definitions. A generic implementation is | 78 | /* Arch-specific read-write lock definitions. A generic implementation is |
| 79 | provided by struct_rwlock.h. If required, an architecture can override it | 79 | provided by struct_rwlock.h. If required, an architecture can override it |
| 80 | by defining: | 80 | by defining: |
| 81 | 81 |
lib/libc/glibc/sysdeps/nptl/libc-lock.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* libc-internal interface for mutex locks. NPTL version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Private libc-internal interface for mutex locks. NPTL version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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"); | ... | @@ -90,13 +90,6 @@ _Static_assert (LLL_LOCK_INITIALIZER == 0, "LLL_LOCK_INITIALIZER != 0"); |
| 90 | (FUNC != NULL ? FUNC ARGS : ELSE) | 90 | (FUNC != NULL ? FUNC ARGS : ELSE) |
| 91 | #endif | 91 | #endif |
| 92 | 92 | ||
| 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 | |||
| 100 | /* Initialize the named lock variable, leaving it in a consistent, unlocked | 93 | /* Initialize the named lock variable, leaving it in a consistent, unlocked |
| 101 | state. */ | 94 | state. */ |
| 102 | #define __libc_lock_init(NAME) ((void) ((NAME) = LLL_LOCK_INITIALIZER)) | 95 | #define __libc_lock_init(NAME) ((void) ((NAME) = LLL_LOCK_INITIALIZER)) |
lib/libc/glibc/sysdeps/nptl/pthread.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code for programs linked with GNU libc. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Hacks needed for symbol manipulation. powerpc version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembly macros for 32-bit PowerPC. | 1 | /* Assembly macros for 32-bit PowerPC. |
| 2 | Copyright (C) 1999-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1999-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Configuration of lookup functions. PowerPC64 version. | 1 | /* Configuration of lookup functions. PowerPC64 version. |
| 2 | Copyright (C) 2002-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code for programs linked with GNU libc. PowerPC64 version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembly macros for 64-bit PowerPC. | 1 | /* Assembly macros for 64-bit PowerPC. |
| 2 | Copyright (C) 2002-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2002-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Machine-specific pthread type layouts. RISC-V version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code compliant to the ELF RISC-V ABI. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code compliant to the 64 bit S/390 ELF ABI. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for 64 bit S/390. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Configuration of lookup functions. SPARC version. | 1 | /* Configuration of lookup functions. SPARC version. |
| 2 | Copyright (C) 2000-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2000-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code for elf32-sparc | 1 | /* Startup code for elf32-sparc |
| 2 | Copyright (C) 1997-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code for elf64-sparc | 1 | /* Startup code for elf64-sparc |
| 2 | Copyright (C) 1997-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1997-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2011-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2011-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -15,12 +15,10 @@ | ... | @@ -15,12 +15,10 @@ |
| 15 | License along with the GNU C Library. If not, see | 15 | License along with the GNU C Library. If not, see |
| 16 | <https://www.gnu.org/licenses/>. */ | 16 | <https://www.gnu.org/licenses/>. */ |
| 17 | 17 | ||
| 18 | #include <isarev.h> | ||
| 18 | #include <sgidefs.h> | 19 | #include <sgidefs.h> |
| 19 | #include <sysdeps/unix/sysdep.h> | 20 | #include <sysdeps/unix/sysdep.h> |
| 20 | 21 | ||
| 21 | #ifndef __mips_isa_rev | ||
| 22 | # define __mips_isa_rev 0 | ||
| 23 | #endif | ||
| 24 | 22 | ||
| 25 | #ifdef __ASSEMBLER__ | 23 | #ifdef __ASSEMBLER__ |
| 26 | 24 |
lib/libc/glibc/sysdeps/unix/powerpc/sysdep.h+1-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1999-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1999-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -138,7 +138,7 @@ | ... | @@ -138,7 +138,7 @@ |
| 138 | #include <syscall_types.h> | 138 | #include <syscall_types.h> |
| 139 | 139 | ||
| 140 | /* Adjust both the __syscall_cancel and the SYSCALL_CANCEL macro to support | 140 | /* 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 |
| 142 | the requirement to each architecture to support 7 argument macros | 142 | the requirement to each architecture to support 7 argument macros |
| 143 | {INTERNAL,INLINE}_SYSCALL. */ | 143 | {INTERNAL,INLINE}_SYSCALL. */ |
| 144 | #ifdef HAVE_CANCELABLE_SYSCALL_WITH_7_ARGS | 144 | #ifdef HAVE_CANCELABLE_SYSCALL_WITH_7_ARGS |
lib/libc/glibc/sysdeps/unix/sysv/linux/aarch64/kernel-features.h+1-1| ... | @@ -1,6 +1,6 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Set flags signalling availability of kernel features based on given | 1 | /* Set flags signalling availability of kernel features based on given |
| 2 | kernel version number. AArch64 version. | 2 | kernel version number. AArch64 version. |
| 3 | Copyright (C) 2018-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 2018-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2026 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 |
lib/libc/glibc/sysdeps/unix/sysv/linux/aarch64/sysdep.h+40-1| ... | @@ -1,4 +1,4 @@ | ... | @@ -1,4 +1,4 @@ |
| 1 | /* Copyright (C) 2005-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2005-2026 Free Software Foundation, Inc. |
| 2 | 2 | ||
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| ... | @@ -150,6 +150,19 @@ | ... | @@ -150,6 +150,19 @@ |
| 150 | mov x8, SYS_ify (syscall_name);		\ | 150 | mov x8, SYS_ify (syscall_name);		\ |
| 151 | svc 0 | 151 | svc 0 |
| 152 | 152 | ||
| 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 | |||
| 153 | #else /* not __ASSEMBLER__ */ | 166 | #else /* not __ASSEMBLER__ */ |
| 154 | 167 | ||
| 155 | # define VDSO_NAME "LINUX_2.6.39" | 168 | # define VDSO_NAME "LINUX_2.6.39" |
| ... | @@ -230,6 +243,32 @@ | ... | @@ -230,6 +243,32 @@ |
| 230 | #undef HAVE_INTERNAL_BRK_ADDR_SYMBOL | 243 | #undef HAVE_INTERNAL_BRK_ADDR_SYMBOL |
| 231 | #define HAVE_INTERNAL_BRK_ADDR_SYMBOL 1 | 244 | #define HAVE_INTERNAL_BRK_ADDR_SYMBOL 1 |
| 232 | 245 | ||
| 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 | |||
| 233 | #endif	/* __ASSEMBLER__ */ | 272 | #endif	/* __ASSEMBLER__ */ |
| 234 | 273 | ||
| 235 | #endif /* linux/aarch64/sysdep.h */ | 274 | #endif /* linux/aarch64/sysdep.h */ |
lib/libc/glibc/sysdeps/unix/sysv/linux/arc/sysdep.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for ARC. | 1 | /* Assembler macros for ARC. |
| 2 | Copyright (C) 2020-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Set flags signalling availability of kernel features based on given | 1 | /* Set flags signalling availability of kernel features based on given |
| 2 | kernel version number. | 2 | kernel version number. |
| 3 | Copyright (C) 2006-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 2006-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Internal definitions for stat functions. Linux/csky. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembly macros for C-SKY. | 1 | /* Assembly macros for C-SKY. |
| 2 | Copyright (C) 2018-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2018-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System-specific settings for dynamic linker code. Linux version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Get file status. Linux version. | 1 | /* Get file status. Linux version. |
| 2 | Copyright (C) 2020-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Get file status. Linux version. | 1 | /* Get file status. Linux version. |
| 2 | Copyright (C) 2020-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Get file status. Linux version. | 1 | /* Get file status. Linux version. |
| 2 | Copyright (C) 2020-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Get file status. Linux version. | 1 | /* Get file status. Linux version. |
| 2 | Copyright (C) 2020-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* System-specific settings for dynamic linker code. i386 version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Set flags signalling availability of kernel features based on given | 1 | /* Set flags signalling availability of kernel features based on given |
| 2 | kernel version number. i386 version. | 2 | kernel version number. i386 version. |
| 3 | Copyright (C) 1999-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 1999-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Internal declarations for sys/timex.h. | 1 | /* Internal declarations for sys/timex.h. |
| 2 | Copyright (C) 2014-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2014-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Set flags signalling availability of kernel features based on given | 1 | /* Set flags signalling availability of kernel features based on given |
| 2 | kernel version number. | 2 | kernel version number. |
| 3 | Copyright (C) 1999-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 1999-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | The GNU C Library is free software; you can redistribute it and/or |
| ... | @@ -261,4 +261,9 @@ | ... | @@ -261,4 +261,9 @@ |
| 261 | # define __ASSUME_FCHMODAT2 0 | 261 | # define __ASSUME_FCHMODAT2 0 |
| 262 | #endif | 262 | #endif |
| 263 | 263 | ||
| 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 | |||
| 264 | #endif /* kernel-features.h */ | 269 | #endif /* kernel-features.h */ |
lib/libc/glibc/sysdeps/unix/sysv/linux/kernel_stat.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Internal definitions for stat functions. | 1 | /* Internal definitions for stat functions. |
| 2 | Copyright (C) 2021-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2021-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembly macros for LoongArch. | 1 | /* Assembly macros for LoongArch. |
| 2 | Copyright (C) 2022-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2022-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Get file status. Linux version. | 1 | /* Get file status. Linux version. |
| 2 | Copyright (C) 2020-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Get file status. | 1 | /* Get file status. |
| 2 | Copyright (C) 1996-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 1996-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2010-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2010-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Set flags signalling availability of kernel features based on given | 1 | /* Set flags signalling availability of kernel features based on given |
| 2 | kernel version number. | 2 | kernel version number. |
| 3 | Copyright (C) 2008-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 2008-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2010-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2010-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1996-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1996-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Set flags signalling availability of kernel features based on given | 1 | /* Set flags signalling availability of kernel features based on given |
| 2 | kernel version number. | 2 | kernel version number. |
| 3 | Copyright (C) 1999-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 1999-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2000-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Struct stat/stat64 to stat/stat64 conversion for Linux. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2000-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Syscall definitions, Linux MIPS generic version. | 1 | /* Syscall definitions, Linux MIPS generic version. |
| 2 | Copyright (C) 2019-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Create a special or ordinary file. Linux version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Set flags signalling availability of kernel features based on given | 1 | /* Set flags signalling availability of kernel features based on given |
| 2 | kernel version number. PowerPC version. | 2 | kernel version number. PowerPC version. |
| 3 | Copyright (C) 1999-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 1999-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Definition of `struct stat' used in the kernel. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1992-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1992-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Syscall definitions, Linux PowerPC generic version. | 1 | /* Syscall definitions, Linux PowerPC generic version. |
| 2 | Copyright (C) 2019-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Set flags signalling availability of kernel features based on given | 1 | /* Set flags signalling availability of kernel features based on given |
| 2 | kernel version number. RISC-V version. | 2 | kernel version number. RISC-V version. |
| 3 | Copyright (C) 2018-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 2018-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | 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 @@ | ... | @@ -355,7 +355,14 @@ |
| 355 | 	_sys_result;							\ | 355 | 	_sys_result;							\ |
| 356 | }) | 356 | }) |
| 357 | 357 | ||
| 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 | ||
| 358 | # define __SYSCALL_CLOBBERS "memory" | 364 | # define __SYSCALL_CLOBBERS "memory" |
| 365 | #endif | ||
| 359 | 366 | ||
| 360 | extern long int __syscall_error (long int neg_errno); | 367 | extern long int __syscall_error (long int neg_errno); |
| 361 | 368 |
lib/libc/glibc/sysdeps/unix/sysv/linux/s390/bits/typesizes.h+1-1| ... | @@ -1,5 +1,5 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/s390 version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Set flags signalling availability of kernel features based on given | 1 | /* Set flags signalling availability of kernel features based on given |
| 2 | kernel version number. S/390 version. | 2 | kernel version number. S/390 version. |
| 3 | Copyright (C) 1999-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 1999-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for 64 bit S/390. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2000-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Syscall definitions, Linux s390 version. | 1 | /* Syscall definitions, Linux s390 version. |
| 2 | Copyright (C) 2019-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Single thread optimization, Linux version. | 1 | /* Single thread optimization, Linux version. |
| 2 | Copyright (C) 2019-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2019-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/SPARC version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Set flags signalling availability of kernel features based on given | 1 | /* Set flags signalling availability of kernel features based on given |
| 2 | kernel version number. SPARC version. | 2 | kernel version number. SPARC version. |
| 3 | Copyright (C) 1999-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 1999-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Struct kernel_stat64 to stat64. Linux/SPARC version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1997-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1997-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2000-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2000-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Get file status. Linux version. | 1 | /* Get file status. Linux version. |
| 2 | Copyright (C) 2020-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Get file status. Linux version. | 1 | /* Get file status. Linux version. |
| 2 | Copyright (C) 2020-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2020-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Struct stat/stat64 to stat/stat64 conversion for Linux. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Copy to/from struct stat with and without 64-bit time_t support. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Struct stat with 64-bit time support. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1995-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1995-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2015-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2015-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* bits/typesizes.h -- underlying types for *_t. Linux/x86-64 version. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1998-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1998-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,6 +1,6 @@ |
| 1 | /* Set flags signalling availability of kernel features based on given | 1 | /* Set flags signalling availability of kernel features based on given |
| 2 | kernel version number. x86-64 version. | 2 | kernel version number. x86-64 version. |
| 3 | Copyright (C) 1999-2025 Free Software Foundation, Inc. | 3 | Copyright (C) 1999-2026 Free Software Foundation, Inc. |
| 4 | This file is part of the GNU C Library. | 4 | This file is part of the GNU C Library. |
| 5 | 5 | ||
| 6 | The GNU C Library is free software; you can redistribute it and/or | 6 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2001-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2001-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2012-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2012-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 1991-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 1991-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Hacks needed for divdi3 symbol manipulation. | 1 | /* Hacks needed for divdi3 symbol manipulation. |
| 2 | Copyright (C) 2004-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2004-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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,4 +1,4 @@ |
| 1 | /* Copyright (C) 2002-2025 Free Software Foundation, Inc. | 1 | /* Copyright (C) 2002-2026 Free Software Foundation, Inc. |
| 2 | This file is part of the GNU C Library. | 2 | This file is part of the GNU C Library. |
| 3 | 3 | ||
| 4 | The GNU C Library is free software; you can redistribute it and/or | 4 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for x86. | 1 | /* Assembler macros for x86. |
| 2 | Copyright (C) 2017-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2017-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Startup code compliant to the ELF x86-64 ABI. | 1 | /* 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. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for x86-64. | 1 | /* Assembler macros for x86-64. |
| 2 | Copyright (C) 2001-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2001-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | 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 @@ | ... | @@ -1,5 +1,5 @@ |
| 1 | /* Assembler macros for x32. | 1 | /* Assembler macros for x32. |
| 2 | Copyright (C) 2012-2025 Free Software Foundation, Inc. | 2 | Copyright (C) 2012-2026 Free Software Foundation, Inc. |
| 3 | This file is part of the GNU C Library. | 3 | This file is part of the GNU C Library. |
| 4 | 4 | ||
| 5 | The GNU C Library is free software; you can redistribute it and/or | 5 | The GNU C Library is free software; you can redistribute it and/or |