Go to file
H.J. Lu 494eb254c3 Add include/libc-misc.h
Add include/libc-misc.h to provide miscellaneous definitions for both
glibc build and test:

1. Move inhibit_stack_protector to libc-misc.h and add Clang support.
2. Add test_inhibit_stack_protector for glibc testing.
3. Move inhibit_loop_to_libcall to libc-misc.h.
4. Add test_cc_inhibit_loop_to_libcall to handle TEST_CC != CC and
replace inhibit_loop_to_libcall with test_cc_inhibit_loop_to_libcall
in glibc tests.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Co-Authored-By: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Sam James <sam@gentoo.org>
2024-12-22 13:03:46 +08:00
ChangeLog.old
advisories
argp
assert assert: Sort tests in Makefile 2024-12-22 05:55:39 +08:00
benchtests benchtests: Add tanhf benchmark 2024-12-18 17:24:42 -03:00
bits
catgets
conform conform: Use -dD instead of -dN on compiler invocation 2024-12-22 12:41:05 +08:00
csu
ctype
debug
dirent
dlfcn
elf Enable execstack tests only if compiler supports trampoline 2024-12-22 12:55:50 +08:00
gmon
gnulib
hesiod
htl htl: move pthread_sigmask into libc. 2024-12-14 23:13:14 +01:00
hurd
iconv iconv: do not report error exit with transliteration [BZ #32448] 2024-12-16 21:33:39 +01:00
iconvdata
include Add include/libc-misc.h 2024-12-22 13:03:46 +08:00
inet
intl
io Linux: Accept null arguments for utimensat pathname 2024-12-19 21:21:30 +01:00
libio ungetc: Guarantee single char pushback 2024-12-17 17:42:55 -05:00
locale
localedata localedata: Use hexadecimal character escape on tests 2024-12-22 13:01:08 +08:00
login
mach
malloc Hide all malloc functions from compiler [BZ #32366] 2024-12-17 20:51:08 +08:00
manual manual: Document more sigaction flags 2024-12-16 18:23:43 -05:00
math Add test-config-cflags-float-store for -ffloat-store 2024-12-22 13:02:30 +08:00
mathvec
misc tst-atomic.c: Mark as UNSUPPORTED when compiled with Clang 2024-12-22 12:56:49 +08:00
nis
nptl Enable execstack tests only if compiler supports trampoline 2024-12-22 12:55:50 +08:00
nptl_db
nscd
nss Use empty initializer to silence GCC 4.9 or older 2024-12-16 04:06:30 +08:00
po
posix Replace __strcpy_chk with __builtin___strcpy_chk 2024-12-18 09:32:38 +08:00
resolv tst-resolv-invalid-cname.c: Explicitly cast 192 and 168 to char 2024-12-18 01:25:55 +08:00
resource
rt Use empty initializer to silence GCC 4.9 or older 2024-12-16 04:06:30 +08:00
scripts Use -finput-charset=ascii only if supported 2024-12-22 12:42:02 +08:00
setjmp
signal tst-minsigstksz-1.c: Return EXIT_UNSUPPORTED for GCC 4.9 or older 2024-12-14 19:25:05 +08:00
socket
soft-fp
stdio-common stdio-common: Exclude bug28 when clang is used 2024-12-21 05:14:01 +08:00
stdlib posix: fix system when a child cannot be created [BZ #32450] 2024-12-20 22:57:06 +01:00
string Add include/libc-misc.h 2024-12-22 13:03:46 +08:00
sunrpc
support tst-timespec.c: Explicitly cast TIME_T_MAX to double 2024-12-18 01:26:52 +08:00
sysdeps x86: Include test-flt-eval-method-387 if -mfpmath=387 works 2024-12-22 12:54:44 +08:00
sysvipc
termios
time Use empty initializer to silence GCC 4.9 or older 2024-12-16 04:06:30 +08:00
timezone
wcsmbs
wctype
.b4-config
.clang-format
.gitattributes
.gitignore
CONTRIBUTED-BY
COPYING
COPYING.LIB
INSTALL
LICENSES added url of CORE-MATH project 2024-12-18 17:24:43 -03:00
MAINTAINERS
Makeconfig Don't use glibc <tgmath.h> when testing with Clang 2024-12-21 05:24:07 +08:00
Makefile Use -finput-charset=ascii only if supported 2024-12-22 12:42:02 +08:00
Makefile.help
Makefile.in Makefile.in: Add test to check xcheck rule 2024-12-14 19:18:38 +08:00
Makerules Remove Clang /usr/include/tgmath.h dependency 2024-12-22 12:50:53 +08:00
NEWS
README
Rules Use -finput-charset=ascii only if supported 2024-12-22 12:42:02 +08:00
SECURITY.md
SHARED-FILES math: Use tanhf from CORE-MATH 2024-12-18 17:24:43 -03:00
abi-tags
aclocal.m4 Use -finput-charset=ascii only if supported 2024-12-22 12:42:02 +08:00
config.h.in Add include/libc-misc.h 2024-12-22 13:03:46 +08:00
config.make.in
configure Add include/libc-misc.h 2024-12-22 13:03:46 +08:00
configure.ac Add include/libc-misc.h 2024-12-22 13:03:46 +08: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.