Go to file
Michael Jeanson 8dd1588794 nptl: Add <thread_pointer.h> for RISC-V
This will be required by the rseq extensible ABI implementation on all
Linux architectures exposing the '__rseq_size' and '__rseq_offset'
symbols to set the initial value of the 'cpu_id' field which can be used
by applications to test if rseq is available and registered. As long as
the symbols are exposed it is valid for an application to perform this
test even if rseq is not yet implemented in libc for this architecture.

Both code paths tested on a Visionfive 2 with Debian sid.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Acked-by: Palmer Dabbelt <palmer@rivosinc.com>
2024-12-09 13:26:55 -05:00
advisories
argp Fix and sort variables in Makefiles 2024-12-05 15:36:23 +08:00
assert
benchtests benchtests: Add calloc test 2024-11-29 19:04:28 +08:00
bits mman.h: Fix MAP_HASSEMPHORE typo 2024-11-20 19:52:44 +01:00
catgets Fix and sort variables in Makefiles 2024-12-05 15:36:23 +08:00
ChangeLog.old
conform Disable _TIME_BITS if the compiler defaults to it 2024-10-01 08:44:41 -03:00
csu
ctype
debug debug: Fix tst-longjmp_chk3 build failure on Hurd 2024-11-26 23:01:28 +01:00
dirent
dlfcn
elf Fix typo in elf/Makefile:postclean-generated 2024-12-05 21:40:57 +00:00
gmon
gnulib
hesiod Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
htl htl: move pthread_condattr_setpshared into libc. 2024-12-09 02:03:18 +01:00
hurd hurd: Protect against servers returning bogus read/write lengths 2024-12-05 08:49:35 +01:00
iconv iconv: Use $(run-program-prefix) for running iconv (bug 32197) 2024-09-24 12:35:40 +02:00
iconvdata
include math: Exclude internal math symbols for tests [BZ #32414] 2024-12-07 13:43:01 -08:00
inet Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
intl intl: avoid alloca for arbitrary sizes (bug 32380) 2024-11-20 14:05:52 +01:00
io io: Add setuid tests for faccessat 2024-11-12 10:19:58 -05:00
libio libio: make _IO_least_marker static 2024-11-28 08:27:24 -05:00
locale Fix and sort variables in Makefiles 2024-12-05 15:36:23 +08:00
localedata locale: More strictly implement ISO 8601 for Esperanto locale 2024-12-02 19:18:18 +01:00
login
mach
malloc malloc: Optimize small memory clearing for calloc 2024-12-04 04:28:15 +08:00
manual Implement C23 tanpi 2024-12-05 21:42:10 +00:00
math Implement C23 tanpi 2024-12-05 21:42:10 +00:00
mathvec
misc Fix and sort variables in Makefiles 2024-12-05 15:36:23 +08:00
nis Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
nptl pthread_getcpuclockid: Add descriptive comment to smoke test 2024-11-28 13:19:52 -05:00
nptl_db Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
nscd
nss Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
po
posix Fix and sort variables in Makefiles 2024-12-05 15:36:23 +08:00
resolv Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
resource
rt rt: more clock_nanosleep tests addendum 2024-10-08 14:30:21 -04:00
scripts Use Linux 6.12 in build-many-glibcs.py 2024-12-03 03:11:22 +00:00
setjmp
signal stdlib: Make abort/_Exit AS-safe (BZ 26275) 2024-10-08 14:40:12 -03:00
socket
soft-fp
stdio-common Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
stdlib math: Exclude internal math symbols for tests [BZ #32414] 2024-12-07 13:43:01 -08:00
string Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
sunrpc Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
support Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
sysdeps nptl: Add <thread_pointer.h> for RISC-V 2024-12-09 13:26:55 -05:00
sysvipc
termios
time Link tst-clock_gettime with $(librt) 2024-10-31 17:43:52 +00:00
timezone Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
wcsmbs Do not use -Wp to disable fortify (BZ 31928) 2024-10-01 08:44:40 -03:00
wctype Silence most -Wzero-as-null-pointer-constant diagnostics 2024-11-25 16:45:59 -03:00
.b4-config Add .b4-config file 2024-10-21 14:26:42 +01:00
.clang-format
.gitattributes
.gitignore
abi-tags
aclocal.m4
config.h.in arc: Remove HAVE_ARC_BE macro and disable big-endian port 2024-09-25 11:25:22 +02:00
config.make.in
configure Remove AC_SUBST(libc_cv_mtls_descriptor) 2024-12-06 17:42:06 +08:00
configure.ac Remove AC_SUBST(libc_cv_mtls_descriptor) 2024-12-06 17:42:06 +08:00
CONTRIBUTED-BY
COPYING
COPYING.LIB
extra-lib.mk
gen-locales.mk
INSTALL
libc-abis
libof-iterator.mk
LICENSES added license for sysdeps/ieee754/flt-32/e_gammaf_r.c 2024-11-04 08:55:07 +01:00
MAINTAINERS
Makeconfig Disable _TIME_BITS if the compiler defaults to it 2024-10-01 08:44:41 -03:00
Makefile
Makefile.help
Makefile.in
Makerules
NEWS Implement C23 tanpi 2024-12-05 21:42:10 +00:00
o-iterator.mk
README
Rules
SECURITY.md
SHARED-FILES math: Use tanf from CORE-MATH 2024-11-22 10:52:27 -03:00
shlib-versions
test-skeleton.c
version.h

This directory contains the sources of the GNU C Library.
See the file "version.h" for what release version you have.

The GNU C Library is the standard system C library for all GNU systems,
and is an important part of what makes up a GNU system.  It provides the
system API for all programs written in C and C-compatible languages such
as C++ and Objective C; the runtime facilities of other programming
languages use the C library to access the underlying operating system.

In GNU/Linux systems, the C library works with the Linux kernel to
implement the operating system behavior seen by user applications.
In GNU/Hurd systems, it works with a microkernel and Hurd servers.

The GNU C Library implements much of the POSIX.1 functionality in the
GNU/Hurd system, using configurations i[4567]86-*-gnu and x86_64-gnu.

When working with Linux kernels, this version of the GNU C Library
requires Linux kernel version 3.2 or later.

Also note that the shared version of the libgcc_s library must be
installed for the pthread library to work correctly.

The GNU C Library supports these configurations for using Linux kernels:

	aarch64*-*-linux-gnu
	alpha*-*-linux-gnu
	arc*-*-linux-gnu
	arm-*-linux-gnueabi
	csky-*-linux-gnuabiv2
	hppa-*-linux-gnu
	i[4567]86-*-linux-gnu
	x86_64-*-linux-gnu	Can build either x86_64 or x32
	loongarch64-*-linux-gnu Hardware floating point, LE only.
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-linux-gnu
	or1k-*-linux-gnu
	powerpc-*-linux-gnu	Hardware or software floating point, BE only.
	powerpc64*-*-linux-gnu	Big-endian and little-endian.
	s390-*-linux-gnu
	s390x-*-linux-gnu
	riscv32-*-linux-gnu
	riscv64-*-linux-gnu
	sh[34]-*-linux-gnu
	sparc*-*-linux-gnu
	sparc64*-*-linux-gnu

If you are interested in doing a port, please contact the glibc
maintainers; see https://www.gnu.org/software/libc/ for more
information.

See the file INSTALL to find out how to configure, build, and install
the GNU C Library.  You might also consider reading the WWW pages for
the C library at https://www.gnu.org/software/libc/.

The GNU C Library is (almost) completely documented by the Texinfo manual
found in the `manual/' subdirectory.  The manual is still being updated
and contains some known errors and omissions; we regret that we do not
have the resources to work on the manual as much as we would like.  For
corrections to the manual, please file a bug in the `manual' component,
following the bug-reporting instructions below.  Please be sure to check
the manual in the current development sources to see if your problem has
already been corrected.

Please see https://www.gnu.org/software/libc/bugs.html for bug reporting
information.  We are now using the Bugzilla system to track all bug reports.
This web page gives detailed information on how to report bugs properly.

The GNU C Library is free software.  See the file COPYING.LIB for copying
conditions, and LICENSES for notices about a few contributions that require
these additional notices to be distributed.  License copyright years may be
listed using range notation, e.g., 1996-2015, indicating that every year in
the range, inclusive, is a copyrightable year that would otherwise be listed
individually.