Go to file
Joseph Myers 0175c9e9be Declare most TS 18661-1 interfaces for C2X.
C2X adds the interfaces from TS 18661-1, and all except a handful in
Annex F are unconditionally visible in C2X rather than only visible
when __STDC_WANT_IEC_60559_BFP_EXT__ is defined.  This patch updates
glibc headers accordingly: most uses of __GLIBC_USE
(IEC_60559_BFP_EXT) are changed to a new __GLIBC_USE
(IEC_60559_BFP_EXT_C2X).  (Regarding totalorder and totalordermag, the
type-generic macros in tgmath.h will go away when the functions are
changed to take pointer arguments.)

	* bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): Update
	comment.
	(__GLIBC_USE_IEC_60559_BFP_EXT_C2X): New macro.
	* bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Change to
	[__GLIBC_USE (IEC_60559_BFP_EXT_C2X)].
	* include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
	* math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
	* math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
	* stdlib/bits/stdlib-ldbl.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* stdlib/stdint.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
	* stdlib/stdlib.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise.
	* sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/csky/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/m68k/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/microblaze/bits/fenv.h [__GLIBC_USE
	(IEC_60559_BFP_EXT)]: Likewise.
	* sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/riscv/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise.
	* math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]:
	Likewise, except for totalorder, totalordermag, getpayload,
	setpayload and setpayloadsig.
	* math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Likewise,
	except for totalorder and totalordermag.
2019-08-13 11:28:51 +00:00
argp
assert
benchtests
bits Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
catgets
ChangeLog.old
conform
crypt
csu
ctype
debug
dirent Linux: Move getdents64 to <dirent.h> 2019-07-29 21:02:46 +02:00
dlfcn
elf elf: Support elf/tst-dlopen-aout in more configurations 2019-08-12 17:59:13 +02:00
gmon
gnulib
grp
gshadow
hesiod
htl
hurd
iconv iconv: Revert steps array reference counting changes 2019-07-31 11:43:59 +02:00
iconvdata
include Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
inet
intl
io Add AT_RECURSIVE from Linux 5.2 to fcntl.h. 2019-08-06 21:17:59 +00:00
libio iconv: Revert steps array reference counting changes 2019-07-31 11:43:59 +02:00
locale locale/C-translit.h.in: Cyrillic -> ASCII transliteration [BZ #2872] 2019-07-20 21:49:38 +02:00
localedata Afar locales: Months and days updated from CLDR (bug 21897). 2019-07-17 11:58:21 +02:00
login login: Assume that _HAVE_UT_* constants are true 2019-08-13 12:09:32 +02:00
mach
malloc Add glibc.malloc.mxfast tunable 2019-08-09 14:04:03 -04:00
manual Add feature test macro _ISOC2X_SOURCE. 2019-08-13 11:26:00 +00:00
math Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
mathvec
misc
nis
nptl nptl: Use uintptr_t for address diagnostic in nptl/tst-pthread-getattr 2019-07-30 10:35:08 +02:00
nptl_db
nscd
nss
po Update translations. 2019-07-31 23:38:15 -04:00
posix
pwd
resolv
resource
rt
scripts build-many-glibcs.py: Use Linux 5.2 by default 2019-07-24 10:59:45 +02:00
setjmp
shadow
signal
socket
soft-fp
stdio-common
stdlib Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
string Declare memccpy, strdup, strndup for C2X. 2019-08-13 11:27:06 +00:00
sunrpc
support
sysdeps Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
sysvipc
termios
time
timezone
wcsmbs iconv: Revert steps array reference counting changes 2019-07-31 11:43:59 +02:00
wctype
.gitattributes
.gitignore
abi-tags
aclocal.m4
ChangeLog Declare most TS 18661-1 interfaces for C2X. 2019-08-13 11:28:51 +00:00
config.h.in
config.make.in
configure
configure.ac
COPYING
COPYING.LIB
extra-lib.mk
gen-locales.mk
INSTALL Update install and NEWS for 2.30 release. 2019-08-01 00:22:46 -04:00
libc-abis
libof-iterator.mk
LICENSES
MAINTAINERS
Makeconfig test-container: Install with $(sorted-subdirs) [BZ #24794] 2019-07-29 10:31:06 -03:00
Makefile test-container: Install with $(sorted-subdirs) [BZ #24794] 2019-07-29 10:31:06 -03:00
Makefile.in
Makerules
NEWS Add feature test macro _ISOC2X_SOURCE. 2019-08-13 11:26:00 +00:00
o-iterator.mk
README
Rules
shlib-versions
test-skeleton.c
version.h Open master for 2.31 development. 2019-08-01 00:41:53 -04: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.

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
	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
	ia64-*-linux-gnu
	m68k-*-linux-gnu
	microblaze*-*-linux-gnu
	mips-*-linux-gnu
	mips64-*-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
	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 http://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 http://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 http://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.