Go to file
Florian Weimer 10a66a8e42 Remove <libc-tsd.h>
Use __thread variables directly instead.  The macros do not save any
typing.  It seems unlikely that a future port will lack __thread
variable support.

Some of the __libc_tsd_* variables are referenced from assembler
files, so keep their names.  Previously, <libc-tls.h> included
<tls.h>, which in turn included <errno.h>, so a few direct includes
of <errno.h> are now required.

Reviewed-by: Frédéric Bérat <fberat@redhat.com>
2025-05-16 19:53:09 +02:00
ChangeLog.old
advisories
argp
assert
benchtests benchtest: malloc tcache hotpath benchtest 2025-05-15 13:13:00 +00:00
bits
catgets
conform conform: Add initial support for C23. 2025-04-10 18:39:05 +00:00
csu
ctype Remove <libc-tsd.h> 2025-05-16 19:53:09 +02:00
debug
dirent
dlfcn
elf malloc: Improve malloc initialization 2025-05-12 16:10:28 +00:00
gmon
gnulib
hesiod
htl
hurd hurd: save xstate during signal handling 2025-04-18 02:42:36 +02:00
iconv
iconvdata
include Remove <libc-tsd.h> 2025-05-16 19:53:09 +02:00
inet
intl
io
libio Add AT_* constants from Linux 6.12 2025-04-22 17:00:34 +00:00
locale Remove <libc-tsd.h> 2025-05-16 19:53:09 +02:00
localedata Correct spelling mistake in test file 2025-05-12 13:26:57 +02:00
login
mach
malloc malloc: Improve performance of __libc_calloc 2025-05-14 09:22:32 +00:00
manual manual: add sched_getcpu() 2025-05-16 13:16:08 -04:00
math Implement C23 rootn. 2025-05-14 10:51:46 +00:00
mathvec
misc
nis
nptl
nptl_db
nscd
nss nss: remove undefined behavior and optimize getaddrinfo 2025-05-06 13:31:59 -03:00
po
posix Fix spelling mistake "trucate" -> "truncate" 2025-04-14 10:12:50 -03:00
resolv
resource
rt
scripts
setjmp
signal
socket
soft-fp
stdio-common Remove <libc-tsd.h> 2025-05-16 19:53:09 +02:00
stdlib stdlib: Implement C2Y uabs, ulabs, ullabs and uimaxabs 2025-04-08 12:51:51 +00:00
string Remove <libc-tsd.h> 2025-05-16 19:53:09 +02:00
sunrpc Remove <libc-tsd.h> 2025-05-16 19:53:09 +02:00
support
sysdeps Remove <libc-tsd.h> 2025-05-16 19:53:09 +02:00
sysvipc
termios
time Remove <libc-tsd.h> 2025-05-16 19:53:09 +02:00
timezone timezone: Enhance tst-bz28707 diagnostics 2025-04-10 10:08:30 +02:00
wcsmbs
wctype
.b4-config
.clang-format
.gitattributes
.gitignore
CONTRIBUTED-BY
COPYING
COPYING.LIB
INSTALL powerpc64le: Remove configure check for objcopy >= 2.26. 2025-05-14 10:35:55 +02:00
LICENSES
MAINTAINERS
Makeconfig
Makefile
Makefile.help
Makefile.in
Makerules
NEWS Implement C23 rootn. 2025-05-14 10:51:46 +00:00
README
Rules Remove duplicates from binaries-shared-tests when creating make rules 2025-04-07 13:00:52 +02:00
SECURITY.md
SHARED-FILES
abi-tags
aclocal.m4
config.h.in
config.make.in
configure Raise the minimum binutils version to 2.39 2025-05-14 10:35:55 +02:00
configure.ac Raise the minimum binutils version to 2.39 2025-05-14 10:35:55 +02:00
extra-lib.mk
gen-locales.mk
libc-abis
libof-iterator.mk
o-iterator.mk
shlib-versions
test-skeleton.c
version.h

README

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.