diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-01-31 14:00:10 +0100 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2025-01-31 14:30:32 +0100 |
| commit | 2ba137b02be42285bdff53d85f19e82cb74802e7 (patch) | |
| tree | da2bcf04c047dd8d91e7a8e15946573fc12b3b23 /lib/libc/include/arc-linux-gnu/bits | |
| parent | 6fcf8e6809ba3af3e0e73f4a3408f609584f60af (diff) | |
| download | zig-2ba137b02be42285bdff53d85f19e82cb74802e7.tar.gz zig-2ba137b02be42285bdff53d85f19e82cb74802e7.zip | |
glibc: Update header files to 2.41.
Diffstat (limited to 'lib/libc/include/arc-linux-gnu/bits')
| -rw-r--r-- | lib/libc/include/arc-linux-gnu/bits/endianness.h | 8 | ||||
| -rw-r--r-- | lib/libc/include/arc-linux-gnu/bits/fcntl.h | 2 | ||||
| -rw-r--r-- | lib/libc/include/arc-linux-gnu/bits/fenv.h | 4 | ||||
| -rw-r--r-- | lib/libc/include/arc-linux-gnu/bits/floatn.h | 2 | ||||
| -rw-r--r-- | lib/libc/include/arc-linux-gnu/bits/link.h | 2 | ||||
| -rw-r--r-- | lib/libc/include/arc-linux-gnu/bits/long-double.h | 2 | ||||
| -rw-r--r-- | lib/libc/include/arc-linux-gnu/bits/procfs.h | 2 | ||||
| -rw-r--r-- | lib/libc/include/arc-linux-gnu/bits/rseq.h | 29 | ||||
| -rw-r--r-- | lib/libc/include/arc-linux-gnu/bits/setjmp.h | 2 | ||||
| -rw-r--r-- | lib/libc/include/arc-linux-gnu/bits/struct_stat.h | 2 | ||||
| -rw-r--r-- | lib/libc/include/arc-linux-gnu/bits/timesize.h | 2 | ||||
| -rw-r--r-- | lib/libc/include/arc-linux-gnu/bits/wordsize.h | 2 |
12 files changed, 42 insertions, 17 deletions
diff --git a/lib/libc/include/arc-linux-gnu/bits/endianness.h b/lib/libc/include/arc-linux-gnu/bits/endianness.h index 8abcabc8f5..460ea51253 100644 --- a/lib/libc/include/arc-linux-gnu/bits/endianness.h +++ b/lib/libc/include/arc-linux-gnu/bits/endianness.h @@ -5,11 +5,7 @@ # error "Never use <bits/endian.h> directly; include <endian.h> instead." #endif -/* ARC has selectable endianness. */ -#ifdef __BIG_ENDIAN__ -# define __BYTE_ORDER __BIG_ENDIAN -#else -# define __BYTE_ORDER __LITTLE_ENDIAN -#endif +/* Only little-endian ARC is supported. */ +#define __BYTE_ORDER __LITTLE_ENDIAN #endif /* bits/endianness.h */
\ No newline at end of file diff --git a/lib/libc/include/arc-linux-gnu/bits/fcntl.h b/lib/libc/include/arc-linux-gnu/bits/fcntl.h index 9c454a8d14..e033990adc 100644 --- a/lib/libc/include/arc-linux-gnu/bits/fcntl.h +++ b/lib/libc/include/arc-linux-gnu/bits/fcntl.h @@ -1,5 +1,5 @@ /* O_*, F_*, FD_* bit values for the generic Linux ABI. - Copyright (C) 2011-2024 Free Software Foundation, Inc. + Copyright (C) 2011-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/lib/libc/include/arc-linux-gnu/bits/fenv.h b/lib/libc/include/arc-linux-gnu/bits/fenv.h index b8b36a6816..382f0d08c4 100644 --- a/lib/libc/include/arc-linux-gnu/bits/fenv.h +++ b/lib/libc/include/arc-linux-gnu/bits/fenv.h @@ -1,5 +1,5 @@ /* Floating point environment. ARC version. - Copyright (C) 2020-2024 Free Software Foundation, Inc. + Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -69,7 +69,7 @@ typedef struct /* If the default argument is used we use this value. */ #define FE_DFL_ENV ((const fenv_t *) -1) -#if __GLIBC_USE (IEC_60559_BFP_EXT) +#if __GLIBC_USE (IEC_60559_BFP_EXT_C23) /* Type representing floating-point control modes. */ typedef unsigned int femode_t; diff --git a/lib/libc/include/arc-linux-gnu/bits/floatn.h b/lib/libc/include/arc-linux-gnu/bits/floatn.h index 7f308138a7..9005dc8601 100644 --- a/lib/libc/include/arc-linux-gnu/bits/floatn.h +++ b/lib/libc/include/arc-linux-gnu/bits/floatn.h @@ -1,5 +1,5 @@ /* Macros to control TS 18661-3 glibc features. - Copyright (C) 2017-2024 Free Software Foundation, Inc. + Copyright (C) 2017-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/lib/libc/include/arc-linux-gnu/bits/link.h b/lib/libc/include/arc-linux-gnu/bits/link.h index 371249403b..594c6c8098 100644 --- a/lib/libc/include/arc-linux-gnu/bits/link.h +++ b/lib/libc/include/arc-linux-gnu/bits/link.h @@ -1,5 +1,5 @@ /* Machine-specific declarations for dynamic linker interface, ARC version. - Copyright (C) 2020-2024 Free Software Foundation, Inc. + Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/lib/libc/include/arc-linux-gnu/bits/long-double.h b/lib/libc/include/arc-linux-gnu/bits/long-double.h index 984b2c54b4..d07f1a7418 100644 --- a/lib/libc/include/arc-linux-gnu/bits/long-double.h +++ b/lib/libc/include/arc-linux-gnu/bits/long-double.h @@ -1,5 +1,5 @@ /* Properties of long double type. - Copyright (C) 2016-2024 Free Software Foundation, Inc. + Copyright (C) 2016-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/lib/libc/include/arc-linux-gnu/bits/procfs.h b/lib/libc/include/arc-linux-gnu/bits/procfs.h index 75541205b9..f5c1a9db48 100644 --- a/lib/libc/include/arc-linux-gnu/bits/procfs.h +++ b/lib/libc/include/arc-linux-gnu/bits/procfs.h @@ -1,5 +1,5 @@ /* Types for registers for sys/procfs.h. ARC version. - Copyright (C) 2020-2024 Free Software Foundation, Inc. + Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/lib/libc/include/arc-linux-gnu/bits/rseq.h b/lib/libc/include/arc-linux-gnu/bits/rseq.h new file mode 100644 index 0000000000..90b3e9804a --- /dev/null +++ b/lib/libc/include/arc-linux-gnu/bits/rseq.h @@ -0,0 +1,29 @@ +/* Restartable Sequences architecture header. Stub version. + Copyright (C) 2021-2025 Free Software Foundation, Inc. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + <https://www.gnu.org/licenses/>. */ + +#ifndef _SYS_RSEQ_H +# error "Never use <bits/rseq.h> directly; include <sys/rseq.h> instead." +#endif + +/* RSEQ_SIG is a signature required before each abort handler code. + + It is a 32-bit value that maps to actual architecture code compiled + into applications and libraries. It needs to be defined for each + architecture. When choosing this value, it needs to be taken into + account that generating invalid instructions may have ill effects on + tools like objdump, and may also have impact on the CPU speculative + execution efficiency in some cases. */
\ No newline at end of file diff --git a/lib/libc/include/arc-linux-gnu/bits/setjmp.h b/lib/libc/include/arc-linux-gnu/bits/setjmp.h index 91f27f8dd0..232c097bd5 100644 --- a/lib/libc/include/arc-linux-gnu/bits/setjmp.h +++ b/lib/libc/include/arc-linux-gnu/bits/setjmp.h @@ -1,5 +1,5 @@ /* Define the machine-dependent type 'jmp_buf'. ARC version. - Copyright (C) 2020-2024 Free Software Foundation, Inc. + Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/lib/libc/include/arc-linux-gnu/bits/struct_stat.h b/lib/libc/include/arc-linux-gnu/bits/struct_stat.h index c8e2d78b57..724450a667 100644 --- a/lib/libc/include/arc-linux-gnu/bits/struct_stat.h +++ b/lib/libc/include/arc-linux-gnu/bits/struct_stat.h @@ -1,5 +1,5 @@ /* Definition for struct stat. - Copyright (C) 2020-2024 Free Software Foundation, Inc. + Copyright (C) 2020-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/lib/libc/include/arc-linux-gnu/bits/timesize.h b/lib/libc/include/arc-linux-gnu/bits/timesize.h index 17f828ecfe..04251ea75c 100644 --- a/lib/libc/include/arc-linux-gnu/bits/timesize.h +++ b/lib/libc/include/arc-linux-gnu/bits/timesize.h @@ -1,5 +1,5 @@ /* Bit size of the time_t type at glibc build time, general case. - Copyright (C) 2018-2024 Free Software Foundation, Inc. + Copyright (C) 2018-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or diff --git a/lib/libc/include/arc-linux-gnu/bits/wordsize.h b/lib/libc/include/arc-linux-gnu/bits/wordsize.h index 3a4baec808..6b841cc0f5 100644 --- a/lib/libc/include/arc-linux-gnu/bits/wordsize.h +++ b/lib/libc/include/arc-linux-gnu/bits/wordsize.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1999-2024 Free Software Foundation, Inc. +/* Copyright (C) 1999-2025 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or |
