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 | |
| 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')
20 files changed, 103 insertions, 103 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 diff --git a/lib/libc/include/arc-linux-gnu/fpu_control.h b/lib/libc/include/arc-linux-gnu/fpu_control.h index 02e226327f..c4db39e9a6 100644 --- a/lib/libc/include/arc-linux-gnu/fpu_control.h +++ b/lib/libc/include/arc-linux-gnu/fpu_control.h @@ -1,5 +1,5 @@ /* FPU control word bits. 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/gnu/lib-names-arcle.h b/lib/libc/include/arc-linux-gnu/gnu/lib-names-arcle.h deleted file mode 100644 index 9b29aec083..0000000000 --- a/lib/libc/include/arc-linux-gnu/gnu/lib-names-arcle.h +++ /dev/null @@ -1,27 +0,0 @@ -/* This file is automatically generated. */ -#ifndef __GNU_LIB_NAMES_H -# error "Never use <gnu/lib-names-arcle.h> directly; include <gnu/lib-names.h> instead." -#endif - -#define LD_LINUX_ARC_SO "ld-linux-arc.so.2" -#define LD_SO "ld-linux-arc.so.2" -#define LIBANL_SO "libanl.so.1" -#define LIBBROKENLOCALE_SO "libBrokenLocale.so.1" -#define LIBC_MALLOC_DEBUG_SO "libc_malloc_debug.so.0" -#define LIBC_SO "libc.so.6" -#define LIBDL_SO "libdl.so.2" -#define LIBGCC_S_SO "libgcc_s.so.1" -#define LIBMVEC_SO "libmvec.so.1" -#define LIBM_SO "libm.so.6" -#define LIBNSL_SO "libnsl.so.1" -#define LIBNSS_COMPAT_SO "libnss_compat.so.2" -#define LIBNSS_DB_SO "libnss_db.so.2" -#define LIBNSS_DNS_SO "libnss_dns.so.2" -#define LIBNSS_FILES_SO "libnss_files.so.2" -#define LIBNSS_HESIOD_SO "libnss_hesiod.so.2" -#define LIBNSS_LDAP_SO "libnss_ldap.so.2" -#define LIBPTHREAD_SO "libpthread.so.0" -#define LIBRESOLV_SO "libresolv.so.2" -#define LIBRT_SO "librt.so.1" -#define LIBTHREAD_DB_SO "libthread_db.so.1" -#define LIBUTIL_SO "libutil.so.1"
\ No newline at end of file diff --git a/lib/libc/include/arc-linux-gnu/gnu/lib-names.h b/lib/libc/include/arc-linux-gnu/gnu/lib-names.h index d7e6fa326f..68bed2a1a1 100644 --- a/lib/libc/include/arc-linux-gnu/gnu/lib-names.h +++ b/lib/libc/include/arc-linux-gnu/gnu/lib-names.h @@ -4,13 +4,27 @@ #ifndef __GNU_LIB_NAMES_H #define __GNU_LIB_NAMES_H 1 -#include <bits/wordsize.h> - -#if !defined __BIG_ENDIAN__ -# include <gnu/lib-names-arcle.h> -#endif -#if defined __BIG_ENDIAN__ -# include <gnu/lib-names-arcbe.h> -#endif +#define LD_LINUX_ARC_SO "ld-linux-arc.so.2" +#define LD_SO "ld-linux-arc.so.2" +#define LIBANL_SO "libanl.so.1" +#define LIBBROKENLOCALE_SO "libBrokenLocale.so.1" +#define LIBC_MALLOC_DEBUG_SO "libc_malloc_debug.so.0" +#define LIBC_SO "libc.so.6" +#define LIBDL_SO "libdl.so.2" +#define LIBGCC_S_SO "libgcc_s.so.1" +#define LIBMVEC_SO "libmvec.so.1" +#define LIBM_SO "libm.so.6" +#define LIBNSL_SO "libnsl.so.1" +#define LIBNSS_COMPAT_SO "libnss_compat.so.2" +#define LIBNSS_DB_SO "libnss_db.so.2" +#define LIBNSS_DNS_SO "libnss_dns.so.2" +#define LIBNSS_FILES_SO "libnss_files.so.2" +#define LIBNSS_HESIOD_SO "libnss_hesiod.so.2" +#define LIBNSS_LDAP_SO "libnss_ldap.so.2" +#define LIBPTHREAD_SO "libpthread.so.0" +#define LIBRESOLV_SO "libresolv.so.2" +#define LIBRT_SO "librt.so.1" +#define LIBTHREAD_DB_SO "libthread_db.so.1" +#define LIBUTIL_SO "libutil.so.1" #endif /* gnu/lib-names.h */
\ No newline at end of file diff --git a/lib/libc/include/arc-linux-gnu/gnu/stubs-arcle.h b/lib/libc/include/arc-linux-gnu/gnu/stubs-arcle.h deleted file mode 100644 index 6ce02418e6..0000000000 --- a/lib/libc/include/arc-linux-gnu/gnu/stubs-arcle.h +++ /dev/null @@ -1,38 +0,0 @@ -/* This file is automatically generated. - It defines a symbol `__stub_FUNCTION' for each function - in the C library which is a stub, meaning it will fail - every time called, usually setting errno to ENOSYS. */ - -#ifdef _LIBC - #error Applications may not define the macro _LIBC -#endif - -#define __stub___compat_bdflush -#define __stub___compat_create_module -#define __stub___compat_get_kernel_syms -#define __stub___compat_query_module -#define __stub___compat_uselib -#define __stub_chflags -#define __stub_fchflags -#define __stub_feclearexcept -#define __stub_fedisableexcept -#define __stub_feenableexcept -#define __stub_fegetenv -#define __stub_fegetexcept -#define __stub_fegetexceptflag -#define __stub_fegetmode -#define __stub_fegetround -#define __stub_feholdexcept -#define __stub_feraiseexcept -#define __stub_fesetenv -#define __stub_fesetexcept -#define __stub_fesetexceptflag -#define __stub_fesetmode -#define __stub_fesetround -#define __stub_fetestexcept -#define __stub_feupdateenv -#define __stub_gtty -#define __stub_revoke -#define __stub_setlogin -#define __stub_sigreturn -#define __stub_stty
\ No newline at end of file diff --git a/lib/libc/include/arc-linux-gnu/gnu/stubs.h b/lib/libc/include/arc-linux-gnu/gnu/stubs.h index fbfa0fa5b6..6ce02418e6 100644 --- a/lib/libc/include/arc-linux-gnu/gnu/stubs.h +++ b/lib/libc/include/arc-linux-gnu/gnu/stubs.h @@ -1,12 +1,38 @@ /* This file is automatically generated. - This file selects the right generated file of `__stub_FUNCTION' macros - based on the architecture being compiled for. */ + It defines a symbol `__stub_FUNCTION' for each function + in the C library which is a stub, meaning it will fail + every time called, usually setting errno to ENOSYS. */ -#include <bits/wordsize.h> - -#if !defined __BIG_ENDIAN__ -# include <gnu/stubs-arcle.h> +#ifdef _LIBC + #error Applications may not define the macro _LIBC #endif -#if defined __BIG_ENDIAN__ -# include <gnu/stubs-arcbe.h> -#endif
\ No newline at end of file + +#define __stub___compat_bdflush +#define __stub___compat_create_module +#define __stub___compat_get_kernel_syms +#define __stub___compat_query_module +#define __stub___compat_uselib +#define __stub_chflags +#define __stub_fchflags +#define __stub_feclearexcept +#define __stub_fedisableexcept +#define __stub_feenableexcept +#define __stub_fegetenv +#define __stub_fegetexcept +#define __stub_fegetexceptflag +#define __stub_fegetmode +#define __stub_fegetround +#define __stub_feholdexcept +#define __stub_feraiseexcept +#define __stub_fesetenv +#define __stub_fesetexcept +#define __stub_fesetexceptflag +#define __stub_fesetmode +#define __stub_fesetround +#define __stub_fetestexcept +#define __stub_feupdateenv +#define __stub_gtty +#define __stub_revoke +#define __stub_setlogin +#define __stub_sigreturn +#define __stub_stty
\ No newline at end of file diff --git a/lib/libc/include/arc-linux-gnu/sys/cachectl.h b/lib/libc/include/arc-linux-gnu/sys/cachectl.h index e1cfb7dfed..8300c25094 100644 --- a/lib/libc/include/arc-linux-gnu/sys/cachectl.h +++ b/lib/libc/include/arc-linux-gnu/sys/cachectl.h @@ -1,5 +1,5 @@ /* cacheflush - flush contents of instruction and/or data cache. - 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/sys/ucontext.h b/lib/libc/include/arc-linux-gnu/sys/ucontext.h index 9a316becd7..299dcfa2cf 100644 --- a/lib/libc/include/arc-linux-gnu/sys/ucontext.h +++ b/lib/libc/include/arc-linux-gnu/sys/ucontext.h @@ -1,5 +1,5 @@ /* struct ucontext definition, 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/sys/user.h b/lib/libc/include/arc-linux-gnu/sys/user.h index ee051ff2f7..f108a30177 100644 --- a/lib/libc/include/arc-linux-gnu/sys/user.h +++ b/lib/libc/include/arc-linux-gnu/sys/user.h @@ -1,5 +1,5 @@ /* ptrace register data format definitions. - 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 |
