Go to file
Adhemerval Zanella dd727ee173 x86: Fix bsearch for compiler that do not define __USE_EXTERN_INLINES
The bsearch is called early during process initialization on Intel
platform, before TCB has been set up; and if compiler does not
enable __extern_inline it might call the symbol which might use an
invalid thread-pointer.

Expand the bsearch implementation from stdlib-bsearch.h with a
different name.

Checked on x86_64-linux-gnu with Intel chip.
2024-04-18 16:27:11 -03:00
advisories Fix 'Reported-By' to use Camel Case for commit 6a98f4640e 2024-04-17 14:27:42 -03:00
argp argp: Expand argp_usage, _option_is_short, and _option_is_end 2024-04-17 16:12:10 -03:00
assert Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
benchtests bench-malloc-thread: Add libm for powf 2024-04-17 16:12:41 -03:00
bits Refer to C23 in place of C2X in glibc 2024-02-01 11:02:01 +00:00
catgets catgets: Remove catgets/config.h 2024-04-17 16:12:10 -03:00
ChangeLog.old Create ChangeLog.old/ChangeLog.28 2024-01-31 01:34:58 +01:00
conform conform: Do not use __SIG_ATOMIC_TYPE__ 2024-04-17 16:12:41 -03:00
csu csu: Reformat Makefile. 2024-02-25 13:38:16 -05:00
ctype ctype: Reformat Makefile. 2024-02-25 13:38:16 -05:00
debug Enable --enable-fortify-source with clang 2024-04-17 16:12:41 -03:00
dirent dirent: Reformat Makefile. 2024-02-25 13:38:16 -05:00
dlfcn dlfcn: Reformat Makefile. 2024-02-25 13:38:16 -05:00
elf Enable --enable-fortify-source with clang 2024-04-17 16:12:41 -03:00
gmon gmon: Remove ununsed LDFLAGS-tst-profile-stati 2024-04-17 16:12:41 -03:00
gnulib Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
hesiod hesiod: Reformat Makefile. 2024-02-25 13:38:16 -05:00
htl htl: Implement some support for TLS_DTV_AT_TP 2024-03-23 23:00:30 +01:00
hurd Suppress -Wmaybe-uninitialized only for gcc 2024-04-17 16:12:10 -03:00
iconv Suppress -Wmaybe-uninitialized only for gcc 2024-04-17 16:12:10 -03:00
iconvdata iconvdata: Remove use of GNU old-style field designator extension 2024-04-17 16:12:10 -03:00
include Enable --enable-fortify-source with clang 2024-04-17 16:12:41 -03:00
inet Suppress -Wmaybe-uninitialized only for gcc 2024-04-17 16:12:10 -03:00
intl intl: Use strcpy on _nl_make_l10nflist 2024-04-17 16:12:41 -03:00
io Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
libio Enable --enable-fortify-source with clang 2024-04-17 16:12:41 -03:00
locale locale: Fix implicit conversion on collate_finish 2024-04-17 16:12:10 -03:00
localedata localedata: Use hexadecimal character escape on tests 2024-04-17 16:12:41 -03:00
login Update copyright dates not handled by scripts/update-copyrights 2024-01-01 10:53:40 -08:00
mach mach: Drop some unnecessary vm_param.h includes 2024-01-03 21:59:54 +01:00
malloc malloc: Suppress clang warning on tst-aligned-alloc 2024-04-17 16:12:41 -03:00
manual aarch64: Enhanced CPU diagnostics for ld.so 2024-04-08 16:48:55 +02:00
math math: Remove _Static_assert that uses EXCEPTION_SET_FORCES_TRAP 2024-04-17 16:12:41 -03:00
mathvec Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
misc Enable --enable-fortify-source with clang 2024-04-17 16:12:41 -03:00
nis Suppress -Wmaybe-uninitialized only for gcc 2024-04-17 16:12:10 -03:00
nptl Undef attribute_relro on internal tests that include tls.h 2024-04-17 16:12:41 -03:00
nptl_db Suppress -Wmaybe-uninitialized only for gcc 2024-04-17 16:12:10 -03:00
nscd Update copyright dates not handled by scripts/update-copyrights 2024-01-01 10:53:40 -08:00
nss nss: Suppress nss_module.c warning on clang 2024-04-17 16:12:10 -03:00
po po: Update translations 2024-01-31 01:10:02 +01:00
posix posix: Remove the __strcpy_chk from glob tests 2024-04-17 16:12:41 -03:00
resolv resolve: Fix implicit conversion on tst-resolv-invalid-cname 2024-04-17 16:12:41 -03:00
resource Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
rt Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
scripts Only use -finput-charset=ascii iff compiler supports it 2024-04-17 16:12:41 -03:00
setjmp Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
signal Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
socket socket: Add new test for connect 2024-04-10 18:10:22 +02:00
soft-fp soft-fp: Add brain format support 2024-02-01 19:06:54 +01:00
stdio-common stdio: Fix clang warnings on tests 2024-04-17 16:12:41 -03:00
stdlib stdlib: Avoid internal definitions for tst-strtod5i 2024-04-17 16:12:40 -03:00
string Enable --enable-fortify-source with clang 2024-04-17 16:12:41 -03:00
sunrpc sunrpc: Suppress clang warning on struct cmessage 2024-04-17 16:12:10 -03:00
support support: Suppress clang warning on tst-timespec 2024-04-17 16:12:40 -03:00
sysdeps x86: Fix bsearch for compiler that do not define __USE_EXTERN_INLINES 2024-04-18 16:27:11 -03:00
sysvipc Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
termios Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
time Always define __USE_TIME_BITS64 when 64 bit time_t is used 2024-04-02 15:28:36 -03:00
timezone configure: Use -Wno-maybe-uninitialized iff compiler supports it 2024-04-17 16:12:10 -03:00
wcsmbs wcsmbs: Ensure wcstr worst-case linear execution time (BZ 23865) 2024-04-11 14:21:32 -03:00
wctype Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
.clang-format Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
.gitattributes Assume __NR_openat is always defined 2016-03-23 23:35:08 +01:00
.gitignore Add *.pyc to .gitignore 2015-05-18 15:26:26 +05:30
abi-tags Remove the bulk of the NaCl port. 2017-05-20 08:09:10 -04:00
aclocal.m4 i686: Do not build ifunc tests if compiler does not generate supported relocations 2024-04-17 16:12:41 -03:00
config.h.in x86_64: Provide __sfp_handle_exceptions if compiler does not 2024-04-17 16:13:57 -03:00
config.make.in crypt: Remove libcrypt support 2023-10-30 13:03:59 -03:00
configure i686: Do not build ifunc tests if compiler does not generate supported relocations 2024-04-17 16:12:41 -03:00
configure.ac i686: Do not build ifunc tests if compiler does not generate supported relocations 2024-04-17 16:12:41 -03:00
CONTRIBUTED-BY crypt: Remove libcrypt support 2023-10-30 13:03:59 -03:00
COPYING Update to latest versions of GPL-2.0 and LGPL-2.1 2013-09-09 12:52:48 +10:00
COPYING.LIB Update to latest versions of GPL-2.0 and LGPL-2.1 2013-09-09 12:52:48 +10:00
extra-lib.mk Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
gen-locales.mk Improve gen-locales.mk and gen-locale.sh to make test files with @ options work 2018-02-27 17:01:57 +01:00
INSTALL INSTALL, install.texi: minor updates, regenerate 2024-01-31 00:13:43 +01:00
libc-abis riscv: support GNU indirect function 2021-01-10 21:25:13 -05:00
libof-iterator.mk Rename cppflags-iterator.mk to libof-iterator.mk, remove extra-modules.mk. 2017-05-09 07:06:29 -04:00
LICENSES Relicense IBM portions of resolv/base64.c resolv/res_debug.c. 2024-01-26 13:33:36 -05:00
MAINTAINERS Add MAINTAINERS 2017-05-11 13:38:30 -04:00
Makeconfig Build glibc with -ftrapping-math 2024-04-17 16:12:41 -03:00
Makefile Only use -finput-charset=ascii iff compiler supports it 2024-04-17 16:12:41 -03:00
Makefile.help Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
Makefile.in New make target to only build benchmark binaries 2016-04-20 10:23:28 +05:30
Makerules Support compiling .S files with additional options 2024-02-25 09:22:40 -08:00
NEWS NEWS: Move enable_secure_tunable from 2.39 to 2.40. 2024-03-01 17:37:31 +00:00
o-iterator.mk
README Remove ia64-linux-gnu 2024-01-08 17:09:36 -03:00
Rules Only use -finput-charset=ascii iff compiler supports it 2024-04-17 16:12:41 -03:00
SECURITY.md Adapt the security policy for the security page 2023-12-05 09:15:10 -05:00
SHARED-FILES posix: Sync tempname with gnulib 2024-04-10 14:53:39 -03:00
shlib-versions crypt: Remove libcrypt support 2023-10-30 13:03:59 -03:00
test-skeleton.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
version.h Open master branch for glibc 2.40 development 2024-01-31 02:07:20 +01:00

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.