2012-06-30 15:27:06 +00:00
|
|
|
|
GNU C Library NEWS -- history of user-visible changes.
|
2017-01-01 00:14:16 +00:00
|
|
|
|
Copyright (C) 1992-2017 Free Software Foundation, Inc.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
See the end for copying conditions.
|
|
|
|
|
|
2012-12-06 15:32:46 +00:00
|
|
|
|
Please send GNU C library bug reports via <http://sourceware.org/bugzilla/>
|
2004-06-07 21:53:43 +00:00
|
|
|
|
using `glibc' in the "product" field.
|
2017-02-05 15:57:52 +00:00
|
|
|
|
|
|
|
|
|
Version 2.26
|
|
|
|
|
|
2017-02-21 11:30:38 +00:00
|
|
|
|
* Unicode 9.0.0 Support: Character encoding, character type info, and
|
|
|
|
|
transliteration tables are all updated to Unicode 9.0.0, using
|
|
|
|
|
generator scripts contributed by Mike FABIAN (Red Hat).
|
2017-02-05 15:57:52 +00:00
|
|
|
|
|
2017-03-11 10:36:58 +00:00
|
|
|
|
* The rpcgen, librpcsvc and related headers will only be built and
|
|
|
|
|
installed when glibc is configured with --enable-obsolete-rpc.
|
|
|
|
|
This allows alternative RPC implementations, like TIRPC, to be used
|
|
|
|
|
by default. Applications needing features missing from TIRPC should
|
|
|
|
|
consider the rpcsvc-proto project developed by Thorsten Kukuk (SUSE).
|
|
|
|
|
|
2017-03-21 14:14:27 +00:00
|
|
|
|
* The NIS(+) name service modules, libnss_nis, libnss_nisplus, and
|
|
|
|
|
libnss_compat, are deprecated, and will not be built or installed by
|
|
|
|
|
default. Replacement implementations based on TIRPC, which
|
|
|
|
|
additionally support IPv6, are available from
|
|
|
|
|
<https://github.com/thkukuk/libnss_{compat,nis,nisplus}>.
|
|
|
|
|
|
|
|
|
|
* The NIS(+) support library, libnsl, is deprecated. By default, a
|
|
|
|
|
compatibility shared library will be built and installed, but not
|
|
|
|
|
headers or development libraries.
|
|
|
|
|
|
|
|
|
|
Only a few NIS-related programs require this library.
|
|
|
|
|
A replacement implementation based on TIRPC is available from
|
|
|
|
|
<https://github.com/thkukuk/libnsl>. Like the replacement NIS(+)
|
|
|
|
|
name service modules, the replacement supports IPv6, and it can be
|
|
|
|
|
coinstalled with the compatibility shared library from glibc.
|
|
|
|
|
|
|
|
|
|
* New configure option --enable-obsolete-nsl will cause libnsl's
|
|
|
|
|
headers, and the NIS(+) name service modules, to be built and
|
|
|
|
|
installed. This option may be removed in a future release.
|
|
|
|
|
|
2017-03-23 01:27:30 +00:00
|
|
|
|
* Extensive new collation tests for Hungarian locales based on
|
|
|
|
|
"The Rules of Hungarian Orthography, 12th edition" and the work of
|
|
|
|
|
Egmont Koblinger (Bug 18934).
|
|
|
|
|
|
2017-04-13 11:22:51 +00:00
|
|
|
|
* The DNS stub resolver no longer performs EDNS fallback. If EDNS or DNSSEC
|
|
|
|
|
support is enabled, the configured recursive resolver must support EDNS.
|
|
|
|
|
(Responding to EDNS-enabled queries with responses which are not
|
|
|
|
|
EDNS-enabled is fine, but FORMERR responses are not.)
|
|
|
|
|
|
2017-04-07 11:01:21 +00:00
|
|
|
|
* res_mkquery and res_nmkquery no longer support the IQUERY opcode. DNS
|
|
|
|
|
servers have not supported this opcode for a long time.
|
|
|
|
|
|
2017-04-18 09:50:58 +00:00
|
|
|
|
* The legacy cfree function has been removed. Applications should use the
|
|
|
|
|
free function instead.
|
|
|
|
|
|
2017-04-21 13:40:56 +00:00
|
|
|
|
* posix_spawnattr_setflags now supports POSIX_SPAWN_SETSID flag to create a
|
|
|
|
|
new session ID for the posix_spawn and posix_spawnp. It is scheduled to
|
|
|
|
|
be added on next major revision of POSIX, so current support is enabled
|
|
|
|
|
with _GNU_SOURCE.
|
|
|
|
|
|
2017-05-08 10:45:20 +00:00
|
|
|
|
* The minimum Linux kernel version that this version of the GNU C Library
|
|
|
|
|
can be used with on i[4567]86 and x86_64 is 3.2. A Linux 3.2 or later
|
|
|
|
|
kernel was already required on all other architectures.
|
|
|
|
|
|
2017-05-08 12:59:21 +00:00
|
|
|
|
* The obsolete <sys/ultrasound.h> header file has been removed.
|
|
|
|
|
|
2017-02-05 15:57:52 +00:00
|
|
|
|
Security related changes:
|
|
|
|
|
|
2017-04-13 11:09:38 +00:00
|
|
|
|
* The DNS stub resolver limits the advertised UDP buffer size to 1200 bytes,
|
|
|
|
|
to avoid fragmentation-based spoofing attacks.
|
2017-02-05 15:57:52 +00:00
|
|
|
|
|
|
|
|
|
The following bugs are resolved with this release:
|
|
|
|
|
|
|
|
|
|
[The release manager will add the list generated by
|
|
|
|
|
scripts/list-fixed-bugs.py just before the release.]
|
|
|
|
|
|
2014-02-07 22:10:29 +00:00
|
|
|
|
|
2016-08-02 03:00:21 +00:00
|
|
|
|
Version 2.25
|
|
|
|
|
|
Support __STDC_WANT_LIB_EXT2__ feature test macro.
This patch implements support for the __STDC_WANT_LIB_EXT2__ feature
test macro from ISO/IEC TR 24731-2:2010, thereby implementing one
possible approach for supporting ISO C feature test macros.
Recall that, as described in
<https://sourceware.org/ml/libc-alpha/2016-05/msg00486.html>, these
macros work based on the definition when affected headers are
included, so cannot be handled once when the first system header is
included because that might not be one of the headers the particular
macro in question affects.
<https://sourceware.org/ml/libc-alpha/2016-05/msg00680.html> expresses
views on possible approaches for implementation and
<https://sourceware.org/ml/libc-alpha/2016-06/msg00039.html> follows
up on that.
This patch arranges things so that the relevant condition is
__GLIBC_USE (LIB_EXT2), following one of the suggestions given.
Headers using these macros include <bits/libc-header-start.h>, which
in turn includes <features.h>. Headers must define
__GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION before including
<bits/libc-header-start.h>, to discourage inclusion outside glibc as
requested. __USE_GNU conditions on affected functions are changed to
__GLIBC_USE (LIB_EXT2), while it's added as an additional alternative
on the conditions for functions already enabled for some POSIX
versions.
It would be possible to convert existing __USE_* conditionals to
__GLIBC_USE (with the relevant __GLIBC_USE_* being defined in
<features.h> where __USE_* are presently defined), and so make them
typo-proof (given -Wundef -Werror in glibc builds) because __GLIBC_USE
is used with #if not #ifdef / #if defined.
No attempt is made to enforce the rule about diagnosing different
definitions of __STDC_WANT_LIB_EXT2__ when affected headers are
included; such a diagnostic is incompatible with multiple-include
guards on the affected headers, unless compiler extensions are added
to support it.
As previously noted, glibc does not implement all features from TR
24731-2:2010: the functions aswprintf vaswprintf getwdelim getwline
are not in glibc, although they would be appropriate to add if someone
wished to do so. But I think it makes sense to support the feature
test macro if *any* of the controlled features are present in glibc.
Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).
* bits/libc-header-start.h: New file.
* Makefile (headers): Add bits/libc-header-start.h.
* include/features.h (__STDC_WANT_LIB_EXT2__): Document.
(__GLIBC_USE): New macro.
* libio/stdio.h: Define
__GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
<bits/libc-header-start.h> instead of including <features.h>.
(fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
(open_memstream): Likewise.
(vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
(__asprintf): Likewise.
(asprintf): Likewise.
(__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
(getdelim): Likewise.
(getline): Likewise.
* string/string.h: Define
__GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
<bits/libc-header-start.h> instead of including <features.h>.
(strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
(strndup): Likewise.
* wcsmbs/wchar.h: Define
__GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
<bits/libc-header-start.h> instead of including <features.h>.
(open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
* manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
2016-08-02 17:40:35 +00:00
|
|
|
|
* The feature test macro __STDC_WANT_LIB_EXT2__, from ISO/IEC TR
|
|
|
|
|
24731-2:2010, is supported to enable declarations of functions from that
|
|
|
|
|
TR. Note that not all functions from that TR are supported by the GNU C
|
|
|
|
|
Library.
|
2016-08-02 03:00:21 +00:00
|
|
|
|
|
2016-08-03 17:30:41 +00:00
|
|
|
|
* The feature test macro __STDC_WANT_IEC_60559_BFP_EXT__, from ISO/IEC TS
|
|
|
|
|
18661-1:2014, is supported to enable declarations of functions and macros
|
2016-12-22 00:04:58 +00:00
|
|
|
|
from that TS. Note that not all features from that TS are supported by
|
2016-08-03 17:30:41 +00:00
|
|
|
|
the GNU C Library.
|
|
|
|
|
|
2016-08-03 22:21:37 +00:00
|
|
|
|
* The feature test macro __STDC_WANT_IEC_60559_FUNCS_EXT__, from ISO/IEC TS
|
|
|
|
|
18661-4:2015, is supported to enable declarations of functions and macros
|
|
|
|
|
from that TS. Note that most features from that TS are not supported by
|
|
|
|
|
the GNU C Library.
|
|
|
|
|
|
Make _REENTRANT and _THREAD_SAFE aliases for _POSIX_C_SOURCE=199506L.
For many years, the only effect of these macros has been to make
unistd.h declare getlogin_r. _POSIX_C_SOURCE >= 199506L also causes
this function to be declared. However, people who don't carefully
read all the headers might be confused into thinking they need to
define _REENTRANT for any threaded code (as was indeed the case a long
time ago).
Therefore, remove __USE_REENTRANT, and make _REENTRANT and _THREAD_SAFE
into synonyms for _POSIX_C_SOURCE=199506L. This will only affect
programs that don't select a higher conformance level some other way.
For instance, -std=c89 -D_REENTRANT will see a change in visible
declarations, but -std=c99 -D_POSIX_C_SOURCE=200809L -D_REENTRANT won't,
and -D_REENTRANT all by itself also won't, because _DEFAULT_SOURCE
implies _POSIX_C_SOURCE > 199506.
* include/features.h: Remove __USE_REENTRANT. Treat _REENTRANT
and _THREAD_SAFE the same as _POSIX_C_SOURCE=199506L, if a higher
POSIX conformance level has not been selected by other macros.
* NEWS, manual/creature.texi: Document this change.
* posix/unistd.h, posix/bits/unistd.h: Don't check __USE_REENTRANT.
* include/libc-symbols.h: Don't define _REENTRANT.
* scripts/check-installed-headers.sh: Don't undefine _REENTRANT.
2016-12-06 15:14:42 +00:00
|
|
|
|
* The nonstandard feature selection macros _REENTRANT and _THREAD_SAFE are
|
|
|
|
|
now treated as compatibility synonyms for _POSIX_C_SOURCE=199506L.
|
|
|
|
|
Since the GNU C Library defaults to a much newer revision of POSIX, this
|
|
|
|
|
will only affect programs that specifically request an old conformance
|
|
|
|
|
mode. For instance, a program compiled with -std=c89 -D_REENTRANT will
|
|
|
|
|
see a change in the visible declarations, but a program compiled with
|
|
|
|
|
just -D_REENTRANT, or -std=c99 -D_POSIX_C_SOURCE=200809L -D_REENTRANT,
|
|
|
|
|
will not.
|
|
|
|
|
|
|
|
|
|
Some C libraries once required _REENTRANT and/or _THREAD_SAFE to be
|
|
|
|
|
defined by all multithreaded code, but glibc has not required this for
|
|
|
|
|
many years.
|
|
|
|
|
|
2016-05-10 15:07:42 +00:00
|
|
|
|
* The inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated. This
|
|
|
|
|
means that in a future release, the macros “major”, “minor”, and “makedev”
|
|
|
|
|
will only be available from <sys/sysmacros.h>.
|
|
|
|
|
|
|
|
|
|
These macros are not part of POSIX nor XSI, and their names frequently
|
|
|
|
|
collide with user code; see for instance glibc bug 19239 and Red Hat bug
|
|
|
|
|
130601. <stdlib.h> includes <sys/types.h> under _GNU_SOURCE, and C++ code
|
|
|
|
|
presently cannot avoid being compiled under _GNU_SOURCE, exacerbating the
|
|
|
|
|
problem.
|
|
|
|
|
|
Add femode_t functions.
TS 18661-1 defines a type femode_t to represent the set of dynamic
floating-point control modes (such as the rounding mode and trap
enablement modes), and functions fegetmode and fesetmode to manipulate
those modes (without affecting other state such as the raised
exception flags) and a corresponding macro FE_DFL_MODE.
This patch series implements those interfaces for glibc. This first
patch adds the architecture-independent pieces, the x86 and x86_64
implementations, and the <bits/fenv.h> and ABI baseline updates for
all architectures so glibc keeps building and passing the ABI tests on
all architectures. Subsequent patches add the fegetmode and fesetmode
implementations for other architectures.
femode_t is generally an integer type - the same type as fenv_t, or as
the single element of fenv_t where fenv_t is a structure containing a
single integer (or the single relevant element, where it has elements
for both status and control registers) - except where architecture
properties or consistency with the fenv_t implementation indicate
otherwise. FE_DFL_MODE follows FE_DFL_ENV in whether it's a magic
pointer value (-1 cast to const femode_t *), a value that can be
distinguished from valid pointers by its high bits but otherwise
contains a representation of the desired register contents, or a
pointer to a constant variable (the powerpc case; __fe_dfl_mode is
added as an exported constant object, an alias to __fe_dfl_env).
Note that where architectures (that share a register between control
and status bits) gain definitions of new floating-point control or
status bits in future, the implementations of fesetmode for those
architectures may need updating (depending on whether the new bits are
control or status bits and what the implementation does with
previously unknown bits), just like existing implementations of
<fenv.h> functions that take care not to touch reserved bits may need
updating when the set of reserved bits changes. (As any new bits are
outside the scope of ISO C, that's just a quality-of-implementation
issue for supporting them, not a conformance issue.)
As with fenv_t, femode_t should properly include any software DFP
rounding mode (and for both fenv_t and femode_t I'd consider that
fragment of DFP support appropriate for inclusion in glibc even in the
absence of the rest of libdfp; hardware DFP rounding modes should
already be included if the definitions of which bits are status /
control bits are correct).
Tested for x86_64, x86, mips64 (hard float, and soft float to test the
fallback version), arm (hard float) and powerpc (hard float, soft
float and e500). Other architecture versions are untested.
* math/fegetmode.c: New file.
* math/fesetmode.c: Likewise.
* sysdeps/i386/fpu/fegetmode.c: Likewise.
* sysdeps/i386/fpu/fesetmode.c: Likewise.
* sysdeps/x86_64/fpu/fegetmode.c: Likewise.
* sysdeps/x86_64/fpu/fesetmode.c: Likewise.
* math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
declaration.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
* bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
declaration.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(femode_t): New typedef.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
* manual/arith.texi (FE_DFL_MODE): Document macro.
(fegetmode): Document function.
(fesetmode): Likewise.
* math/Versions (fegetmode): New libm symbol at version
GLIBC_2.25.
(fesetmode): Likewise.
* math/Makefile (libm-support): Add fegetmode and fesetmode.
(tests): Add test-femode and test-femode-traps.
* math/test-femode-traps.c: New file.
* math/test-femode.c: Likewise.
* sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
alias for __fe_dfl_env.
* sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
* sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
(__fe_dfl_mode): Likewise.
* sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
version GLIBC_2.25.
* sysdeps/nacl/libm.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2016-09-07 16:40:09 +00:00
|
|
|
|
* New <fenv.h> features from TS 18661-1:2014 are added to libm: the
|
2016-12-16 18:03:25 +00:00
|
|
|
|
fesetexcept, fetestexceptflag, fegetmode and fesetmode functions, the
|
|
|
|
|
femode_t type and the FE_DFL_MODE and FE_SNANS_ALWAYS_SIGNAL macros.
|
Add fesetexcept.
TS 18661-1 defines an fesetexcept function for setting floating-point
exception flags without the side-effect of causing enabled traps to be
taken.
This patch series implements this function for glibc. The present
patch adds the fallback stub implementation, x86 and x86_64
implementations, documentation, tests and ABI baseline updates. The
remaining patches, some of them untested, add implementations for
other architectures. The implementations generally follow those of
the fesetexceptflag function.
As for fesetexceptflag, the approach taken for architectures where
setting flags causes enabled traps to be taken is to set the flags
(and potentially cause traps) rather than refusing to set the flags
and returning an error. Since ISO C and TS 18661 provide no way to
enable traps, this is formally in accordance with the standards.
The NEWS entry should be considered a placeholder, since this patch
series is intended to be followed by further such series adding other
TS 18661-1 features, so that the NEWS entry would end up looking more
like
* New <fenv.h> features from TS 18661-1:2014 are added to libm: the
fesetexcept, fetestexceptflag, fegetmode and fesetmode functions,
the femode_t type and the FE_DFL_MODE macro.
with hopefully more such entries for other features, rather than
having an entry for a single function in the end.
I believe we have consensus for adding TS 18661-1 interfaces as per
<https://sourceware.org/ml/libc-alpha/2016-06/msg00421.html>.
Tested for x86_64, x86, mips64 (hard float, and soft float to test the
fallback version), arm (hard float) and powerpc (hard float, soft
float and e500).
* math/fesetexcept.c: New file.
* sysdeps/i386/fpu/fesetexcept.c: Likewise.
* sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
* math/fenv.h: Define
__GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
<bits/libc-header-start.h> instead of including <features.h>.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
declaration.
* manual/arith.texi (fesetexcept): Document function.
* math/Versions (fesetexcept): New libm symbol at version
GLIBC_2.25.
* math/Makefile (libm-support): Add fesetexcept.
(tests): Add test-fesetexcept and test-fesetexcept-traps.
* math/test-fesetexcept.c: New file.
* math/test-fesetexcept-traps.c: Likewise.
* sysdeps/nacl/libm.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2016-08-16 16:16:10 +00:00
|
|
|
|
|
2016-09-19 12:25:36 +00:00
|
|
|
|
* Integer width macros from TS 18661-1:2014 are added to <limits.h>:
|
|
|
|
|
CHAR_WIDTH, SCHAR_WIDTH, UCHAR_WIDTH, SHRT_WIDTH, USHRT_WIDTH, INT_WIDTH,
|
2016-09-21 17:06:36 +00:00
|
|
|
|
UINT_WIDTH, LONG_WIDTH, ULONG_WIDTH, LLONG_WIDTH, ULLONG_WIDTH; and to
|
|
|
|
|
<stdint.h>: INT8_WIDTH, UINT8_WIDTH, INT16_WIDTH, UINT16_WIDTH,
|
|
|
|
|
INT32_WIDTH, UINT32_WIDTH, INT64_WIDTH, UINT64_WIDTH, INT_LEAST8_WIDTH,
|
|
|
|
|
UINT_LEAST8_WIDTH, INT_LEAST16_WIDTH, UINT_LEAST16_WIDTH,
|
|
|
|
|
INT_LEAST32_WIDTH, UINT_LEAST32_WIDTH, INT_LEAST64_WIDTH,
|
|
|
|
|
UINT_LEAST64_WIDTH, INT_FAST8_WIDTH, UINT_FAST8_WIDTH, INT_FAST16_WIDTH,
|
|
|
|
|
UINT_FAST16_WIDTH, INT_FAST32_WIDTH, UINT_FAST32_WIDTH, INT_FAST64_WIDTH,
|
|
|
|
|
UINT_FAST64_WIDTH, INTPTR_WIDTH, UINTPTR_WIDTH, INTMAX_WIDTH,
|
|
|
|
|
UINTMAX_WIDTH, PTRDIFF_WIDTH, SIG_ATOMIC_WIDTH, SIZE_WIDTH, WCHAR_WIDTH,
|
|
|
|
|
WINT_WIDTH.
|
2016-09-19 12:25:36 +00:00
|
|
|
|
|
2016-09-21 20:52:02 +00:00
|
|
|
|
* New <math.h> features are added from TS 18661-1:2014:
|
|
|
|
|
|
2016-10-28 21:15:26 +00:00
|
|
|
|
- Signaling NaN macros: SNANF, SNAN, SNANL.
|
|
|
|
|
|
Add fromfp functions.
TS 18661-1 defines fromfp functions (fromfp, fromfpx, ufromfp,
ufromfpx, and float and long double variants) to convert from
floating-point to an integer type with any signedness and any given
width up to that of intmax_t, in any of the five IEEE rounding modes
(the usual four for binary floating point, plus rounding to nearest
with ties rounding away from zero), with control of whether in-range
non-integer values should result in the "inexact" exception being
raised. This patch implements these functions for glibc.
These implementations are (apart from raising exceptions) pure integer
implementations; it's entirely possible optimized versions could be
devised for some architectures. A common math/fromfp.h header
provides various common helper code that can readily be shared between
the implementations for different types. For each type, the bulk of
the implementation is also shared between the four functions, with
wrappers that define UNSIGNED and INEXACT macros appropriately before
including the main implementation.
As the functions return intmax_t and uintmax_t without math.h being
allowed to expose those typedef names, they are declared using
__intmax_t and __uintmax_t as obtained from <bits/types.h>.
The FP_INT_* rounding direction macros are defined as ascending
integers in the order the names are listed in the TS; I see no
significant value in allowing architectures to vary the values of
them.
The libm-test machinery is duly adapted to handle unsigned int
arguments, and intmax_t and uintmax_t results. Because each test
input is generally tested for four functions, five rounding modes and
several different widths, the libm-test.inc additions are very large.
Thus, the diffs in the body of this message exclude the libm-test.inc
changes, with the full patch being attached gzipped. The bulk of the
new tests were generated (expanded from a test input plus rounding
results and information about where it lies in the relevant interval
between integers, to libm-test tests for all relevant combinations of
function, rounding direction and width) by a script that's included in
the patch as math/gen-fromfp-tests.py (input data
math/gen-fromfp-tests-inputs); as an ad hoc script that's not really
expected to be rerun, it's not very polished, but it's at least
plausibly useful for adding any further tests for these functions in
future. I may split the libm-test tests up by function in future (so
both libm-test.inc and auto-libm-test-out are split into separate
files, and the tests for each function are also built and run
separately), but not for 2.25.
For no obvious reason, adding tgmath tests for the new functions
resulted in -Wuninitialized errors from test-tgmath.c about the
variable i being used uninitialized. Those errors were correct - the
variable is read by the frexp version in test-tgmath.c (where real
frexp would write through that pointer instead of reading it) - but I
don't know why this patch would result in the pre-existing issue being
newly detected. The patch initializes the variable to avoid those
errors.
With these changes, glibc 2.25 should have all the library features
from TS 18661-1 other than the functions that round result to narrower
type (and constant rounding directions, but I'm considering those
mainly a compiler feature not a library one).
Tested for x86_64, x86, mips64 and powerpc.
* math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(fromfp): New declaration.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
* math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
* math/math.h: Include <bits/types.h>.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
constant and macro.
(FP_INT_DOWNWARD): Likewise.
(FP_INT_TOWARDZERO): Likewise.
(FP_INT_TONEARESTFROMZERO): Likewise.
(FP_INT_TONEAREST): Likewise.
* math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
(fromfpf): Likewise.
(fromfpl): Likewise.
(ufromfp): Likewise.
(ufromfpf): Likewise.
(ufromfpl): Likewise.
(fromfpx): Likewise.
(fromfpxf): Likewise.
(fromfpxl): Likewise.
(ufromfpx): Likewise.
(ufromfpxf): Likewise.
(ufromfpxl): Likewise.
* math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
s_fromfpxF and s_ufromfpxF.
* math/gen-fromfp-tests.py: New file.
* math/gen-fromfp-tests-inputs: Likewise.
* math/libm-test.inc: Include <stdint.h>
(check_intmax_t): New function.
(check_uintmax_t): Likewise.
(struct test_fiu_M_data): New type.
(struct test_fiu_U_data): Likewise.
(RUN_TEST_fiu_M): New macro.
(RUN_TEST_LOOP_fiu_M): Likewise.
(RUN_TEST_fiu_U): Likewise.
(RUN_TEST_LOOP_fiu_U): Likewise.
(fromfp_test_data): New array.
(fromfp_test): New function.
(fromfpx_test_data): New array.
(fromfpx_test): New function.
(ufromfp_test_data): New array.
(ufromfp_test): New function.
(ufromfpx_test_data): New array.
(ufromfpx_test): New function.
(main): Call fromfp_test, fromfpx_test, ufromfp_test and
ufromfpx_test.
* math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
characters.
* math/test-tgmath-ret.c: Include <stdint.h>.
(rm): New variable.
(width): Likewise.
(CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
called function.
(CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
CHECK_RET_CONST_TYPE.
(CHECK_RET_CONST_DOUBLE): Likewise.
(CHECK_RET_CONST_LDOUBLE): Likewise.
(CHECK_RET_CONST): Take extra arguments and pass them to calls
macros.
(fromfp): New CHECK_RET_CONST call.
(ufromfp): Likewise.
(fromfpx): Likewise.
(ufromfpx): Likewise.
(do_test): Call check_return_fromfp, check_return_ufromfp,
check_return_fromfpx and check_return_ufromfpx.
* math/test-tgmath.c: Include <stdint.h>
(NCALLS): Increase to 138.
(F(compile_test)): Initialize i. Call fromfp functions.
(F(fromfp)): New function.
(F(fromfpx)): Likewise.
(F(ufromfp)): Likewise.
(F(ufromfpx)): Likewise.
* manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
ufromfpxl.
* manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
ufromfp and ufromfpx.
* math/fromfp.h: New file.
* sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
* sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
* sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
* sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
* sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
* sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
* sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
* sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
* sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
* sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
ufromfp, fromfpx and ufromfpx.
(CFLAGS-nldbl-fromfp.c): New variable.
(CFLAGS-nldbl-fromfpx.c): Likewise.
(CFLAGS-nldbl-ufromfp.c): Likewise.
(CFLAGS-nldbl-ufromfpx.c): Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
* sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
* sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
* sysdeps/nacl/libm.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2016-12-31 00:40:59 +00:00
|
|
|
|
- Nearest integer functions: roundeven, roundevenf, roundevenl, fromfp,
|
|
|
|
|
fromfpf, fromfpl, ufromfp, ufromfpf, ufromfpl, fromfpx, fromfpxf,
|
|
|
|
|
fromfpxl, ufromfpx, ufromfpxf, ufromfpxl.
|
Add roundeven, roundevenf, roundevenl.
TS 18661-1 defines roundeven functions that round a floating-point
number to the nearest integer, in that floating-point type, with ties
rounding to even (whereas the round functions round ties away from
zero). As with other such functions, they raise no exceptions apart
from "invalid" for signaling NaNs. There was a previous user request
for this functionality in glibc in
<https://sourceware.org/ml/libc-help/2015-02/msg00005.html>.
This patch implements these functions for glibc. The implementations
use integer bit-manipulation (or roundeven on the high and low parts,
in the IBM long double case). It's possible that there may be faster
approaches on some architectures (in particular, on AArch64 the frintn
instruction should do exactly what's required); I'll leave it to
architecture maintainers or others interested to implement such
architecture-specific versions if desired. (Where architectures have
instructions to round to nearest integer in the current rounding mode,
implementations saving and restoring the rounding mode - and dealing
with exceptions if those instructions generate "inexact" - are also
possible, though their performance depends on the cost of manipulating
exceptions / rounding mode state.)
Tested for x86_64, x86, mips64 and powerpc.
* math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(roundeven): New declaration.
* math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
macro.
* math/Versions (roundeven): New libm symbol at version
GLIBC_2.25.
(roundevenf): Likewise.
(roundevenl): Likewise.
* math/Makefile (libm-calls): Add s_roundevenF.
* math/libm-test.inc (roundeven_test_data): New array.
(roundeven_test): New function.
(main): Call roundeven_test.
* math/test-tgmath.c (NCALLS): Increase to 134.
(F(compile_test)): Call roundeven.
(F(roundeven)): New function.
* manual/arith.texi (Rounding Functions): Document roundeven,
roundevenf and roundevenl.
* manual/libm-err-tab.pl (@all_functions): Add roundeven.
* include/math.h (roundeven): Use libm_hidden_proto.
* sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
* sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
* sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
roundeven.
(CFLAGS-nldbl-roundeven.c): New variable.
* sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
* sysdeps/nacl/libm.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2016-12-21 01:48:27 +00:00
|
|
|
|
|
Add llogb, llogbf, llogbl.
TS 18661-1 defines llogb functions that are like ilogb except that
they return long int instead of int. Corresponding FP_LLOGB* macros
are defined, whose values are required to have the obvious
correspondence to those of the FP_ILOGB* macros.
This patch implements these functions and macros for glibc. llogb
uses the type-generic infrastructure, with an implementation similar
to the wrapper for ilogb but with additional conversion from FP_ILOGB*
to FP_LLOGB*; this approach avoids needing to modify or duplicate any
of the architecture-specific ilogb implementations. Tests are also
based on those for ilogb.
Ideally the llogb functions would alias the ilogb ones when long is
32-bit, but such aliasing requires the associated header declarations
of the different-type alias to be hidden, typically by defining macros
before including the header (see e.g. how
sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c defines lround to
__hidden_lround before including <math.h>). The infrastructure for
type-generic function implementations does not support defining such
macros at present (since C code can't define a macro whose name is
determined by other macros). So this patch leaves them as separate
functions (similar to e.g. scalbln and scalbn being separate in such a
case as well), but with the remapping of FP_ILOGB* to FP_LLOGB*
conditioned out in the case where it would be the identity map.
Tested for x86_64, x86, mips64 and powerpc.
* math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
New declaration.
* math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
macro.
* math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
New macro.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
* math/Versions (llogb): New libm symbol at version GLIBC_2.25.
(llogbf): Likewise.
(llogbl): Likewise.
* math/Makefile (gen-libm-calls): Add w_llogbF.
(tests): Add test-fp-llogb-constants.
* math/w_llogb_template.c: New file. Based on
math/w_ilogb_template.c.
* math/libm-test.inc (llogb_test_data): New array.
(llogb_test): New function.
(main): Call llogb_test.
* math/test-fp-llogb-constants.c: New file. Based on
math/test-fp-ilogb-constants.c.
* math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
(do_test): Call check_return_llogb.
* math/test-tgmath.c (NCALLS): Increase to 126.
(F(compile_test)): Call llogb.
(F(llogb)): New function.
* manual/math.texi (Exponents and Logarithms): Document llogb,
llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
* manual/libm-err-tab.pl (@all_functions): Add llogb.
* sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
* sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
(CFLAGS-nldbl-llogb.c): New variable.
* sysdeps/nacl/libm.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2016-12-02 01:42:49 +00:00
|
|
|
|
- llogb functions: the llogb, llogbf and llogbl functions, and the
|
|
|
|
|
FP_LLOGB0 and FP_LLOGBNAN macros.
|
|
|
|
|
|
2016-12-20 00:46:53 +00:00
|
|
|
|
- Max-min magnitude functions: fmaxmag, fmaxmagf, fmaxmagl, fminmag,
|
|
|
|
|
fminmagf, fminmagl.
|
|
|
|
|
|
Add iseqsig.
TS 18661-1 adds an iseqsig type-generic comparison macro to <math.h>.
This macro is like the == operator except that unordered operands
result in the "invalid" exception and errno being set to EDOM.
This patch implements this macro for glibc. Given the need to set
errno, this is implemented with out-of-line functions __iseqsigf,
__iseqsig and __iseqsigl (of which the last only exists at all if long
double is ABI-distinct from double, so no function aliases or compat
support are needed). The present patch ignores excess precision
issues; I intend to deal with those in a followup patch. (Like
comparison operators, type-generic comparison macros should *not*
convert operands to their semantic types but should preserve excess
range and precision, meaning that for some argument types and values
of FLT_EVAL_METHOD, an underlying function should be called for a
wider type than that of the arguments.)
The underlying functions are implemented with the type-generic
template machinery. Comparing x <= y && x >= y is sufficient in ISO C
to achieve an equality comparison with "invalid" raised for unordered
operands (and the results of those two comparisons can also be used to
tell whether errno needs to be set). However, some architectures have
GCC bugs meaning that unordered comparison instructions are used
instead of ordered ones. Thus, a mechanism is provided for
architectures to use an explicit call to feraiseexcept to raise
exceptions if required. If your architecture has such a bug you
should add a fix-fp-int-compare-invalid.h header for it, with a
comment pointing to the relevant GCC bug report; if such a GCC bug is
fixed, that header's contents should have a __GNUC_PREREQ conditional
added so that the workaround can eventually be removed for that
architecture.
Tested for x86_64, x86, mips64, arm and powerpc.
* math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
macro.
* math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(__iseqsig): New declaration.
* math/s_iseqsig_template.c: New file.
* math/Versions (__iseqsigf): New libm symbol at version
GLIBC_2.25.
(__iseqsig): Likewise.
(__iseqsigl): Likewise.
* math/libm-test.inc (iseqsig_test_data): New array.
(iseqsig_test): New function.
(main): Call iseqsig_test.
* math/Makefile (gen-libm-calls): Add s_iseqsigF.
* manual/arith.texi (FP Comparison Functions): Document iseqsig.
* manual/libm-err-tab.pl: Update comment on interfaces without
ulps tabulated.
* sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
* sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
* sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
* sysdeps/nacl/libm.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2016-10-06 22:19:38 +00:00
|
|
|
|
- Comparison macros: iseqsig.
|
|
|
|
|
|
Add iscanonical.
TS 18661-1 adds an iscanonical classification macro to <math.h>.
The motivation for this is decimal floating-point, where some values
have both canonical and noncanonical encodings. For IEEE binary
interchange formats, all encodings are canonical. For x86/m68k
ldbl-96, and for ldbl-128ibm, there are encodings that do not
represent any valid value of the type; although formally iscanonical
does not need to handle trap representations (and so could just always
return 1), it seems useful, and in line with the description in the TS
of "representations that are extraneous to the floating-point model"
as being non-canonical (as well as "redundant representations of some
or all of its values"), for it to detect those representations and
return 0 for them.
This patch adds iscanonical to glibc. It goes in a header
<bits/iscanonical.h>, included under appropriate conditions in
<math.h>. The default header version just evaluates the argument
(converted to its semantic type, though current GCC will probably
discard that conversion and any exceptions resulting from it) and
returns 1. ldbl-96 and ldbl-128ibm then have versions of the header
that call a function __iscanonicall for long double (the sizeof-based
tests will of course need updating for float128 support, like other
such type-generic macro implementations). The ldbl-96 version of
__iscanonicall has appropriate conditionals to reflect the differences
in the m68k version of that format (where the high mantissa bit may be
either 0 or 1 when the exponent is 0 or 0x7fff). Corresponding tests
for those formats are added as well. Other architectures do not have
any new functions added because just returning 1 is correct for all
their floating-point formats.
Tested for x86_64, x86, mips64 (to test the default macro version) and
powerpc.
* math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
<bits/iscanonical.h>.
* bits/iscanonical.h: New file.
* math/s_iscanonicall.c: Likewise.
* math/Versions (__iscanonicall): New libm symbol at version
GLIBC_2.25.
* math/libm-test.inc (iscanonical_test_data): New array.
(iscanonical_test): New function.
(main): Call iscanonical_test.
* math/Makefile (headers): Add bits/iscanonical.h.
(type-ldouble-routines): Add s_iscanonicall.
* manual/arith.texi (Floating Point Classes): Document
iscanonical.
* manual/libm-err-tab.pl: Update comment on interfaces without
ulps tabulated.
* sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
* sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
Likewise.
* sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
test-iscanonical-ldbl-128ibm.
* sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
* sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
* sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
* sysdeps/ieee754/ldbl-96/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2016-09-30 00:24:19 +00:00
|
|
|
|
- Classification macros: iscanonical, issubnormal, iszero.
|
2016-09-21 20:52:02 +00:00
|
|
|
|
|
2016-10-15 00:36:48 +00:00
|
|
|
|
- Total order functions: totalorder, totalorderf, totalorderl,
|
|
|
|
|
totalordermag, totalordermagf, totalordermagl.
|
Add totalorder, totalorderf, totalorderl.
TS 18661-1 defines totalorder functions implementing the totalOrder
comparison operation from IEEE 754-2008. This patch implements these
functions for glibc, including the type-generic macro in <tgmath.h>.
(The totalordermag functions will be added in a separate patch.)
The description of the totalOrder operation is complicated. However,
for IEEE interchange binary formats and the preferred quiet NaN
convention, what that complicated description means is that you
interpret the representation as a sign-magnitude integer (with -0
coming before +0) and do a <= comparison on that interpretation. For
finite values and infinities the ordering of the sign-magnitude
integers is just the same as the ordering of floating-point values, so
this extends that to all representations. (Different representations
of the same floating-point value - which includes same quantum in the
decimal case - must still be considered equal by this operation, but
that issue doesn't arise for IEEE interchange binary formats.) So the
complications are:
* When MIPS quiet NaN conventions are in use, the representation of
NaNs needs adjusting before making such an integer comparison. This
patch does this adjustment only when both arguments are NaNs, as
there's no need for it if only one is a NaN, and as long as both are
NaNs you can just flip the relevant bits without any problems from
this turning a NaN into an infinity.
* For the m68k version of ldbl-96, where the high mantissa bit is
"don't care" for infinities and NaNs, representations where it
differs must compare the same. Note: although the testcase for this
compiles, I have not actually tested on m68k.
* For ldbl-128ibm, the low part must be ignored when the high part is
NaN, and low parts of +0 and -0 must be considered the same whatever
the high part.
The new tests in libm-test.inc are the first tests there specifying
particular payloads for input NaNs. Separate tests are also added for
the ldbl-96 and ldbl-128ibm special cases where there are different
representations of the same value that must compare equal (which can't
be covered in libm-test.inc as that only specifies values, not
representations).
Tested for x86_64, x86, mips64 and powerpc.
* math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(totalorder): New declaration.
* math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
New macro.
* math/Versions (totalorder): New libm symbol at version
GLIBC_2.25.
(totalorderf): Likewise.
(totalorderl): Likewise.
* math/Makefile (libm-calls): Add s_totalorderF.
* math/gen-libm-test.pl (parse_args): Escape quotes in test name
string.
* math/libm-test.inc (PAYLOAD_DIG): New macro.
(qnan_value_pl): Likewise.
(snan_value_pl): Likewise.
(qnan_value): Define using qnan_value_pl.
(snan_value): Define using snan_value_pl.
(struct test_ff_i_data): Add comment about which tests use this
structure.
(RUN_TEST_ff_b): New macro.
(RUN_TEST_LOOP_ff_b): Likewise.
(totalorder_test_data): New array.
(totalorder_test): New function.
(main): Call totalorder_test.
* math/test-tgmath.c (NCALLS): Increase to 122.
(F(compile_test)): Call totalorder.
(F(totalorder)): New function.
* manual/arith.texi (FP Comparison Functions): Document
totalorder, totalorderf and totalorderl.
* manual/libm-err-tab.pl: Update comment on interfaces without
ulps tabulated.
* sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
* sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
* sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
totalorder.
(CFLAGS-nldbl-totalorder.c): New variable.
* sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
file.
* sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
Add test-totalorderl-ldbl-128ibm.
* sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
* sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
test-totalorderl-ldbl-96.
* sysdeps/nacl/libm.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2016-10-12 01:20:30 +00:00
|
|
|
|
|
Add canonicalize, canonicalizef, canonicalizel.
TS 18661-1 defines canonicalize functions to produce a canonical
version of a floating-point representation. This patch implements
these functions for glibc.
As with the iscanonical macro, these functions are oriented to the
decimal floating-point case, where some values have both canonical and
noncanonical representations. However, the functions have a return
value that says whether they succeeded in storing a canonical result;
thus, they can fail for the case of an invalid representation (while
still not making any particular choice from among multiple equally
canonical valid representations of the same value). Since no
floating-point formats in glibc actually have noncanonical valid
representations, a type-generic implementation of these functions can
be used that expects iscanonical to return 0 only for invalid
representations. Now that iscanonical is used within libm.so,
libm_hidden_proto / libm_hidden_def are added for __iscanonicall.
The definition of these functions is intended to correspond to a
convertFormat operation to the same floating-point format. Thus, they
convert signaling NaNs to quiet NaNs, raising the "invalid" exception.
Such a conversion "should" produce "the canonical version of that
signaling NaN made quiet".
libm-test.inc is made to check NaN payloads for the output of these
functions, a new feature (at some point manipulation functions such as
fabs and copysign should have tests added that verify payload
preservation for them). As however some architectures may not follow
the recommended practice of preserving NaN payloads when converting a
signaling NaN to quiet, a new math-tests.h macro
SNAN_TESTS_PRESERVE_PAYLOAD is added, and defined to 0 for non-NAN2008
MIPS; any other architectures seeing test failures for lack of payload
preservation in this case should also define this macro to 0. (If any
cases arise where the sign isn't preserved either, those should have a
similar macro added.)
The ldbl-96 and ldbl-128ibm tests of iscanonical are renamed and
adapted to test canonicalizel as well on the same representations.
Tested for x86_64, x86, mips64 and powerpc.
* math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
(canonicalize): New declaration.
* math/Versions (canonicalize): New libm symbol at version
GLIBC_2.25.
(canonicalizef): Likewise.
(canonicalizel): Likewise.
* math/Makefile (gen-libm-calls): Add s_canonicalizeF.
* math/s_canonicalize_template.c: New file.
* math/libm-test.inc: Update comment on functions tested and
testing of NaN payloads.
(TEST_NAN_PAYLOAD): New macro.
(NO_TEST_INLINE): Update value.
(XFAIL_TEST): Likewise.
(ERRNO_UNCHANGED): Likewise.
(ERRNO_EDOM): Likewise.
(ERRNO_ERANGE): Likewise.
(IGNORE_RESULT): Likewise.
(NON_FINITE): Likewise.
(TEST_SNAN): Likewise.
(NO_TEST_MATHVEC): Likewise.
(TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
(check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
(struct test_Ffp_b1_data): New type.
(RUN_TEST_Ffp_b1): New macro.
(RUN_TEST_LOOP_Ffp_b1): Likewise.
(canonicalize_test_data): New array.
(canonicalize_test): New function.
(main): Call canonicalize_test.
* manual/arith.texi (FP Bit Twiddling): Document canonicalize,
canonicalizef and canonicalizel.
* manual/libm-err-tab.pl: Update comment on interfaces without
ulps tabulated.
* sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
* sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
canonicalize.
(CFLAGS-nldbl-canonicalize.c): New variable.
* sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
to ...
* sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
... here.
(do_test): Also test canonicalizel.
* sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
* sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
file.
* sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
Use libm_hidden_def.
* sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
* sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
(do_test): Also test canonicalizel.
* sysdeps/ieee754/ldbl-96/Makefile (tests): Change
test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
* sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
* sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
libm_hidden_def.
* sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
macro.
* sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
(SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
* sysdeps/nacl/libm.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2016-10-26 23:14:31 +00:00
|
|
|
|
- Canonicalize functions: canonicalize, canonicalizef, canonicalizel.
|
|
|
|
|
|
2016-11-19 00:16:28 +00:00
|
|
|
|
- NaN functions: getpayload, getpayloadf, getpayloadl, setpayload,
|
2016-11-24 23:56:48 +00:00
|
|
|
|
setpayloadf, setpayloadl, setpayloadsig, setpayloadsigf, setpayloadsigl.
|
2016-10-19 01:49:09 +00:00
|
|
|
|
|
2016-11-23 21:30:04 +00:00
|
|
|
|
* The functions strfromd, strfromf, and strfroml, from ISO/IEC TS 18661-1:2014,
|
|
|
|
|
are added to libc. They convert a floating-point number into string.
|
|
|
|
|
|
2016-12-26 09:09:10 +00:00
|
|
|
|
* Most of glibc can now be built with the stack smashing protector enabled.
|
|
|
|
|
It is recommended to build glibc with --enable-stack-protector=strong.
|
|
|
|
|
Implemented by Nick Alcock (Oracle).
|
|
|
|
|
|
New string function explicit_bzero (from OpenBSD).
explicit_bzero(s, n) is the same as memset(s, 0, n), except that the
compiler is not allowed to delete a call to explicit_bzero even if the
memory pointed to by 's' is dead after the call. Right now, this effect
is achieved externally by having explicit_bzero be a function whose
semantics are unknown to the compiler, and internally, with a no-op
asm statement that clobbers memory. This does mean that small
explicit_bzero operations cannot be expanded inline as small memset
operations can, but on the other hand, small memset operations do get
deleted by the compiler. Hopefully full compiler support for
explicit_bzero will happen relatively soon.
There are two new tests: test-explicit_bzero.c verifies the
visible semantics in the same way as the existing test-bzero.c,
and tst-xbzero-opt.c verifies the not-being-optimized-out property.
The latter is conceptually based on a test written by Matthew Dempsky
for the OpenBSD regression suite.
The crypt() implementation has an immediate use for this new feature.
We avoid having to add a GLIBC_PRIVATE alias for explicit_bzero
by running all of libcrypt's calls through the fortified variant,
__explicit_bzero_chk, which is in the impl namespace anyway. Currently
I'm not aware of anything in libc proper that needs this, but the
glue is all in place if it does become necessary. The legacy DES
implementation wasn't bothering to clear its buffers, so I added that,
mostly for consistency's sake.
* string/explicit_bzero.c: New routine.
* string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
* string/Makefile (routines, strop-tests, tests): Add them.
* string/test-memset.c: Add ifdeffage for testing explicit_bzero.
* string/string.h [__USE_MISC]: Declare explicit_bzero.
* debug/explicit_bzero_chk.c: New routine.
* debug/Makefile (routines): Add it.
* debug/tst-chk1.c: Test fortification of explicit_bzero.
* string/bits/string3.h: Fortify explicit_bzero.
* manual/string.texi: Document explicit_bzero.
* NEWS: Mention addition of explicit_bzero.
* crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
data before returning, using explicit_bzero.
* crypt/md5-crypt.c (__md5_crypt_r): Likewise.
* crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
* crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
* include/string.h: Redirect internal uses of explicit_bzero
to __explicit_bzero_chk[_internal].
* string/Versions [GLIBC_2.25]: Add explicit_bzero.
* debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
* sysdeps/arm/nacl/libc.abilist
* sysdeps/unix/sysv/linux/aarch64/libc.abilist
* sysdeps/unix/sysv/linux/alpha/libc.abilist
* sysdeps/unix/sysv/linux/arm/libc.abilist
* sysdeps/unix/sysv/linux/hppa/libc.abilist
* sysdeps/unix/sysv/linux/i386/libc.abilist
* sysdeps/unix/sysv/linux/ia64/libc.abilist
* sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
* sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
* sysdeps/unix/sysv/linux/microblaze/libc.abilist
* sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
* sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
* sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
* sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
* sysdeps/unix/sysv/linux/nios2/libc.abilist
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
* sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
* sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
* sysdeps/unix/sysv/linux/sh/libc.abilist
* sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
* sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
* sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
* sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
* sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
Add entries for explicit_bzero and __explicit_bzero_chk.
2016-09-15 11:29:44 +00:00
|
|
|
|
* The function explicit_bzero, from OpenBSD, has been added to libc. It is
|
|
|
|
|
intended to be used instead of memset() to erase sensitive data after use;
|
|
|
|
|
the compiler will not optimize out calls to explicit_bzero even if they
|
|
|
|
|
are "unnecessary" (in the sense that no _correct_ program can observe the
|
|
|
|
|
effects of the memory clear).
|
|
|
|
|
|
Fix default float_t definition (bug 20855).
The default (top-level) version of bits/mathdef.h defines float_t to
double. It is used on ColdFire, MicroBlaze, Nios II and SH3, all of
which define FLT_EVAL_METHOD to 0, so float_t should be float (and C11
requires a certain correspondence between these typedefs and
FLT_EVAL_METHOD values).
I proposed fixing this default in
<https://sourceware.org/ml/libc-alpha/2015-01/msg00499.html>, with no
objections from architecture maintainers, and this patch makes that
fix. As noted in the NEWS entry added, this might affect the ABIs of
non-glibc libraries (ImageMagick has been mentioned in gcc-patches
discussion of the S/390 case - which is unaffected by this patch), but
as noted in my previous message, affected libraries would have
problems with -mfpmath=sse anyway on 32-bit x86.
A (compilation) testcase is added to verify the required
correspondence of typedefs to FLT_EVAL_METHOD values. This test is
built with -fexcess-precision=standard to avoid any issues with GCC 7
on S/390 providing a more accurate FLT_EVAL_METHOD definition in the
default (no excess precision) mode. (This will also be usable to test
a fix for the recently reported bug about these typedefs on x86_64
-mfpmath=387, as architecture-specific tests can be added that
It is entirely possible that the fixed default makes some
architecture-specific versions of bits/mathdef.h semantically
equivalent to the default version and so no longer required. I don't
intend to investigate that separately from the refactoring I proposed
in <https://sourceware.org/ml/libc-alpha/2016-11/msg00745.html>, which
will create as few header variants as possible for each group of
definitions.
Tested (compilation only) with build-many-glibcs.py.
[BZ #20855]
* bits/mathdef.h (float_t): Define to float.
* math/test-flt-eval-method.c: New file.
* math/Makefile (tests): Add test-flt-eval-method.
(CFLAGS-test-flt-eval-method.c): New variable.
2016-11-23 00:28:30 +00:00
|
|
|
|
* On ColdFire, MicroBlaze, Nios II and SH3, the float_t type is now defined
|
|
|
|
|
to float instead of double. This does not affect the ABI of any libraries
|
|
|
|
|
that are part of the GNU C Library, but may affect the ABI of other
|
|
|
|
|
libraries that use this type in their interfaces.
|
|
|
|
|
|
2016-11-23 21:30:04 +00:00
|
|
|
|
* On x86_64, when compiling with -mfpmath=387 or -mfpmath=sse+387, the
|
|
|
|
|
float_t and double_t types are now defined to long double instead of float
|
|
|
|
|
and double. These options are not the default, and this does not affect
|
|
|
|
|
the ABI of any libraries that are part of the GNU C Library, but it may
|
|
|
|
|
affect the ABI of other libraries that use this type in their interfaces,
|
|
|
|
|
if they are compiled or used with those options.
|
2016-06-28 20:30:42 +00:00
|
|
|
|
|
2016-12-12 16:28:03 +00:00
|
|
|
|
* The getentropy and getrandom functions, and the <sys/random.h> header file
|
|
|
|
|
have been added.
|
|
|
|
|
|
2016-11-30 13:59:27 +00:00
|
|
|
|
* The buffer size for byte-oriented stdio streams is now limited to 8192
|
|
|
|
|
bytes by default. Previously, on Linux, the default buffer size on most
|
|
|
|
|
file systems was 4096 bytes (and thus remains unchanged), except on
|
|
|
|
|
network file systems, where the buffer size was unpredictable and could be
|
|
|
|
|
as large as several megabytes.
|
|
|
|
|
|
2016-09-01 13:53:13 +00:00
|
|
|
|
* The <sys/quota.h> header now includes the <linux/quota.h> header. Support
|
|
|
|
|
for the Linux quota interface which predates kernel version 2.4.22 has
|
|
|
|
|
been removed.
|
|
|
|
|
|
2016-10-26 11:28:28 +00:00
|
|
|
|
* The malloc_get_state and malloc_set_state functions have been removed.
|
|
|
|
|
Already-existing binaries that dynamically link to these functions will
|
|
|
|
|
get a hidden implementation in which malloc_get_state is a stub. As far
|
|
|
|
|
as we know, these functions are used only by GNU Emacs and this change
|
|
|
|
|
will not adversely affect already-built Emacs executables. Any undumped
|
|
|
|
|
Emacs executables, which normally exist only during an Emacs build, should
|
|
|
|
|
be rebuilt by re-running “./configure; make” in the Emacs build tree.
|
|
|
|
|
|
2016-10-07 11:55:47 +00:00
|
|
|
|
* The “ip6-dotint” and “no-ip6-dotint” resolver options, and the
|
|
|
|
|
corresponding RES_NOIP6DOTINT flag from <resolv.h> have been removed.
|
|
|
|
|
“no-ip6-dotint” had already been the default, and support for the
|
|
|
|
|
“ip6-dotint” option was removed from the Internet in 2006.
|
|
|
|
|
|
2017-01-14 11:07:41 +00:00
|
|
|
|
* The "ip6-bytestring" resolver option and the corresponding RES_USEBSTRING
|
2016-10-07 11:43:48 +00:00
|
|
|
|
flag from <resolv.h> have been removed. The option relied on a
|
|
|
|
|
backwards-incompatible DNS extension which was never deployed on the
|
|
|
|
|
Internet.
|
|
|
|
|
|
2016-12-31 18:08:39 +00:00
|
|
|
|
* The flags RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME, RES_KEEPTSIG,
|
|
|
|
|
RES_BLAST defined in the <resolv.h> header file have been deprecated.
|
|
|
|
|
They were already unimplemented.
|
2016-10-07 15:41:45 +00:00
|
|
|
|
|
2016-10-04 09:52:10 +00:00
|
|
|
|
* The "inet6" option in /etc/resolv.conf and the RES_USE_INET6 flag for
|
|
|
|
|
_res.flags are deprecated. The flag was standardized in RFC 2133, but
|
|
|
|
|
removed again from the IETF name lookup interface specification in RFC
|
|
|
|
|
2553. Applications should use getaddrinfo instead.
|
|
|
|
|
|
2016-09-21 14:08:31 +00:00
|
|
|
|
* DNSSEC-related declarations and definitions have been removed from the
|
|
|
|
|
<arpa/nameser.h> header file, and libresolv will no longer attempt to
|
|
|
|
|
decode the data part of DNSSEC record types. Previous versions of glibc
|
|
|
|
|
only implemented minimal support for the previous version of DNSSEC, which
|
|
|
|
|
is incompatible with the currently deployed version.
|
|
|
|
|
|
2016-09-21 14:27:14 +00:00
|
|
|
|
* The resource record type classification macros ns_t_qt_p, ns_t_mrr_p,
|
|
|
|
|
ns_t_rr_p, ns_t_udp_p, ns_t_xfr_p have been removed from the
|
|
|
|
|
<arpa/nameser.h> header file because the distinction between RR types and
|
|
|
|
|
meta-RR types is not officially standardized, subject to revision, and
|
|
|
|
|
thus not suitable for encoding in a macro.
|
|
|
|
|
|
2016-09-21 14:30:27 +00:00
|
|
|
|
* The types res_sendhookact, res_send_qhook, re_send_rhook, and the qhook
|
|
|
|
|
and rhook members of the res_state type in <resolv.h> have been removed.
|
|
|
|
|
The glibc stub resolver did not support these hooks, but the header file
|
|
|
|
|
did not reflect that.
|
|
|
|
|
|
2016-10-07 07:56:46 +00:00
|
|
|
|
* For multi-arch support it is recommended to use a GCC which has
|
|
|
|
|
been built with support for GNU indirect functions. This ensures
|
|
|
|
|
that correct debugging information is generated for functions
|
|
|
|
|
selected by IFUNC resolvers. This support can either be enabled by
|
|
|
|
|
configuring GCC with '--enable-gnu-indirect-function', or by
|
|
|
|
|
enabling it by default by setting 'default_gnu_indirect_function'
|
|
|
|
|
variable for a particular architecture in the GCC source file
|
|
|
|
|
'gcc/config.gcc'.
|
|
|
|
|
|
Add pretty printers for the NPTL lock types
This patch adds pretty printers for the following NPTL types:
- pthread_mutex_t
- pthread_mutexattr_t
- pthread_cond_t
- pthread_condattr_t
- pthread_rwlock_t
- pthread_rwlockattr_t
To load the pretty printers into your gdb session, do the following:
python
import sys
sys.path.insert(0, '/path/to/glibc/build/nptl/pretty-printers')
end
source /path/to/glibc/source/pretty-printers/nptl-printers.py
You can check which printers are registered and enabled by issuing the
'info pretty-printer' gdb command. Printers should trigger automatically when
trying to print a variable of one of the types mentioned above.
The printers are architecture-independent, and were tested on an AMD64 running
Ubuntu 14.04 and an x86 VM running Fedora 24.
In order to work, the printers need to know the values of various flags that
are scattered throughout pthread.h and pthreadP.h as enums and #defines. Since
replicating these constants in the printers file itself would create a
maintenance burden, I wrote a script called gen-py-const.awk that Makerules uses
to extract the constants. This script is pretty much the same as gen-as-const.awk,
except it doesn't cast the constant values to 'long' and is thorougly documented.
The constants need only to be enumerated in a .pysym file, which is then referenced
by a Make variable called gen-py-const-headers.
As for the install directory, I discussed this with Mike Frysinger and Siddhesh
Poyarekar, and we agreed that it can be handled in a separate patch, and shouldn't
block merging of this one.
In addition, I've written a series of test cases for the pretty printers.
Each lock type (mutex, condvar and rwlock) has two test programs, one for itself
and other for its related 'attributes' object. Each test program in turn has a
PExpect-based Python script that drives gdb and compares its output to the
expected printer's. The tests run on the glibc host, which is assumed to have
both gdb and PExpect; if either is absent the tests will fail with code 77
(UNSUPPORTED). For cross-testing you should use cross-test-ssh.sh as test-wrapper.
I've tested the printers on both native builds and a cross build using a Beaglebone
Black running Debian, with the build system's filesystem shared with the board
through NFS.
Finally, I've written a README that explains all this and more.
* INSTALL: Regenerated.
* Makeconfig: Add comments and whitespace to make the control flow
clearer.
(+link-printers-tests, +link-pie-printers-tests, CFLAGS-printers-tests,
installed-rtld-LDFLAGS, built-rtld-LDFLAGS, link-libc-rpath,
link-libc-tests-after-rpath-link, link-libc-printers-tests): New.
(rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
link-libc-tests): Use the new variables as required.
* Makerules ($(py-const)): New rule.
generated: Add $(py-const).
* README.pretty-printers: New file.
* Rules (tests-printers-programs, tests-printers-out, py-env): New.
(others): Depend on $(py-const).
(tests): Depend on $(tests-printers-programs) or $(tests-printers-out),
as required. Pass $(tests-printers) to merge-test-results.sh.
* manual/install.texi: Add requirements for testing the pretty printers.
* nptl/Makefile (gen-py-const-headers, pretty-printers, tests-printers,
CFLAGS-test-mutexattr-printers.c CFLAGS-test-mutex-printers.c,
CFLAGS-test-condattr-printers.c, CFLAGS-test-cond-printers.c,
CFLAGS-test-rwlockattr-printers.c CFLAGS-test-rwlock-printers.c,
tests-printers-libs): Define.
* nptl/nptl-printers.py: New file.
* nptl/nptl_lock_constants.pysym: Likewise.
* nptl/test-cond-printers.c: Likewise.
* nptl/test-cond-printers.py: Likewise.
* nptl/test-condattr-printers.c: Likewise.
* nptl/test-condattr-printers.py: Likewise.
* nptl/test-mutex-printers.c: Likewise.
* nptl/test-mutex-printers.py: Likewise.
* nptl/test-mutexattr-printers.c: Likewise.
* nptl/test-mutexattr-printers.py: Likewise.
* nptl/test-rwlock-printers.c: Likewise.
* nptl/test-rwlock-printers.py: Likewise.
* nptl/test-rwlockattr-printers.c: Likewise.
* nptl/test-rwlockattr-printers.py: Likewise.
* scripts/gen-py-const.awk: Likewise.
* scripts/test_printers_common.py: Likewise.
* scripts/test_printers_exceptions.py: Likewise.
2016-12-08 13:29:02 +00:00
|
|
|
|
* GDB pretty printers have been added for mutex and condition variable
|
|
|
|
|
structures in POSIX Threads. When installed and loaded in gdb these pretty
|
|
|
|
|
printers show various pthread variables in human-readable form when read
|
|
|
|
|
using the 'print' or 'display' commands in gdb.
|
|
|
|
|
|
2016-12-31 18:12:48 +00:00
|
|
|
|
* Tunables feature added to allow tweaking of the runtime for an application
|
|
|
|
|
program. This feature can be enabled with the '--enable-tunables' configure
|
|
|
|
|
flag. The GNU C Library manual has details on usage and README.tunables has
|
|
|
|
|
instructions on adding new tunables to the library.
|
|
|
|
|
|
2017-02-05 13:06:06 +00:00
|
|
|
|
* A new version of condition variables functions have been implemented in
|
|
|
|
|
the NPTL implementation of POSIX Threads to provide stronger ordering
|
|
|
|
|
guarantees.
|
|
|
|
|
|
|
|
|
|
* A new version of pthread_rwlock functions have been implemented to use a more
|
|
|
|
|
scalable algorithm primarily through not using a critical section anymore to
|
|
|
|
|
make state changes.
|
|
|
|
|
|
2016-08-02 03:00:21 +00:00
|
|
|
|
Security related changes:
|
|
|
|
|
|
2016-12-31 19:22:09 +00:00
|
|
|
|
* On ARM EABI (32-bit), generating a backtrace for execution contexts which
|
2016-08-16 09:15:09 +00:00
|
|
|
|
have been created with makecontext could fail to terminate due to a
|
|
|
|
|
missing .cantunwind annotation. This has been observed to lead to a hang
|
|
|
|
|
(denial of service) in some Go applications compiled with gccgo. Reported
|
2016-08-16 09:18:06 +00:00
|
|
|
|
by Andreas Schwab. (CVE-2016-6323)
|
2016-08-02 03:00:21 +00:00
|
|
|
|
|
2016-12-31 19:22:09 +00:00
|
|
|
|
* The DNS stub resolver functions would crash due to a NULL pointer
|
|
|
|
|
dereference when processing a query with a valid DNS question type which
|
|
|
|
|
was used internally in the implementation. The stub resolver now uses a
|
|
|
|
|
question type which is outside the range of valid question type values.
|
|
|
|
|
(CVE-2015-5180)
|
|
|
|
|
|
2016-08-02 03:00:21 +00:00
|
|
|
|
The following bugs are resolved with this release:
|
|
|
|
|
|
2017-02-05 13:15:21 +00:00
|
|
|
|
[4099] stdio: Overly agressive caching by stream i/o functions.
|
|
|
|
|
[7065] build: Support building glibc with -fstack-protector or -fstack-
|
|
|
|
|
protector-all
|
|
|
|
|
[9842] localedata: en_CA: incorrect date format
|
|
|
|
|
[13165] nptl: pthread_cond_wait() can consume a signal that was sent
|
|
|
|
|
before it started waiting
|
|
|
|
|
[14139] manual: Do not hardcode platform names in manual/libm-err-tab.pl
|
|
|
|
|
[15765] nptl: sem_open is wrongly a cancellation point
|
|
|
|
|
[16421] network: IN6_IS_ADDR_UNSPECIFIED can use undefined s6_addr32
|
|
|
|
|
[16458] libc: endian.h and netinet/in.h byte order macros return values of
|
|
|
|
|
wrong type
|
|
|
|
|
[16628] dynamic-link: Segfault after a binary without pthread dlopen()s a
|
|
|
|
|
library linked with pthread
|
|
|
|
|
[16630] nptl: Use SYSENTER for pthread_cond_broadcast/signal() (i.e. fix
|
|
|
|
|
"FIXME: Ingo" issue)
|
|
|
|
|
[16907] libc: <argp.h> compiled with --std=cXX disables __attribute__
|
|
|
|
|
[17252] libc: getrandom and getentropy syscall
|
|
|
|
|
[17730] malloc: thread-local storage is sometimes improperly free()'d
|
|
|
|
|
after being __libc_memalign()'d
|
|
|
|
|
[18241] stdio: failed fseek on memstream does not set errno and can fail
|
|
|
|
|
when it shouldnt
|
|
|
|
|
[18243] nptl: sem_wait, sem_timedwait are cancellation points shm_open is
|
|
|
|
|
not
|
|
|
|
|
[18463] nptl: pthread_cond_broadcast issue when surrounded by
|
|
|
|
|
PTHREAD_PRIO_INHERIT mutex on ARM
|
|
|
|
|
[18784] network: res_query and related function crash for special record
|
|
|
|
|
type queries (CVE-2015-5180)
|
|
|
|
|
[19380] math: strtod does not raise "inexact"
|
|
|
|
|
[19387] string: Integer overflow in memchr
|
|
|
|
|
[19390] string: Integer overflow in strncat
|
|
|
|
|
[19398] build: linknamespace tests fail with massively parallel build
|
|
|
|
|
[19402] nptl: Deadlock with robust shared mutex and asynchronous
|
|
|
|
|
termination
|
|
|
|
|
[19469] malloc: M_PERTURB in test-skeleton.c invalidates malloc tests
|
|
|
|
|
[19473] malloc: Turn malloc_get_state etc. in compatibility symbols
|
|
|
|
|
[19514] libc: [PATCH] Fix spelling errors in spelling
|
|
|
|
|
"implement"/"implementation" in several places
|
|
|
|
|
[19582] network: Deprecate RES_USE_INET6
|
|
|
|
|
[19673] manual: clog10 docs appear to be erroneous
|
|
|
|
|
[19810] dynamic-link: dlopen with both RTLD_NOLOAD and RTLD_NODELETE
|
|
|
|
|
causes a segmentation fault
|
|
|
|
|
[19826] libc: invalid pointer returned from __tls_get_addr with static
|
|
|
|
|
linking
|
|
|
|
|
[20016] network: resolv: Remove hooks support from the API
|
|
|
|
|
[20019] dynamic-link: NULL pointer dereference in libc.so.6 IFUNC due to
|
|
|
|
|
uninitialized GOT
|
|
|
|
|
[20033] math: [x86_64] vectorized math function don't call the __finite
|
|
|
|
|
versions
|
|
|
|
|
[20116] nptl: use after free in pthread_create
|
|
|
|
|
[20181] stdio: open_memstream(): writes not at end of stream corrupt data
|
|
|
|
|
[20292] dynamic-link: Comparison in elf/dl-open.c _dl_addr_inside_object
|
|
|
|
|
is always true.
|
|
|
|
|
[20311] nptl: please install proc_service.h
|
|
|
|
|
[20366] libc: Compilation errors in installed headers in strict-compliance
|
|
|
|
|
modes
|
|
|
|
|
[20370] malloc: malloc: Arena free list management is still racy
|
|
|
|
|
(incorrect fix in bug 19243)
|
|
|
|
|
[20386] libc: assert (X = 0) does not result in GCC warning
|
|
|
|
|
[20432] malloc: malloc: Minimize interface required for interposition
|
|
|
|
|
[20435] libc: Missing unwind info in __startcontext causes infinite loop
|
|
|
|
|
in _Unwind_Backtrace (CVE-2016-6323)
|
|
|
|
|
[20444] hurd: recvmsg: PF_LOCAL sockets and msg_name lead to SIGLOST
|
|
|
|
|
[20452] nptl: Addition of sysdep.o to libpthread.a breaks relinking
|
|
|
|
|
libpthread.a
|
|
|
|
|
[20455] math: [powerpc] fesetexceptflag fails to clear FE_INVALID
|
|
|
|
|
[20459] localedata: et_EE: locale has wrong {p,n}_cs_precedes value
|
|
|
|
|
[20477] network: resolv: incorrect double-checked locking related to
|
|
|
|
|
_res_hconf
|
|
|
|
|
[20478] libc: libc_ifunc macro and similar usages leads to false debug-
|
|
|
|
|
information.
|
|
|
|
|
[20495] math: x86_64 performance degradation due to AVX/SSE transition
|
|
|
|
|
penalty
|
|
|
|
|
[20497] localedata: lt_LT: LC_TIME d_fmt used is obsolete
|
|
|
|
|
[20508] dynamic-link: _dl_runtime_resolve_avx/_dl_runtime_profile_avx512
|
|
|
|
|
cause transition penalty
|
|
|
|
|
[20517] math: sparcv9 missing fdiml compat symbol
|
|
|
|
|
[20524] manual: strverscmp is inconsistent
|
|
|
|
|
[20525] libc: <sys/quota.h> should be based on kernel headers
|
|
|
|
|
[20539] math: GCC 7 -static -lm fails to link at -O3
|
|
|
|
|
[20554] libc: ld: bss-plt forced due to /usr/lib/libc_nonshared.a(ppc-
|
|
|
|
|
mcount.oS)
|
|
|
|
|
[20558] string: POSIX bcopy/bzero decls do not implement Object Size
|
|
|
|
|
Checking
|
|
|
|
|
[20591] network: Remove obsolete DNSSEC support
|
|
|
|
|
[20592] network: DNS resource record type classification macros in
|
|
|
|
|
<arpa/nameser.h> are incorrect
|
|
|
|
|
[20593] network: Update DNS RR type definitions
|
|
|
|
|
[20611] network: getaddrinfo accepts invalid numeric scope IDs
|
|
|
|
|
[20615] build: glibc build fails when using --with-cpu=power9 --enable-
|
|
|
|
|
multi-arch
|
|
|
|
|
[20629] network: libresolv: Remove support for bitstring labels
|
|
|
|
|
(RES_USEBSTRING)
|
|
|
|
|
[20647] libc: GLIBC quitting every program - glibc on Pentium-S leads to
|
|
|
|
|
assertion: "maxidx >= 2"
|
|
|
|
|
[20660] math: [arm] Use VSQRT
|
|
|
|
|
[20662] libc: checking whether x86_64-pc-linux-gnu-gcc implicitly enables
|
|
|
|
|
-fstack-protector no (32bit gcc 6.2.0 pie and ssp enable)
|
|
|
|
|
[20689] libc: Test for FMA should also check for AVX.
|
|
|
|
|
[20707] glob: gl_pathv entries not set to NULL with GLOB_DOOFFS
|
|
|
|
|
[20715] math: iszero macro breaks existing code
|
|
|
|
|
[20718] math: [powerpc] copysignl raises "invalid" for sNaN
|
|
|
|
|
[20728] libc: powerpc: Missing TOC stub in clone
|
|
|
|
|
[20729] build: glibc-2.24 fails to build for i486 with -Os
|
|
|
|
|
[20750] build: Build fails with default PIE enabled gcc-6.x
|
|
|
|
|
[20768] math: [alpha] sqrt fegetenv namespace
|
|
|
|
|
[20785] libc: binutils 2.28 fails to assemble power6/memset.S file in
|
|
|
|
|
glibc
|
|
|
|
|
[20787] math: float_t is defined as float incorrectly on x86_64 even if
|
|
|
|
|
__FLT_EVAL_METHOD__ is 2
|
|
|
|
|
[20790] network: rpcgen buffer overrun in get_prog_declaration
|
|
|
|
|
[20822] nptl: race condition in __lll_unlock_elision on powerpc
|
|
|
|
|
[20829] libc: crypt snprintf namespace
|
|
|
|
|
[20847] libc: tst-vfork3 failure
|
|
|
|
|
[20855] math: Default bits/mathdef.h has inappropriate float_t
|
|
|
|
|
[20859] math: [sh4] FP_ILOGB0 invalid
|
|
|
|
|
[20864] localedata: iconv: cp936 missing single-byte euro sign (0x80,
|
|
|
|
|
U+20AC), not same as GBK
|
|
|
|
|
[20915] dynamic-link: global-dynamic TLS broken on aarch64
|
|
|
|
|
[20916] math: pow handling of sNaN arguments
|
|
|
|
|
[20918] build: Building with --enable-nss-crypt fails tst-linkall-static.
|
|
|
|
|
[20919] math: Bad pow (qNaN, 0) result with -lieee
|
|
|
|
|
[20940] math: hypot sNaN handling
|
|
|
|
|
[20947] math: fmax, fmin sNaN handling
|
|
|
|
|
[20956] libc: debug/tst-backtrace3-6 don't work with -O3 anymore
|
|
|
|
|
[20964] network: sunrpc: Stack-based buffer overflow in getrpcport with
|
|
|
|
|
RES_USE_INET6
|
|
|
|
|
[20971] string: powerpc64/power7 memchr overflows internal pointer check
|
|
|
|
|
[20973] nptl: robust mutexes: Lost wake-ups
|
|
|
|
|
[20974] locale: bs_BA: yesexpr/noexpr regexes accept any character
|
|
|
|
|
[20978] nis: strlen on null pointer in nss_nisplus
|
|
|
|
|
[20985] nptl: robust mutexes: lowlevelrobustlock assembly on x86 blocks on
|
|
|
|
|
wrong condition
|
|
|
|
|
[21014] string: i686 memchr overflows internal pointer check
|
|
|
|
|
[21019] libc: [mips] n32 lseek incorrect on overflow
|
|
|
|
|
[21022] libc: [microblaze] __backtrace get_frame_size namespace
|
|
|
|
|
[21026] libc: [MIPS] readahead syscall is broken on n64
|
|
|
|
|
[21028] math: Fallback fesetexceptflag should always succeed
|
|
|
|
|
[21045] libc: [powerpc-nofpu] swapcontext does not restore signal mask
|
|
|
|
|
[21047] math: arm: fpu_control.h: _FPU_GETCW/_FPU_SETCW is rejected by
|
|
|
|
|
clang
|
|
|
|
|
[21053] libc: [SH] Namespace pollution from sys/ucontext.h
|
|
|
|
|
[21061] librt: [microblaze] librt lost clock_* exports
|
|
|
|
|
[21073] libc: tunables: insecure environment variables passed to
|
|
|
|
|
subprocesses with AT_SECURE
|
|
|
|
|
[21081] string: Missing vzeroupper in memset-vec-unaligned-erms.S
|
2016-08-02 03:00:21 +00:00
|
|
|
|
|
2016-02-19 17:29:53 +00:00
|
|
|
|
Version 2.24
|
|
|
|
|
|
Require Linux 3.2 except on x86 / x86_64, 3.2 headers everywhere.
In <https://sourceware.org/ml/libc-alpha/2016-01/msg00885.html> I
proposed a minimum Linux kernel version of 3.2 for glibc 2.24, since
Linux 2.6.32 has reached EOL.
In the discussion in February, some concerns were expressed about
compatibility with OpenVZ containers. It's not clear that these are
real issues, given OpenVZ backporting kernel features and faking the
kernel version for guest software, as discussed in
<https://sourceware.org/ml/libc-alpha/2016-02/msg00278.html>. It's
also not clear that supporting running GNU/Linux distributions from
late 2016 (at the earliest) on a kernel series from 2009 is a sensible
expectation. However, as an interim step, this patch increases the
requirement everywhere except x86 / x86_64 (since the controversy was
only about those architectures); the special caveats and settings can
easily be removed later when we're ready to increase the requirements
on x86 / x86_64 (and if someone would like to raise the issue on LWN
as suggested in the previous discussion, that would be welcome). 3.2
kernel headers are required everywhere by this patch.
(x32 already requires 3.4 or later, so is unaffected by this patch.)
As usual for such a change, this patch only changes the configure
scripts and associated documentation. The intent is to follow up with
removal of dead __LINUX_KERNEL_VERSION conditionals. Each __ASSUME_*
or other macro that becomes dead can then be removed independently.
Tested for x86_64 and x86.
* sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
Define to 3.2.0.
(arch_minimum_kernel): Likewise.
* sysdeps/unix/sysv/linux/configure: Regenerated.
* sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
Define to 2.6.32.
* sysdeps/unix/sysv/linux/i386/configure: Regenerated.
* sysdeps/unix/sysv/linux/x86_64/64/configure.ac
(arch_minimum_kernel): Define to 2.6.32.
* sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
* README: Document Linux 3.2 requirement.
* manual/install.texi (Linux): Document Linux 3.2 headers
requirement.
* INSTALL: Regenerated.
2016-02-24 17:15:12 +00:00
|
|
|
|
* The minimum Linux kernel version that this version of the GNU C Library
|
|
|
|
|
can be used with is 3.2, except on i[4567]86 and x86_64, where Linux
|
|
|
|
|
kernel version 2.6.32 or later suffices (on architectures that already
|
|
|
|
|
required kernel versions more recent than 3.2, those requirements remain
|
|
|
|
|
unchanged). Linux 3.2 or later kernel headers are required on all
|
|
|
|
|
architectures.
|
|
|
|
|
|
2016-02-19 06:49:29 +00:00
|
|
|
|
* The pap_AN locale has been deleted. This has been deprecated for a long
|
|
|
|
|
time. It has been replaced by pap_AW & pap_CW, both of which have long
|
|
|
|
|
been included in previous releases.
|
2016-02-19 17:29:53 +00:00
|
|
|
|
|
2016-02-20 11:56:55 +00:00
|
|
|
|
* The readdir_r and readdir64_r functions have been deprecated. It is
|
|
|
|
|
recommended to use readdir and readdir64 instead.
|
|
|
|
|
|
2016-04-14 06:54:57 +00:00
|
|
|
|
* The type “union wait” has been removed. It was deprecated in the early
|
|
|
|
|
1990s and never part of POSIX. Application code should use the int type
|
|
|
|
|
instead of “union wait”.
|
|
|
|
|
|
NSS: Implement group merging support.
https://sourceware.org/glibc/wiki/Proposals/GroupMerging
== Justification ==
It is common today for users to rely on centrally-managed user stores for
handling their user accounts. However, much software existing today does
not have an innate understanding of such accounts. Instead, they commonly
rely on membership in known groups for managing access-control (for
example the "wheel" group on Fedora and RHEL systems or the "adm" group
on Debian-derived systems). In the present incarnation of nsswitch, the
only way to have such groups managed by a remote user store such as
FreeIPA or Active Directory would be to manually remove the groups from
/etc/group on the clients so that nsswitch would then move past nss_files
and into the SSSD, nss-ldap or other remote user database.
== Solution ==
With this patch, a new action is introduced for nsswitch:
NSS_ACTION_MERGE. To take advantage of it, one will add [SUCCESS=merge]
between two database entries in the nsswitch.conf file. When a group is
located in the first of the two group entries, processing will continue
on to the next one. If the group is also found in the next entry (and the
group name and GID are an exact match), the member list of the second
entry will be added to the group object to be returned.
== Implementation ==
After each DL_LOOKUP_FN() returns, the next action is checked. If the
function returned NSS_STATUS_SUCCESS and the next action is
NSS_ACTION_MERGE, a copy of the result buffer is saved for the next pass
through the loop. If on this next pass through the loop the database
returns another instance of a group matching both the group name and GID,
the member list is added to the previous list and it is returned as a
single object. If the following database does not contain the same group,
then the original is copied back into the destination buffer.
This patch implements merge functionality only for the group database.
For other databases, there is a default implementation that will return
the EINVAL errno if a merge is requested. The merge functionality can be
implemented for other databases at a later time if such is needed. Each
database must provide a unique implementation of the deep-copy and merge
functions.
If [SUCCESS=merge] is present in nsswitch.conf for a glibc version that
does not support it, glibc will process results up until that operation,
at which time it will return results if it has found them or else will
simply return an error. In practical terms, this ends up behaving like
the remainder of the nsswitch.conf line does not exist.
== Iterators ==
This feature does not modify the iterator functionality from its current
behavior. If getgrnam() or getgrgid() is called, glibc will iterate
through all entries in the `group` line in nsswitch.conf and display the
list of members without attempting to merge them. This is consistent with
the behavior of nss_files where if two separate lines are specified for
the same group in /etc/groups, getgrnam()/getgrgid() will display both.
Clients are already expected to handle this gracefully.
== No Premature Optimizations ==
The following is a list of places that might be eligible for
optimization, but were not overengineered for this initial contribution:
* Any situation where a merge may occur will result in one malloc() of
the same size as the input buffer.
* Any situation where a merge does occur will result in a second
malloc() to hold the list of pointers to member name strings.
* The list of members is simply concatenated together and is not tested
for uniqueness (which is identical to the behavior for nss_files,
which will simply return identical values if they both exist on the
line in the file. This could potentially be optimized to reduce space
usage in the buffer, but it is both complex and computationally
expensive to do so.
== Testing ==
I performed testing by running the getent utility against my newly-built
glibc and configuring /etc/nsswitch.conf with the following entry:
group: group: files [SUCCESS=merge] sss
In /etc/group I included the line:
wheel:x:10:sgallagh
I then configured my local SSSD using the id_provider=local to respond
with:
wheel:*:10:localuser,localuser2
I then ran `getent group wheel` against the newly-built glibc in
multiple situations and received the expected output as described
above:
* When SSSD was running.
* When SSSD was configured in nsswitch.conf but the daemon was not
running.
* When SSSD was configured in nsswitch.conf but nss_sss.so.2 was not
installed on the system.
* When the order of 'sss' and 'files' was reversed.
* All of the above with the [SUCCESS=merge] removed (to ensure no
regressions).
* All of the above with `getent group 10`.
* All of the above with `getent group` with and without
`enumerate=true` set in SSSD.
* All of the above with and without nscd enabled on the system.
2016-04-30 02:11:09 +00:00
|
|
|
|
* A new NSS action is added to facilitate large distributed system
|
|
|
|
|
administration. The action, MERGE, allows remote user stores like LDAP
|
|
|
|
|
to be merged into local user stores like /etc/groups in order to provide
|
|
|
|
|
easy to use, updated, and managed sets of merged credentials. The new
|
|
|
|
|
action can be used by configuring it in /etc/nsswitch.conf:
|
|
|
|
|
group: files [SUCCESS=merge] nis
|
|
|
|
|
Implemented by Stephen Gallagher (Red Hat).
|
|
|
|
|
|
2016-06-10 08:46:05 +00:00
|
|
|
|
* The deprecated __malloc_initialize_hook variable has been removed from the
|
|
|
|
|
API.
|
|
|
|
|
|
2016-06-11 18:33:32 +00:00
|
|
|
|
* The long unused localedef --old-style option has been removed. It hasn't
|
|
|
|
|
done anything in over 16 years. Scripts using this option can safely
|
|
|
|
|
drop it.
|
2016-05-30 04:52:15 +00:00
|
|
|
|
|
2016-06-16 15:51:26 +00:00
|
|
|
|
* nextupl, nextup, nextupf, nextdownl, nextdown and nextdownf are added to
|
|
|
|
|
libm. They are defined by TS 18661 and IEEE754-2008. The nextup functions
|
|
|
|
|
return the next representable value in the direction of positive infinity
|
|
|
|
|
and the nextdown functions return the next representable value in the
|
|
|
|
|
direction of negative infinity. These are currently enabled as GNU
|
|
|
|
|
extensions.
|
|
|
|
|
|
2016-02-19 17:29:53 +00:00
|
|
|
|
Security related changes:
|
|
|
|
|
|
2016-04-29 08:47:40 +00:00
|
|
|
|
* An unnecessary stack copy in _nss_dns_getnetbyname_r was removed. It
|
|
|
|
|
could result in a stack overflow when getnetbyname was called with an
|
|
|
|
|
overly long name. (CVE-2016-3075)
|
|
|
|
|
|
2016-04-29 08:35:34 +00:00
|
|
|
|
* Previously, getaddrinfo copied large amounts of address data to the stack,
|
|
|
|
|
even after the fix for CVE-2013-4458 has been applied, potentially
|
|
|
|
|
resulting in a stack overflow. getaddrinfo now uses a heap allocation
|
|
|
|
|
instead. Reported by Michael Petlan. (CVE-2016-3706)
|
2016-02-19 17:29:53 +00:00
|
|
|
|
|
2016-05-04 10:09:35 +00:00
|
|
|
|
* The glob function suffered from a stack-based buffer overflow when it was
|
|
|
|
|
called with the GLOB_ALTDIRFUNC flag and encountered a long file name.
|
|
|
|
|
Reported by Alexander Cherepanov. (CVE-2016-1234)
|
|
|
|
|
|
2016-05-23 18:18:34 +00:00
|
|
|
|
* The Sun RPC UDP client could exhaust all available stack space when
|
|
|
|
|
flooded with crafted ICMP and UDP messages. Reported by Aldy Hernandez'
|
|
|
|
|
alloca plugin for GCC. (CVE-2016-4429)
|
|
|
|
|
|
2016-07-29 21:34:17 +00:00
|
|
|
|
* The IPv6 name server management code in libresolv could result in a memory
|
|
|
|
|
leak for each thread which is created, performs a failing naming lookup,
|
|
|
|
|
and exits. Over time, this could result in a denial of service due to
|
|
|
|
|
memory exhaustion. Reported by Matthias Schiffer. (CVE-2016-5417)
|
|
|
|
|
|
2016-02-19 17:29:53 +00:00
|
|
|
|
The following bugs are resolved with this release:
|
|
|
|
|
|
2016-08-02 01:24:59 +00:00
|
|
|
|
[1170] localedata: ne_NP: update Nepali locale definition file
|
|
|
|
|
[3629] manual: stpcpy description in string.texi refers to MS-DOG instead
|
|
|
|
|
of MS-DOS.
|
|
|
|
|
[6527] malloc: [powerpc] Malloc alignment insufficient for PowerPC
|
|
|
|
|
[6796] math: fdim() does not set errno on overflow
|
|
|
|
|
[10354] libc: posix_spawn should use vfork() in more cases than presently
|
|
|
|
|
[11213] localedata: localedata: add copyright disclaimer to locale files
|
|
|
|
|
[12143] localedata: chr_US: new Cherokee locale
|
|
|
|
|
[12450] localedata: sgs_LT: new locale
|
|
|
|
|
[12676] localedata: ln_CD: new locale
|
|
|
|
|
[13237] localedata: LC_ADDRESS.country_name: update all locales w/latest
|
|
|
|
|
CLDR data
|
|
|
|
|
[13304] math: fma, fmaf, fmal produce wrong results
|
|
|
|
|
[14259] build: --localedir arg to configure is ignored
|
|
|
|
|
[14499] nptl: Does posix_spawn invoke atfork handlers / use vfork?
|
|
|
|
|
[14750] libc: Race condition in posix_spawn vfork usage vs signal handlers
|
|
|
|
|
[14934] localedata: es_CL: wrong first weekday chilean locale
|
|
|
|
|
[15262] localedata: LC_MESSAGES.yesexpr/noexpr: inconsistent use of
|
|
|
|
|
romanisation
|
|
|
|
|
[15263] localedata: LC_MESSAGES.yesexpr/noexpr: inconsistent use of 1/0
|
|
|
|
|
and +/-
|
|
|
|
|
[15264] localedata: LC_MESSAGES.yesstr/nostr: lacking in many locales
|
|
|
|
|
[15368] nptl: raise() is not async-signal-safe
|
|
|
|
|
[15479] math: ceil, floor, round and trunc raise inexact exception
|
|
|
|
|
[15578] localedata: kk_KZ: various updates
|
|
|
|
|
[16003] localedata: pap_AN: punt old locale
|
|
|
|
|
[16137] localedata: iw_IL: punt old locale
|
|
|
|
|
[16190] localedata: eo: new esperanto locale
|
|
|
|
|
[16374] localedata: lv_LV: change currency symbol in LC_MONETARY to euro
|
|
|
|
|
[16742] malloc: race condition: pthread_atfork() called before first
|
|
|
|
|
malloc() results in unexpected locking behaviour/deadlocks
|
|
|
|
|
[16975] localedata: LC_MESSAGES.yesexpr/noexpr: revisit capitalization in
|
|
|
|
|
all locales
|
|
|
|
|
[16983] localedata: postal_fmt does not allow %l and %n modifiers
|
|
|
|
|
[17565] localedata: pt_PT: wrong (work-)week start
|
|
|
|
|
[17899] math: [powerpc] floorl returns negative zero with FE_DOWNWARD
|
|
|
|
|
[17950] build: Build fails with -msse
|
|
|
|
|
[18205] localedata: be_BY*: wrong first_weekday and first_workday
|
|
|
|
|
[18433] libc: posix_spawn does not return correctly upon failure to
|
|
|
|
|
execute
|
|
|
|
|
[18453] localedata: charmaps/IBM875: incorrect codes
|
|
|
|
|
[18712] string: bits/string2.h incompatible with -O2 -Werror=packed
|
|
|
|
|
-Wsystem-headers
|
|
|
|
|
[18896] localedata: he_IL: improvements for currency
|
|
|
|
|
[18911] localedata: ro_RO: Correcting week day name for "Tuesday" in
|
|
|
|
|
Romanian locale data
|
|
|
|
|
[18960] locale: s390: _nl_locale_subfreeres uses larl opcode on misaligned
|
|
|
|
|
symbol
|
|
|
|
|
[19056] libc: Deprecate readdir_r
|
|
|
|
|
[19133] localedata: pt_*: days & months should be lowercase in Portuguese
|
|
|
|
|
language
|
|
|
|
|
[19198] localedata: nl_NL: small improvements for Dutch locales
|
|
|
|
|
[19257] network: Per-thread memory leak in __res_vinit with IPv6
|
|
|
|
|
nameservers (CVE-2016-5417)
|
|
|
|
|
[19269] build: tst-audit4 and tst-audit10 failures with gcc-6 on non avx
|
|
|
|
|
machine
|
|
|
|
|
[19400] locale: Language missing in "iso-639.def", trivial fix in
|
|
|
|
|
description
|
|
|
|
|
[19431] malloc: Deadlock between fflush, getdelim, and fork
|
|
|
|
|
[19505] libc: Incorrect file descriptor validity checks in
|
|
|
|
|
posix_spawn_file_actions_add{open,close,dup2}
|
|
|
|
|
[19509] dynamic-link: dlsym, dlvsym do not report errors through dlerror
|
|
|
|
|
when using RTLD_NEXT
|
|
|
|
|
[19512] locale: Stale `#ifndef HAVE_BUILTIN_EXPECT' in
|
|
|
|
|
`intl/{gettextP,loadinfo}.h'
|
|
|
|
|
[19534] libc: execle, execlp may use malloc
|
|
|
|
|
[19568] localedata: *_CH: Swiss locales have inconsistent start of week
|
|
|
|
|
[19573] network: res_nclose and __res_maybe_init disagree about name
|
|
|
|
|
server initialization, breaking Hesiod
|
|
|
|
|
[19575] localedata: Status of GB18030 tables
|
|
|
|
|
[19581] localedata: sr_* date_fmt string contains additional newline
|
|
|
|
|
[19583] string: SSSE3_Fast_Copy_Backward flag needs to be enabled for AMD
|
|
|
|
|
Excavator core
|
|
|
|
|
[19592] math: [ldbl-128ibm] ceill incorrect in non-default rounding modes
|
|
|
|
|
[19593] math: [ldbl-128ibm] truncl incorrect in non-default rounding modes
|
|
|
|
|
[19594] math: [ldbl-128ibm] roundl incorrect in non-default rounding modes
|
|
|
|
|
[19595] math: [ldbl-128ibm] fmodl incorrect for results in subnormal
|
|
|
|
|
double range
|
|
|
|
|
[19602] math: [ldbl-128ibm] fmodl handling of equal arguments with low
|
|
|
|
|
part zero incorrect
|
|
|
|
|
[19603] math: [ldbl-128ibm] remainderl, remquol incorrect sign handling in
|
|
|
|
|
equality tests
|
|
|
|
|
[19610] dynamic-link: ldconfig -X removes stale symbolic links
|
|
|
|
|
[19613] libc: s390x (64 bit) macro expansion WCOREDUMP and others
|
|
|
|
|
[19633] locale: strfmon_l applies global locale to number formatting
|
|
|
|
|
[19642] network: Memory leak in getnameinfo
|
|
|
|
|
[19648] libc: test-skeleton.c: Do not set RLIMIT_DATA
|
|
|
|
|
[19653] libc: Potential for NULL pointer dereference (CWE-476) in
|
|
|
|
|
glibc-2.22
|
|
|
|
|
[19654] math: [x86_64] Need testcase for BZ #19590 fix
|
|
|
|
|
[19671] localedata: Missing Sanity Check for malloc() in 'tst-fmon.c' &
|
|
|
|
|
'tst-numeric.c'
|
|
|
|
|
[19674] math: [ldbl-128ibm] powl incorrect overflow handling
|
|
|
|
|
[19677] math: [ldbl-128ibm] remainderl equality test incorrect for zero
|
|
|
|
|
low part
|
|
|
|
|
[19678] math: [ldbl-128ibm] nextafterl, nexttowardl incorrect sign of zero
|
|
|
|
|
result
|
|
|
|
|
[19679] dynamic-link: gcc-4.9.3 C++ exception handling broken due to
|
|
|
|
|
unaligned stack
|
|
|
|
|
[19726] locale: Converting UCS4LE to INTERNAL with iconv() does not update
|
|
|
|
|
pointers and lengths in error-case.
|
|
|
|
|
[19727] locale: Converting from/to UTF-xx with iconv() does not always
|
|
|
|
|
report errors on UTF-16 surrogates values.
|
|
|
|
|
[19755] nscd: nscd assertion failure in gc
|
|
|
|
|
[19758] dynamic-link: Typo in EXTRA_LD_ENVVARS for x86-64
|
|
|
|
|
[19759] libc: mempcpy shouldn't be inlined
|
|
|
|
|
[19762] dynamic-link: HAS_CPU_FEATURE/HAS_ARCH_FEATURE are easy to misuse
|
|
|
|
|
[19765] libc: s390 needs an optimized mempcpy
|
|
|
|
|
[19779] glob: glob: buffer overflow with GLOB_ALTDIRFUNC due to incorrect
|
|
|
|
|
NAME_MAX limit assumption (CVE-2016-1234)
|
|
|
|
|
[19783] build: benchtests don't support --enable-hardcoded-path-in-tests
|
|
|
|
|
[19787] network: Missing and incorrect truncation checks in getnameinfo
|
|
|
|
|
[19790] math: [ldbl-128ibm] nearbyintl incorrect in non-default rounding
|
|
|
|
|
modes
|
|
|
|
|
[19791] network: Assertion failure in res_query.c with un-connectable name
|
|
|
|
|
server addresses
|
|
|
|
|
[19792] libc: MIPS: backtrace yields infinite backtrace with makecontext
|
|
|
|
|
[19822] math: libm.so install clobbers old version
|
|
|
|
|
[19825] network: resolv: send_vc can return uninitialized data in second
|
|
|
|
|
response to getaddrinfo
|
|
|
|
|
[19830] network: nss_dns: should check RDATA length against buffer length
|
|
|
|
|
[19831] network: nss_dns: getaddrinfo returns uninitialized data when
|
|
|
|
|
confronted with A/AAAA records of invalid size
|
|
|
|
|
[19837] nss: nss_db: No retries for some long lines with a larger buffer
|
|
|
|
|
[19848] math: powl(10,n) for n=-4,-5,-6,-7 is off by more than 1 ULP
|
|
|
|
|
[19853] stdio: Printing IBM long double in decimal with high precision is
|
|
|
|
|
sometimes incorrect
|
|
|
|
|
[19860] build: x86_64: compile errors for tst-audit10 and tst-auditmod10b
|
|
|
|
|
[19861] nptl: libpthread IFUNC resolver for fork can lead to crash
|
|
|
|
|
[19862] network: resolv, nss_dns: Remove remaining logging of unexpected
|
|
|
|
|
record types
|
|
|
|
|
[19865] network: Assertion failure or memory leak in
|
|
|
|
|
_nss_dns_getcanonname_r
|
|
|
|
|
[19868] network: nss_dns: netent code does not skip over non-PTR records
|
|
|
|
|
[19879] network: nss_dns: Stack overflow in getnetbyname implementation
|
|
|
|
|
(CVE-2016-3075)
|
|
|
|
|
[19881] string: Improve x86-64 memset
|
|
|
|
|
[19907] string: Incorrect memcpy tests
|
|
|
|
|
[19916] dynamic-link: S390: fprs/vrs are not saved/restored while
|
|
|
|
|
resolving symbols
|
|
|
|
|
[19925] libc: termios.h XCASE namespace
|
|
|
|
|
[19928] string: memmove-vec-unaligned-erms.S is slow with large data size
|
|
|
|
|
[19929] libc: limits.h NL_NMAX namespace
|
|
|
|
|
[19931] stdio: Memory leak in vfprintf
|
|
|
|
|
[19957] libc: clone(CLONE_VM) access invalid parent memory
|
|
|
|
|
[19963] localedata: en_IL: New locale
|
|
|
|
|
[19989] stdio: stdio.h cuserid namespace
|
|
|
|
|
[19994] network: getaddrinfo does not restore RES_USE_INET6 flag in
|
|
|
|
|
gethosts
|
|
|
|
|
[19996] locale: langinfo.h nl_langinfo_l namespace
|
|
|
|
|
[20005] stdio: fflush on a file opened with fmemopen resets position to 0
|
|
|
|
|
[20010] network: getaddrinfo: Stack overflow in hostent translation
|
|
|
|
|
(CVE-2016-3706)
|
|
|
|
|
[20012] stdio: libio: fmemopen append mode failure
|
|
|
|
|
[20014] stdio: stdio.h namespace for pre-threads POSIX
|
|
|
|
|
[20017] network: resolv: Use gmtime_r instead of gmtime in p_secstodate
|
|
|
|
|
[20023] libc: fcntl.h timespec namespace
|
|
|
|
|
[20024] math: [x86_64] vectorized sincos trashes the stack
|
|
|
|
|
[20031] network: nss_hesiod: Heap overflow in get_txt_records
|
|
|
|
|
[20041] time: sys/time.h timespec namespace
|
|
|
|
|
[20043] libc: unistd.h missing cuserid for UNIX98 and before
|
|
|
|
|
[20044] libc: unistd.h missing pthread_atfork for UNIX98
|
|
|
|
|
[20051] libc: ttyslot in wrong header under wrong conditions
|
|
|
|
|
[20054] libc: gethostname not declared for XPG4
|
|
|
|
|
[20055] libc: termios.h missing tcgetsid for XPG4
|
|
|
|
|
[20072] dynamic-link: x86 init_cpu_features is called twice in static
|
|
|
|
|
executable
|
|
|
|
|
[20073] libc: sys/stat.h fchmod namespace
|
|
|
|
|
[20074] libc: stdlib.h rand_r namespace
|
|
|
|
|
[20076] libc: sys/stat.h missing S_IFSOCK, S_ISSOCK for XPG4
|
|
|
|
|
[20094] libc: stdlib.h should not declare grantpt, ptsname, unlockpt for
|
|
|
|
|
XPG3
|
|
|
|
|
[20111] libc: struct sockaddr_storage cannot be aggregate-copied
|
|
|
|
|
[20112] network: sunrpc: stack (frame) overflow in Sun RPC clntudp_call
|
|
|
|
|
(CVE-2016-4429)
|
|
|
|
|
[20115] string: Extra alignment in memset-vec-unaligned-erms.S
|
|
|
|
|
[20119] libc: Wrong mask for processors level type from CPUID
|
|
|
|
|
[20139] dynamic-link: Upper part of zmm is zeroed if Glibc is built with
|
|
|
|
|
AS not supporting AVX512
|
|
|
|
|
[20151] math: [ldbl-128/ldbl-128ibm] j0l, j1l, y0l, y1l return sNaN for
|
|
|
|
|
sNaN argument
|
|
|
|
|
[20153] math: [ldbl-128ibm] sqrtl (sNaN) returns sNaN
|
|
|
|
|
[20156] math: [ldbl-128ibm] ceill, rintl etc. return sNaN for sNaN
|
|
|
|
|
argument
|
|
|
|
|
[20157] math: [powerpc] fabsl (sNaN) wrongly raises "invalid"
|
|
|
|
|
[20160] math: [powerpc] ceil, rint etc. return sNaN for sNaN input
|
|
|
|
|
[20178] libc: posix_spawn{p} should not call exit
|
|
|
|
|
[20191] stdio: libio: vtables hardening
|
|
|
|
|
[20195] string: FMA4 detection requires CPUID execution with register
|
|
|
|
|
eax=0x80000001
|
|
|
|
|
[20198] libc: quick_exit incorrectly destroys C++11 thread objects.
|
|
|
|
|
[20205] math: [i386/x86_64] nextafterl incorrect incrementing negative
|
|
|
|
|
subnormals
|
|
|
|
|
[20212] math: acos (sNaN) returns sNaN
|
|
|
|
|
[20213] math: asin (sNaN) returns sNaN
|
|
|
|
|
[20214] network: Linux header sync with linux/in6.h and ipv6.h again.
|
|
|
|
|
[20218] math: [i386] asinhl (sNaN) returns sNaN
|
|
|
|
|
[20219] math: [i386] atanhl (sNaN) returns sNaN
|
|
|
|
|
[20222] stdio: fopencookie: Mangle function pointers
|
|
|
|
|
[20224] math: [i386] cbrtl (sNaN) returns sNaN
|
|
|
|
|
[20225] math: ldexp, scalbn, scalbln return sNaN for sNaN input
|
|
|
|
|
[20226] math: [i386/x86_64] expl, exp10l, expm1l return sNaN for sNaN
|
|
|
|
|
input
|
|
|
|
|
[20227] math: [i386/x86_64] logl (sNaN) returns sNaN
|
|
|
|
|
[20228] math: [i386/x86_64] log10l (sNaN) returns sNaN
|
|
|
|
|
[20229] math: [i386/x86_64] log1pl (sNaN) returns sNaN
|
|
|
|
|
[20232] math: [ldbl-128] expm1l (sNaN) returns sNaN
|
|
|
|
|
[20233] math: [ldbl-128ibm] expm1l (sNaN) returns sNaN
|
|
|
|
|
[20234] math: [ldbl-128ibm] log1pl (sNaN) returns sNaN
|
|
|
|
|
[20235] math: [i386/x86_64] log2l (sNaN) returns sNaN
|
|
|
|
|
[20237] nss: nss_db: get*ent segfaults without preceding set*ent
|
|
|
|
|
[20240] math: modf (sNaN) returns sNaN
|
|
|
|
|
[20248] libc: debug/tst-longjump_chk2 calls printf from a signal handler
|
|
|
|
|
[20250] math: frexp (sNaN) returns sNaN
|
|
|
|
|
[20252] math: atan2 (sNaN, qNaN) fails to raise "invalid"
|
|
|
|
|
[20255] math: [i386] fdim, fdimf return with excess range and precision /
|
|
|
|
|
double rounding
|
|
|
|
|
[20256] math: [i386/x86_64] fdiml returns sNaN for sNaN input
|
|
|
|
|
[20260] string: ../sysdeps/x86/bits/string.h:1092:3: error: array
|
|
|
|
|
subscript is below array bounds [-Werror=array-bounds]
|
|
|
|
|
[20262] nis: _nss_nis_initgroups_dyn always returns NSS_STATUS_NOTFOUND
|
|
|
|
|
[20263] nptl: robust mutex deadlocks if other thread requests timedlock
|
|
|
|
|
(Only arm/linux)
|
|
|
|
|
[20277] libc: $dp is not initialized correctly in sysdeps/hppa/start.S
|
|
|
|
|
[20284] malloc: malloc: Corrupt arena avoidance causes unnecessary mmap
|
|
|
|
|
fallbacks
|
|
|
|
|
[20296] math: [i386/x86_64] scalbl returns sNaN for sNaN input, missing
|
|
|
|
|
"invalid" exceptions
|
|
|
|
|
[20314] nptl: make[4]: *** [/usr/include/stdlib.h] Error 1
|
|
|
|
|
[20316] localedata: id_ID: Februari instead of Pebruari
|
|
|
|
|
[20327] string: POWER8 strcasecmp returns incorrect result
|
|
|
|
|
[20347] math: Failure: Test: j0_downward (0xap+0)
|
|
|
|
|
[20348] libc: FAIL: misc/tst-preadvwritev64
|
|
|
|
|
[20349] libc: 64-bit value is passed differently in p{readv,writev}{64}
|
|
|
|
|
[20350] libc: There is no test for p{read,write}64
|
|
|
|
|
[20357] math: Incorrect cos result for 1.5174239687223976
|
|
|
|
|
[20384] build: Don't run libmvec-sincos-avx* tests on non avx machines
|
2016-02-19 17:29:53 +00:00
|
|
|
|
|
2015-05-22 08:00:26 +00:00
|
|
|
|
Version 2.23
|
|
|
|
|
|
2015-12-10 05:30:51 +00:00
|
|
|
|
* Unicode 8.0.0 Support: Character encoding, character type info, and
|
|
|
|
|
transliteration tables are all updated to Unicode 8.0.0, using new
|
|
|
|
|
and/or improved generator scripts contributed by Mike FABIAN (Red Hat).
|
|
|
|
|
These updates cause user visible changes, such as the fixes for bugs
|
|
|
|
|
89, 16061, and 18568.
|
|
|
|
|
|
Remove CPU set size checking from affinity functions [BZ #19143]
With current kernel versions, the check does not reliably detect that
unavailable CPUs are requested, for these reasons:
(1) The kernel will silently ignore non-allowed CPUs, that is, CPUs
which are physically present but disallowed for the thread
based on system configuration.
(2) Similarly, CPU bits which lack an online CPU (possible CPUs)
are ignored.
(3) The existing probing code assumes that the CPU mask size is a
power of two and at least 1024. Neither has it to be a power
of two, nor is the minimum possible value 1024, so the value
determined is often too large. This means that the CPU set
size check in glibc accepts CPU bits beyond the actual hard
system limit.
(4) Future kernel versions may not even have a fixed CPU set size.
After the removal of the probing code, the kernel still returns
EINVAL if no CPU in the requested set remains which can run the
thread after the affinity change.
Applications which care about the exact affinity mask will have
to query it using sched_getaffinity after setting it. Due to the
effects described above, this commit does not change this.
The new tests supersede tst-getcpu, which is removed. This
addresses bug 19164 because the new tests allocate CPU sets
dynamically.
* nptl/check-cpuset.h: Remove.
* nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
Remove CPU set size check.
* nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
Likewise.
* sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
* sysdeps/unix/sysv/linux/pthread_setaffinity.c
(__kernel_cpumask_size, __determine_cpumask_size): Remove.
(__pthread_setaffinity_new): Remove CPU set size check.
* sysdeps/unix/sysv/linux/sched_setaffinity.c
(__kernel_cpumask_size): Remove.
(__sched_setaffinity_new): Remove CPU set size check.
* manual/threads.texi (Default Thread Attributes): Remove stale
reference to check_cpuset_attr, determine_cpumask_size in comment.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
[$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
tst-thread-affinity-pthread2, tst-thread-affinity-sched.
* sysdeps/unix/sysv/linux/tst-affinity.c: New file.
* sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
* sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
* sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
* sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
* sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
* sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
skeleton test file.
* sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
tst-affinity-pid.
2015-11-24 16:21:01 +00:00
|
|
|
|
* sched_setaffinity, pthread_setaffinity_np no longer attempt to guess the
|
|
|
|
|
kernel-internal CPU set size. This means that requests that change the
|
|
|
|
|
CPU affinity which failed before (for example, an all-ones CPU mask) will
|
|
|
|
|
now succeed. Applications that need to determine the effective CPU
|
|
|
|
|
affinities need to call sched_getaffinity or pthread_getaffinity_np after
|
|
|
|
|
setting it because the kernel can adjust it (and the previous size check
|
|
|
|
|
would not detect this in the majority of cases).
|
|
|
|
|
|
Add LFS support for fts functions (bug 11460)
fts didn't have large-file support yet and fts.h had an #error preventing
usage when _FILE_OFFSET_BITS was set. This required nasty workarounds for
programs using fts with LFS. This patch implements LFS support for fts by
adding FTS64 and FTENT64 variants plus fts64 functions. Which are simple
aliases for 64bit off_t arches.
Also includes a simple testcase for some of the fts functions with or
without LFS enabled.
[BZ #11460]
* io/Makefile (routines): Add fts64.
(tests): Add tst-fts and tst-fts-lfs.
(CFLAGS-fts64.c): New.
* io/Versions (GLIBC_2.23): New.
* io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
* io/fts.h (FTS64): New if _USE_LARGEFILE64.
(FTSENT64): Likewise.
(fts64_children): Likewise.
(fts64_close): Likewise.
(fts64_open): Likewise.
(fts64_read): Likewise.
(fts64_set): Likewise.
* io/fts64.c: New file.
* io/tst-fts.c: New test.
* io/tst-fts-lfs.c: Likewise.
* sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
fts64_set.
* sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
* sysdeps/wordsize-64/fts.c: New file.
* sysdeps/wordsize-64/fts64.c: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
2015-11-06 10:22:38 +00:00
|
|
|
|
* The fts.h header can now be used with -D_FILE_OFFSET_BITS=64. With LFS
|
|
|
|
|
the following new symbols are used: fts64_children, fts64_close,
|
|
|
|
|
fts64_open, fts64_read and fts64_set.
|
|
|
|
|
|
2015-11-09 11:48:41 +00:00
|
|
|
|
* getaddrinfo now detects certain invalid responses on an internal netlink
|
|
|
|
|
socket. If such responses are received, an affected process will
|
|
|
|
|
terminate with an error message of "Unexpected error <number> on netlink
|
|
|
|
|
descriptor <number>" or "Unexpected netlink response of size <number> on
|
|
|
|
|
descriptor <number>". The most likely cause for these errors is a
|
|
|
|
|
multi-threaded application which erroneously closes and reuses the netlink
|
|
|
|
|
file descriptor while it is used by getaddrinfo.
|
|
|
|
|
|
2015-10-28 18:32:46 +00:00
|
|
|
|
* A defect in the malloc implementation, present since glibc 2.15 (2012) or
|
|
|
|
|
glibc 2.10 via --enable-experimental-malloc (2009), could result in the
|
|
|
|
|
unnecessary serialization of memory allocation requests across threads.
|
|
|
|
|
The defect is now corrected. Users should see a substantial increase in
|
|
|
|
|
the concurent throughput of allocation requests for applications which
|
2016-02-25 03:04:13 +00:00
|
|
|
|
trigger this bug. Affected applications typically create and
|
2015-10-28 18:32:46 +00:00
|
|
|
|
destroy threads frequently. (Bug 19048 was reported and analyzed by
|
|
|
|
|
Ericsson.)
|
2015-10-15 07:23:07 +00:00
|
|
|
|
|
2015-10-19 18:09:52 +00:00
|
|
|
|
* There is now a --disable-timezone-tools configure option for disabling the
|
|
|
|
|
building and installing of the timezone related utilities (zic, zdump, and
|
|
|
|
|
tzselect). This is useful for people who build the timezone data and code
|
|
|
|
|
independent of the GNU C Library.
|
|
|
|
|
|
2015-07-12 19:27:34 +00:00
|
|
|
|
* The obsolete header <regexp.h> has been removed. Programs that require
|
|
|
|
|
this header must be updated to use <regex.h> instead.
|
S390: Optimize string, wcsmbs and memory functions.
This patch set introduces optimized string, wcsmbs and memory functions for
S390/S390x. The functions are accelerated by the usage of the new z13 vector
instructions.
The Principles of Operations manual for IBM z13 is publically available:
http://publibfi.boulder.ibm.com/epubs/pdf/dz9zr010.pdf
The support for these instructions in assembler was introduced by commits:
-"[Committed] S/390: Add support for IBM z13."
(https://sourceware.org/ml/binutils/2015-01/msg00197.html)
-"[Committed] S/390: Add more IBM z13 instructions"
(https://sourceware.org/ml/binutils/2015-03/msg00088.html)
The first patches do preparation for the latter optimization patches.
The floating point exception handling - fetestexcept(), ... - is fixed and
the platform and hwcap strings are extended.
The current ifunc routines memset, memcpy and memcmp are refactored and the
ifunc test-framework is now enabled.
A S390 specific configure-check tests if the used binutils supports the new
vector instructions. The optimized functions are provided via ifunc if the
binutils supports the vector instructions. Otherwise a message is dumped to
configure output and only the currently used common code functions are
available.
The optimized functions are implemented in common for s390-32 and s390-64
and the few differences are handled via #ifdef.
The ifunc-resolvers are defined in files sysdeps/s390/multiarch/<func>.c,
which choose either the current implementation __<func>_c() or the vector
implementation __<func>_vx() depending on the HWCAP_S390_VX flag bit in
AT_HWCAP field. If the bit is set, the hardware and the kernel are supporting
vector registers and instructions. If the used binutils lacks vector-support,
then the default implementation in string or wcsmbs directory is included
here instead.
The file sysdeps/s390/multiarch/<func>-c.c includes the current implementation
and defines the function name __<func>_c.
The assembler files sysdeps/s390/multiarch/<func>-vx.S with the vector
instructions are using the directive '.machine "z13"' to allow building glibc
without option '-march=z13'. Additionally the directive '.machinemode
"zarch_nohighgprs"' is needed for the 31bit glibc. This mode does not set the
highgprs flag in ELF header, which would lead to an unloadable libc on a 31bit
kernel.
The most optimized string functions are structured in the same way:
The first 16 bytes of the string is loaded unaligned via vlbb - vector load
to block boundary (e.g. 4k). This instruction loads 16 bytes if possible.
In case of a page cross, it only loads the last bytes of the current page
without a segmentation fault.
Afterwards these first part of string is processed. If e.g. for strlen the end
of string is reached within this first part, the function returns. Otherwise
the pointer is aligned to 16 byte, so i can load a full vector register with vl
without checking for a page cross. Afterwards the first part of string is
processed. If e.g. for strlen the end of string is reached within this first
part, the function returns. Otherwise the pointer is aligned to 16 byte, so
a full vector register can be loaded with vl - vector load - without checking
for a page cross. The remaining string is processed in a four times unrolled
loop, because benchmark results measured improvements compared to a non
unrolled loop.
The optimized wide string functions can only handle 4byte aligned string
pointers. Although a wchar_t pointer should always be 4byte aligned, the most
current common code wide string functions can handle non aligned strings.
Thus the optimized functions will fall back to the common code functions in
case of a non aligned wide string to behave the same as before this patch.
Some string tests can test the string and the wide string version of a function.
The remaining ones are extended and new wide string tests are added.
This is the same in case of the benchtests.
ChangeLog:
* NEWS: New item for IBM z13 string optimizations.
2015-08-26 08:26:26 +00:00
|
|
|
|
|
Make obsolete syscall wrappers into compat symbols (bug 18472).
Various Linux kernel syscalls have become obsolete over time.
Specifically, the following are obsolete in all kernel versions
supported by glibc, are not present for architectures more recently
added to the kernel, and as such, the wrapper functions for them
should be compat symbols, not in static libc and not available for new
links with shared libc.
* bdflush: in Linux 2.6, does nothing if present.
* create_module get_kernel_syms query_module: Linux 2.4 module
interface, syscalls not present in Linux 2.6.
* uselib: part of the mechanism for loading a.out shared libraries,
irrelevant with ELF.
This patch adds support for syscalls.list to list syscall aliases of
the form NAME@VERSION:OBSOLETED, with SHLIB_COMPAT conditionals being
generated for such aliases. Those five syscalls are then made into
compat symbols (obsoleted in glibc 2.23, so future ports won't have
these symbols at all), with the header <sys/kdaemon.h> declaring
bdflush being removed. When we move to 3.2 as minimum kernel version,
the same can be done for nfsservctl (removed in Linux 3.1) as well.
Tested for x86_64 and x86 (testsuite, as well as checking that the
symbols in question indeed become compat symbols, that they are indeed
omitted from static libc, and that the generated SHLIB_COMPAT
conditionals look right).
[BZ #18472]
* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
conditionals for them.
* sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
* sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
sys/kdaemon.h.
* sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
compat-only syscall, obsoleted in glibc 2.23.
(create_module): Likewise.
(get_kernel_syms): Likewise.
(query_module): Likewise.
(uselib): Likewise.
* manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2015-12-14 22:52:15 +00:00
|
|
|
|
* The obsolete functions bdflush, create_module, get_kernel_syms,
|
|
|
|
|
query_module and uselib are no longer available to newly linked binaries;
|
|
|
|
|
the header <sys/kdaemon.h> has been removed. These functions and header
|
|
|
|
|
were specific to systems using the Linux kernel and could not usefully be
|
|
|
|
|
used with the GNU C Library on systems with version 2.6 or later of the
|
|
|
|
|
Linux kernel.
|
|
|
|
|
|
S390: Optimize string, wcsmbs and memory functions.
This patch set introduces optimized string, wcsmbs and memory functions for
S390/S390x. The functions are accelerated by the usage of the new z13 vector
instructions.
The Principles of Operations manual for IBM z13 is publically available:
http://publibfi.boulder.ibm.com/epubs/pdf/dz9zr010.pdf
The support for these instructions in assembler was introduced by commits:
-"[Committed] S/390: Add support for IBM z13."
(https://sourceware.org/ml/binutils/2015-01/msg00197.html)
-"[Committed] S/390: Add more IBM z13 instructions"
(https://sourceware.org/ml/binutils/2015-03/msg00088.html)
The first patches do preparation for the latter optimization patches.
The floating point exception handling - fetestexcept(), ... - is fixed and
the platform and hwcap strings are extended.
The current ifunc routines memset, memcpy and memcmp are refactored and the
ifunc test-framework is now enabled.
A S390 specific configure-check tests if the used binutils supports the new
vector instructions. The optimized functions are provided via ifunc if the
binutils supports the vector instructions. Otherwise a message is dumped to
configure output and only the currently used common code functions are
available.
The optimized functions are implemented in common for s390-32 and s390-64
and the few differences are handled via #ifdef.
The ifunc-resolvers are defined in files sysdeps/s390/multiarch/<func>.c,
which choose either the current implementation __<func>_c() or the vector
implementation __<func>_vx() depending on the HWCAP_S390_VX flag bit in
AT_HWCAP field. If the bit is set, the hardware and the kernel are supporting
vector registers and instructions. If the used binutils lacks vector-support,
then the default implementation in string or wcsmbs directory is included
here instead.
The file sysdeps/s390/multiarch/<func>-c.c includes the current implementation
and defines the function name __<func>_c.
The assembler files sysdeps/s390/multiarch/<func>-vx.S with the vector
instructions are using the directive '.machine "z13"' to allow building glibc
without option '-march=z13'. Additionally the directive '.machinemode
"zarch_nohighgprs"' is needed for the 31bit glibc. This mode does not set the
highgprs flag in ELF header, which would lead to an unloadable libc on a 31bit
kernel.
The most optimized string functions are structured in the same way:
The first 16 bytes of the string is loaded unaligned via vlbb - vector load
to block boundary (e.g. 4k). This instruction loads 16 bytes if possible.
In case of a page cross, it only loads the last bytes of the current page
without a segmentation fault.
Afterwards these first part of string is processed. If e.g. for strlen the end
of string is reached within this first part, the function returns. Otherwise
the pointer is aligned to 16 byte, so i can load a full vector register with vl
without checking for a page cross. Afterwards the first part of string is
processed. If e.g. for strlen the end of string is reached within this first
part, the function returns. Otherwise the pointer is aligned to 16 byte, so
a full vector register can be loaded with vl - vector load - without checking
for a page cross. The remaining string is processed in a four times unrolled
loop, because benchmark results measured improvements compared to a non
unrolled loop.
The optimized wide string functions can only handle 4byte aligned string
pointers. Although a wchar_t pointer should always be 4byte aligned, the most
current common code wide string functions can handle non aligned strings.
Thus the optimized functions will fall back to the common code functions in
case of a non aligned wide string to behave the same as before this patch.
Some string tests can test the string and the wide string version of a function.
The remaining ones are extended and new wide string tests are added.
This is the same in case of the benchtests.
ChangeLog:
* NEWS: New item for IBM z13 string optimizations.
2015-08-26 08:26:26 +00:00
|
|
|
|
* Optimized string, wcsmbs and memory functions for IBM z13.
|
|
|
|
|
Implemented by Stefan Liebler.
|
2015-10-27 16:34:12 +00:00
|
|
|
|
|
Fix lgamma setting signgam for ISO C (bug 15421).
The lgamma (and likewise lgammaf, lgammal) function wrongly sets the
signgam variable even when building for strict ISO C conformance
(-std=c99 / -std=c11), although the user may define such a variable
and it's only in the implementation namespace for POSIX with XSI
extensions enabled.
Following discussions starting at
<https://sourceware.org/ml/libc-alpha/2013-04/msg00767.html> and
<https://sourceware.org/ml/libc-alpha/2015-10/msg00844.html>, it seems
that the safest approach for fixing this particular issue is for
signgam to become a weak alias for a newly exported symbol __signgam,
with the library functions only setting __signgam, at which point
static linker magic will preserve the alias for newly linked binaries
that refer to the library's signgam rather than defining their own,
while breaking the alias for programs that define their own signgam,
with new symbol versions for lgamma functions and with compat symbols
for existing binaries that set both signgam and __signgam.
This patch implements that approach for the fix. signgam is made into
a weak alias. The four symbols __signgam, lgamma, lgammaf, lgammal
get new symbol versions at version GLIBC_2.23, with the existing
versions of lgamma, lgammaf and lgammal becoming compat symbols.
When the compat versions are built, gamma, gammaf and gammal are
aliases for the compat versions (i.e. always set signgam); this is OK
as they are not ISO C functions, and avoids adding new symbol versions
for them unnecessarily. When the compat versions are not built
(i.e. for static linking and for future glibc ports), gamma, gammaf
and gammal are aliases for the new versions that set __signgam. The
ldbl-opt versions are updated accordingly.
The lgamma wrappers are adjusted so that the same source files,
included from different files with different definitions of
USE_AS_COMPAT, can build either the new versions or the compat
versions. Similar changes are made to the ia64 versions (untested).
Tests are added that the lgamma functions do not interfere with a user
variable called signgam for ISO C, with various choices for the size
of that variable, whether it is initialized, and for static and
dynamic linking. The conformtest whitelist entry is removed as well.
Tested for x86_64, x86, mips64 and powerpc, including looking at
objdump --dynamic-syms output to make sure the expected sets of
symbols were aliases. Also spot-tested that a binary built with old
glibc works properly (i.e. gets signgam set) when run with new glibc.
[BZ #15421]
* sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
initialize with 0 and define as weak alias of __signgam.
* include/math.h [!_ISOMAC] (__signgam): Declare.
* math/Makefile (libm-calls): Add w_lgamma_compat.
(tests): Add test-signgam-uchar, test-signgam-uchar-init,
test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
test-signgam-ullong-init.
(tests-static): Add test-signgam-uchar-static,
test-signgam-uchar-init-static, test-signgam-uint-static,
test-signgam-uint-init-static, test-signgam-ullong-static and
test-signgam-ullong-init-static.
(CFLAGS-test-signgam-uchar.c): New variable.
(CFLAGS-test-signgam-uchar-init.c): Likewise.
(CFLAGS-test-signgam-uchar-static.c): Likewise.
(CFLAGS-test-signgam-uchar-init-static.c): Likewise.
(CFLAGS-test-signgam-uint.c): Likewise.
(CFLAGS-test-signgam-uint-init.c): Likewise.
(CFLAGS-test-signgam-uint-static.c): Likewise.
(CFLAGS-test-signgam-uint-init-static.c): Likewise.
(CFLAGS-test-signgam-ullong.c): Likewise.
(CFLAGS-test-signgam-ullong-init.c): Likewise.
(CFLAGS-test-signgam-ullong-static.c): Likewise.
(CFLAGS-test-signgam-ullong-init-static.c): Likewise.
* math/Versions (libm): Add GLIBC_2.23.
* math/lgamma-compat.h: New file.
* math/test-signgam-main.c: Likewise.
* math/test-signgam-uchar-init-static.c: Likewise.
* math/test-signgam-uchar-init.c: Likewise.
* math/test-signgam-uchar-static.c: Likewise.
* math/test-signgam-uchar.c: Likewise.
* math/test-signgam-uint-init-static.c: Likewise.
* math/test-signgam-uint-init.c: Likewise.
* math/test-signgam-uint-static.c: Likewise.
* math/test-signgam-uint.c: Likewise.
* math/test-signgam-ullong-init-static.c: Likewise.
* math/test-signgam-ullong-init.c: Likewise.
* math/test-signgam-ullong-static.c: Likewise.
* math/test-signgam-ullong.c: Likewise.
* math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
wrapper of w_lgamma_main.c.
* math/w_lgamma_compat.c: New file.
* math/w_lgamma_compatf.c: Likewise.
* math/w_lgamma_compatl.c: Likewise.
* math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
<lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
defining compatibility symbols.
(__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
* math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
wrapper of w_lgammaf_main.c.
* math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
<lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
defining compatibility symbols.
(__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
* math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
wrapper of w_lgammal_main.c.
* math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
<lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
defining compatibility symbols.
(__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
* sysdeps/ia64/fpu/lgamma-compat.h: New file.
* sysdeps/ia64/fpu/w_lgamma.c: Move to ....
* sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
<lgamma-compat.h>.
(__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
(__ieee754_gamma): Define as alias.
* sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
* sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
<lgamma-compat.h>.
(__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
(__ieee754_gammaf): Define as alias.
* sysdeps/ia64/fpu/w_lgammal.c: Move to ....
* sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
<lgamma-compat.h>.
(__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
(__ieee754_gammal): Define as alias.
* sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
* sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
<math/w_lgamma_compat.c>.
[LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
Define as alias of __lgamma_compat and use in defining lgammal.
* sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
* sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
<math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
(USE_AS_COMPAT): New macro.
(LGAMMA_OLD_VER): Undefine and redefine.
(lgammal): Do not define here.
(gammal): Only define here if [GAMMA_ALIAS].
* conform/linknamespace.pl (@whitelist): Remove signgam.
* sysdeps/nacl/libm.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2015-11-20 22:49:59 +00:00
|
|
|
|
* Newly linked programs that define a variable called signgam will no longer
|
|
|
|
|
have it set by the lgamma, lgammaf and lgammal functions. Programs that
|
|
|
|
|
require signgam to be set by those functions must ensure that they use the
|
|
|
|
|
variable provided by the GNU C Library and declared in <math.h>, without
|
|
|
|
|
defining their own copy.
|
|
|
|
|
|
2015-10-27 16:34:12 +00:00
|
|
|
|
* The minimum GCC version that can be used to build this version of the GNU
|
|
|
|
|
C Library is GCC 4.7. Older GCC versions, and non-GNU compilers, can
|
|
|
|
|
still be used to compile programs using the GNU C Library.
|
2015-11-05 22:18:32 +00:00
|
|
|
|
|
Fix nan functions handling of payload strings (bug 16961, bug 16962).
The nan, nanf and nanl functions handle payload strings by doing e.g.:
if (tagp[0] != '\0')
{
char buf[6 + strlen (tagp)];
sprintf (buf, "NAN(%s)", tagp);
return strtod (buf, NULL);
}
This is an unbounded stack allocation based on the length of the
argument. Furthermore, if the argument starts with an n-char-sequence
followed by ')', that n-char-sequence is wrongly treated as
significant for determining the payload of the resulting NaN, when ISO
C says the call should be equivalent to strtod ("NAN", NULL), without
being affected by that initial n-char-sequence. This patch fixes both
those problems by using the __strtod_nan etc. functions recently
factored out of strtod etc. for that purpose, with those functions
being exported from libc at version GLIBC_PRIVATE.
Tested for x86_64, x86, mips64 and powerpc.
[BZ #16961]
[BZ #16962]
* math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
string on the stack for strtod.
* math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
a string on the stack for strtof.
* math/s_nanl.c (__nanl): Use __strtold_nan instead of
constructing a string on the stack for strtold.
* stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
__strtold_nan to GLIBC_PRIVATE.
* math/test-nan-overflow.c: New file.
* math/test-nan-payload.c: Likewise.
* math/Makefile (tests): Add test-nan-overflow and
test-nan-payload.
2015-12-04 20:36:28 +00:00
|
|
|
|
Security related changes:
|
|
|
|
|
|
2016-02-18 14:10:11 +00:00
|
|
|
|
* An out-of-bounds value in a broken-out struct tm argument to strftime no
|
|
|
|
|
longer causes a crash. Reported by Adam Nielsen. (CVE-2015-8776)
|
|
|
|
|
|
|
|
|
|
* The LD_POINTER_GUARD environment variable can no longer be used to disable
|
|
|
|
|
the pointer guard feature. It is always enabled. Previously,
|
|
|
|
|
LD_POINTER_GUARD could be used to disable security hardening in binaries
|
|
|
|
|
running in privileged AT_SECURE mode. Reported by Hector Marco-Gisbert.
|
|
|
|
|
(CVE-2015-8777)
|
|
|
|
|
|
|
|
|
|
* An integer overflow in hcreate and hcreate_r could lead to an
|
|
|
|
|
out-of-bounds memory access. Reported by Szabolcs Nagy. (CVE-2015-8778)
|
|
|
|
|
|
|
|
|
|
* The catopen function no longer has unbounded stack usage. Reported by
|
|
|
|
|
Max. (CVE-2015-8779)
|
|
|
|
|
|
Fix nan functions handling of payload strings (bug 16961, bug 16962).
The nan, nanf and nanl functions handle payload strings by doing e.g.:
if (tagp[0] != '\0')
{
char buf[6 + strlen (tagp)];
sprintf (buf, "NAN(%s)", tagp);
return strtod (buf, NULL);
}
This is an unbounded stack allocation based on the length of the
argument. Furthermore, if the argument starts with an n-char-sequence
followed by ')', that n-char-sequence is wrongly treated as
significant for determining the payload of the resulting NaN, when ISO
C says the call should be equivalent to strtod ("NAN", NULL), without
being affected by that initial n-char-sequence. This patch fixes both
those problems by using the __strtod_nan etc. functions recently
factored out of strtod etc. for that purpose, with those functions
being exported from libc at version GLIBC_PRIVATE.
Tested for x86_64, x86, mips64 and powerpc.
[BZ #16961]
[BZ #16962]
* math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
string on the stack for strtod.
* math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
a string on the stack for strtof.
* math/s_nanl.c (__nanl): Use __strtold_nan instead of
constructing a string on the stack for strtold.
* stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
__strtold_nan to GLIBC_PRIVATE.
* math/test-nan-overflow.c: New file.
* math/test-nan-payload.c: Likewise.
* math/Makefile (tests): Add test-nan-overflow and
test-nan-payload.
2015-12-04 20:36:28 +00:00
|
|
|
|
* The nan, nanf and nanl functions no longer have unbounded stack usage
|
|
|
|
|
depending on the length of the string passed as an argument to the
|
2016-02-18 14:10:11 +00:00
|
|
|
|
functions. Reported by Joseph Myers. (CVE-2014-9761)
|
Fix nan functions handling of payload strings (bug 16961, bug 16962).
The nan, nanf and nanl functions handle payload strings by doing e.g.:
if (tagp[0] != '\0')
{
char buf[6 + strlen (tagp)];
sprintf (buf, "NAN(%s)", tagp);
return strtod (buf, NULL);
}
This is an unbounded stack allocation based on the length of the
argument. Furthermore, if the argument starts with an n-char-sequence
followed by ')', that n-char-sequence is wrongly treated as
significant for determining the payload of the resulting NaN, when ISO
C says the call should be equivalent to strtod ("NAN", NULL), without
being affected by that initial n-char-sequence. This patch fixes both
those problems by using the __strtod_nan etc. functions recently
factored out of strtod etc. for that purpose, with those functions
being exported from libc at version GLIBC_PRIVATE.
Tested for x86_64, x86, mips64 and powerpc.
[BZ #16961]
[BZ #16962]
* math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
string on the stack for strtod.
* math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
a string on the stack for strtof.
* math/s_nanl.c (__nanl): Use __strtold_nan instead of
constructing a string on the stack for strtold.
* stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
__strtold_nan to GLIBC_PRIVATE.
* math/test-nan-overflow.c: New file.
* math/test-nan-payload.c: Likewise.
* math/Makefile (tests): Add test-nan-overflow and
test-nan-payload.
2015-12-04 20:36:28 +00:00
|
|
|
|
|
2016-02-17 02:26:37 +00:00
|
|
|
|
* A stack-based buffer overflow was found in libresolv when invoked from
|
|
|
|
|
libnss_dns, allowing specially crafted DNS responses to seize control
|
|
|
|
|
of execution flow in the DNS client. The buffer overflow occurs in
|
|
|
|
|
the functions send_dg (send datagram) and send_vc (send TCP) for the
|
|
|
|
|
NSS module libnss_dns.so.2 when calling getaddrinfo with AF_UNSPEC
|
|
|
|
|
family. The use of AF_UNSPEC triggers the low-level resolver code to
|
|
|
|
|
send out two parallel queries for A and AAAA. A mismanagement of the
|
|
|
|
|
buffers used for those queries could result in the response of a query
|
|
|
|
|
writing beyond the alloca allocated buffer created by
|
|
|
|
|
_nss_dns_gethostbyname4_r. Buffer management is simplified to remove
|
|
|
|
|
the overflow. Thanks to the Google Security Team and Red Hat for
|
|
|
|
|
reporting the security impact of this issue, and Robert Holiday of
|
|
|
|
|
Ciena for reporting the related bug 18665. (CVE-2015-7547)
|
|
|
|
|
|
2016-02-18 17:51:45 +00:00
|
|
|
|
The following bugs are resolved with this release:
|
2015-11-05 22:18:32 +00:00
|
|
|
|
|
2016-02-18 17:51:45 +00:00
|
|
|
|
[89] localedata: Locales nb_NO and nn_NO should transliterate æøå
|
|
|
|
|
[887] math: Math library function "logb" and "nextafter" inconsistent
|
|
|
|
|
[2542] math: Incorrect return from float gamma (-0X1.FA471547C2FE5P+1)
|
|
|
|
|
[2543] math: Incorrect return from float gamma (-0X1.9260DCP+1)
|
|
|
|
|
[2558] math: Incorrect return from double gamma (-0X1.FA471547C2FE5P+1)
|
|
|
|
|
[2898] libc: [improve] warning: the use of `mktemp' is dangerous, better
|
|
|
|
|
use `mkstemp'
|
|
|
|
|
[4404] localedata: German translation of "Alarm clock" is misleading
|
|
|
|
|
[6799] math: nextafter() and nexttoward() doen't set errno on
|
|
|
|
|
overflow/underflow errors
|
|
|
|
|
[6803] math: scalb(), scalbln(), scalbn() do not set errno on
|
|
|
|
|
overflow/underflow
|
|
|
|
|
[10432] nis: _nss_nis_setnetgrent assertion failure
|
|
|
|
|
[11460] libc: fts has no LFS support
|
|
|
|
|
[12926] network: getaddrinfo()/make_request() may spin forever
|
|
|
|
|
[13065] nptl: Race condition in pthread barriers
|
|
|
|
|
[13690] nptl: pthread_mutex_unlock potentially cause invalid access
|
|
|
|
|
[14341] dynamic-link: Dynamic linker crash when DT_JMPREL and DT_REL{,A}
|
|
|
|
|
are not contiguous
|
|
|
|
|
[14551] math: [ldbl-128ibm] strtold overflow handling for IBM long double
|
|
|
|
|
[14912] libc: Rename non-installed bits/*.h headers
|
|
|
|
|
[15002] libc: Avoid undefined behavior in posix_fallocate overflow check
|
|
|
|
|
[15367] math: Let gcc use __builtin_isinf
|
|
|
|
|
[15384] math: One constant fewer in ieee754/dbl-64/wordsize-64/s_finite.c
|
|
|
|
|
[15421] math: lgamma wrongly sets signgam for ISO C
|
|
|
|
|
[15470] math: [arm] On ARM llrintl() and llroundl() do not raise
|
|
|
|
|
FE_INVALID with argument out of range
|
|
|
|
|
[15491] math: [i386/x86_64] x86 nearbyint implementations wrongly clear
|
|
|
|
|
all exceptions
|
|
|
|
|
[15786] dynamic-link: ifunc resolver functions can smash function
|
|
|
|
|
arguments
|
|
|
|
|
[15918] math: Unnecessary check for equality in hypotf()
|
|
|
|
|
[16061] localedata: Review / update transliteration data
|
|
|
|
|
[16068] math: [i386/x86_64] x86 and x86_64 fesetenv exclude state they
|
|
|
|
|
should include
|
|
|
|
|
[16141] time: strptime %z offset restriction
|
|
|
|
|
[16171] math: drem should be alias of remainder
|
|
|
|
|
[16296] math: fegetround is pure?
|
|
|
|
|
[16347] math: [ldbl-128ibm] ldbl-128/e_lgammal_r.c may not be suitable.
|
|
|
|
|
[16364] libc: sleep may leave SIGCHLD blocked on sync cancellation on
|
|
|
|
|
GNU/Linux
|
|
|
|
|
[16399] math: [mips] lrint / llrint / lround / llround missing exceptions
|
|
|
|
|
[16415] math: Clean up ldbl-128 / ldbl-128ibm expm1l for large positive
|
|
|
|
|
arguments
|
|
|
|
|
[16422] math: [powerpc] math-float, math-double failing llrint tests with
|
|
|
|
|
"Exception "Inexact" set" on ppc32
|
|
|
|
|
[16495] localedata: nl_NL: date_fmt: shuffle year/month around
|
|
|
|
|
[16517] math: Missing underflow exception from tanf/tan/tanl
|
|
|
|
|
[16519] math: Missing underflow exception from sinhf
|
|
|
|
|
[16520] math: Missing underflow exception from tanhf
|
|
|
|
|
[16521] math: Missing underflow exception from exp2
|
|
|
|
|
[16620] math: [ldbl-128ibm] exp10l spurious overflows / bad directed
|
|
|
|
|
rounding results
|
|
|
|
|
[16734] stdio: fopen calls mmap to allocate its buffer
|
|
|
|
|
[16961] math: nan function incorrect handling of bad sequences
|
|
|
|
|
[16962] math: nan function unbounded stack allocation (CVE-2014-9761)
|
|
|
|
|
[16973] localedata: Fix lang_lib/lang_term as per ISO 639-2
|
|
|
|
|
[16985] locale: localedef: confusing error message when opening output
|
|
|
|
|
fails
|
|
|
|
|
[17118] math: ctanh(INFINITY + 2 * I) returns incorrect value
|
|
|
|
|
[17197] locale: Redundant shift character in iconv conversion output at
|
|
|
|
|
block boundary
|
|
|
|
|
[17243] libc: trunk/posix/execl.c:53: va_args problem ?
|
|
|
|
|
[17244] libc: trunk/sysdeps/unix/sysv/linux/semctl.c:116: va_args muxup ?
|
|
|
|
|
[17250] dynamic-link: static linking breaks nss loading
|
|
|
|
|
(getaddrinfo/getpwnam/etc...)
|
|
|
|
|
[17404] libc: atomic_exchange_rel lacking a barrier on MIPS16, GCC before
|
|
|
|
|
4.7?
|
|
|
|
|
[17441] math: isnan() should use __builtin_isnan() in GCC
|
|
|
|
|
[17514] nptl: Assert failure unlocking ERRORCHECK mutex after timedlock
|
|
|
|
|
(related to lock elision)
|
|
|
|
|
[17787] manual: Exponent on page 324 of the PDF ends prematurely
|
|
|
|
|
[17886] time: strptime should be able to parse "Z" as a timezone with %z
|
|
|
|
|
[17887] time: strptime should be able to parse "+01:00" style timezones
|
|
|
|
|
[17905] libc: catopen() Multiple unbounded stack allocations
|
|
|
|
|
(CVE-2015-8779)
|
|
|
|
|
[18084] libc: backtrace (..., 0) dumps core on x86
|
|
|
|
|
[18086] libc: nice() sets errno to 0 on success
|
|
|
|
|
[18240] libc: hcreate, hcreate_r should fail with ENOMEM if element count
|
|
|
|
|
is too large (CVE-2015-8778)
|
|
|
|
|
[18251] dynamic-link: SONAME missing when audit modules provides path
|
|
|
|
|
[18265] libc: add attributes for wchar string and memory functions
|
|
|
|
|
[18370] math: csqrt missing underflows
|
|
|
|
|
[18421] libc: [hppa] read-only segment has dynamic relocations
|
|
|
|
|
[18472] libc: Obsolete syscall wrappers should be compat symbols
|
|
|
|
|
[18480] libc: hppa glibc miscompilation in sched_setaffinity()
|
|
|
|
|
[18491] localedata: Update tr_TR LC_CTYPE as part of Unicode updates
|
|
|
|
|
[18525] localedata: Remove locale timezone information
|
|
|
|
|
[18560] libc: [powerpc] spurious bits/ipc.h definitions
|
|
|
|
|
[18568] localedata: Update locale data to Unicode 8.0
|
|
|
|
|
[18589] locale: sort-test.sh fails at random
|
|
|
|
|
[18595] math: ctan, ctanh missing underflows
|
|
|
|
|
[18604] libc: assert macro-expands its argument
|
|
|
|
|
[18610] math: S390: fetestexcept() reports any exception if DXC-code
|
|
|
|
|
contains a vector instruction exception.
|
|
|
|
|
[18611] math: j1, jn missing errno setting on underflow
|
|
|
|
|
[18618] localedata: sync Chechen locale definitions with other *_RU
|
|
|
|
|
locales
|
|
|
|
|
[18647] math: powf(-0x1.000002p0, 0x1p30) returns 0 instead of +inf
|
|
|
|
|
[18661] libc: Some x86-64 assembly codes don't align stack to 16 bytes
|
|
|
|
|
[18665] network: In send_dg, the recvfrom function is NOT always using the
|
|
|
|
|
buffer size of a newly created buffer (CVE-2015-7547)
|
|
|
|
|
[18674] libc: [i386] trunk/sysdeps/i386/tst-auditmod3b.c:84: possible
|
|
|
|
|
missing break ?
|
|
|
|
|
[18675] libc: fpathconf(_PC_NAME_MAX) fails against large filesystems for
|
|
|
|
|
32bit processes
|
|
|
|
|
[18681] libc: regexp.h is obsolete and buggy, and should be desupported
|
|
|
|
|
[18699] math: tilegx cproj() for various complex infinities does not yield
|
|
|
|
|
infinity
|
|
|
|
|
[18724] libc: Harden put*ent functions against data injection
|
|
|
|
|
[18743] nptl: PowerPC: findutils testcase fails with --enable-lock-elision
|
|
|
|
|
[18755] build: build errors with -DNDEBUG
|
|
|
|
|
[18757] stdio: fmemopen fails to set errno on failure
|
|
|
|
|
[18778] dynamic-link: ld.so crashes if failed dlopen causes libpthread to
|
|
|
|
|
be forced unloaded
|
|
|
|
|
[18781] libc: openat64 lacks O_LARGEFILE
|
|
|
|
|
[18787] libc: [hppa] sysdeps/unix/sysv/linux/hppa/bits/atomic.h:71:6:
|
|
|
|
|
error: can’t find a register in class ‘R1_REGS’ while reloading ‘asm’
|
|
|
|
|
[18789] math: [ldbl-128ibm] sinhl inaccurate near 0
|
|
|
|
|
[18790] math: [ldbl-128ibm] tanhl inaccurate
|
|
|
|
|
[18795] libc: stpncpy fortification misses buffer lengths that are
|
|
|
|
|
statically too large
|
|
|
|
|
[18796] build: build fails for --disable-mathvec
|
|
|
|
|
[18803] math: hypot missing underflows
|
|
|
|
|
[18820] stdio: fmemopen may leak memory on failure
|
|
|
|
|
[18823] math: csqrt spurious underflows
|
|
|
|
|
[18824] math: fma spurious underflows
|
|
|
|
|
[18825] math: pow missing underflows
|
|
|
|
|
[18857] math: [ldbl-128ibm] nearbyintl wrongly uses signaling comparisons
|
|
|
|
|
[18868] nptl: pthread_barrier_init typo has in-theory-undefined behavior
|
|
|
|
|
[18870] build: sem_open.c fails to compile with missing symbol
|
|
|
|
|
FUTEX_SHARED
|
|
|
|
|
[18872] stdio: Fix memory leak in printf_positional
|
|
|
|
|
[18873] libc: posix_fallocate overflow check ineffective
|
|
|
|
|
[18875] math: Excess precision leads incorrect libm
|
|
|
|
|
[18877] libc: arm: mmap offset regression
|
|
|
|
|
[18887] libc: memory corruption when using getmntent on blank lines
|
|
|
|
|
[18918] localedata: hu_HU: change time to HH:MM:SS format
|
|
|
|
|
[18921] libc: Regression: extraneous stat() and fstat() performed by
|
|
|
|
|
opendir()
|
|
|
|
|
[18928] dynamic-link: LD_POINTER_GUARD is not ignored for privileged
|
|
|
|
|
binaries (CVE-2015-8777)
|
|
|
|
|
[18951] math: tgamma missing underflows
|
|
|
|
|
[18952] math: [ldbl-128/ldbl-128ibm] lgammal spurious "invalid", incorrect
|
|
|
|
|
signgam
|
|
|
|
|
[18953] localedata: lt_LT: change currency symbol to the euro
|
|
|
|
|
[18956] math: powf inaccuracy
|
|
|
|
|
[18961] math: [i386] exp missing underflows
|
|
|
|
|
[18966] math: [i386] exp10 missing underflows
|
|
|
|
|
[18967] math: math.h XSI POSIX namespace (gamma, isnan, scalb)
|
|
|
|
|
[18969] build: multiple string test failures due to missing locale
|
|
|
|
|
dependencies
|
|
|
|
|
[18970] libc: Reference of pthread_setcancelstate in libc.a
|
|
|
|
|
[18977] math: float / long double Bessel functions not in XSI POSIX
|
|
|
|
|
[18980] math: i386 libm functions return with excess range and precision
|
|
|
|
|
[18981] math: i386 scalb*, ldexp return with excess range and precision
|
|
|
|
|
[18982] stdio: va_list and vprintf
|
|
|
|
|
[18985] time: Passing out of range data to strftime() causes a segfault
|
|
|
|
|
(CVE-2015-8776)
|
|
|
|
|
[19003] math: [x86_64] fma4 version of pow inappropriate contraction
|
|
|
|
|
[19007] libc: FAIL: elf/check-localplt with -z now and binutils 2.26
|
|
|
|
|
[19012] locale: iconv_open leaks memory on error path
|
|
|
|
|
[19016] math: clog, clog10 inaccuracy
|
|
|
|
|
[19018] nptl: Mangle function pointers in tls_dtor_list
|
|
|
|
|
[19032] math: [i386] acosh (-qNaN) spurious "invalid" exception
|
|
|
|
|
[19046] math: ldbl-128 / ldbl-128ibm lgamma bad overflow handling
|
|
|
|
|
[19048] malloc: malloc: arena free list can become cyclic, increasing
|
|
|
|
|
contention
|
|
|
|
|
[19049] math: [powerpc] erfc incorrect zero sign
|
|
|
|
|
[19050] math: [powerpc] log* incorrect zero sign
|
|
|
|
|
[19058] math: [x86_64] Link fail with -fopenmp and -flto
|
|
|
|
|
[19059] math: nexttoward overflow incorrect in non-default rounding modes
|
|
|
|
|
[19071] math: ldbl-96 lroundl incorrect just below powers of 2
|
|
|
|
|
[19074] network: Data race in _res_hconf_reorder_addrs
|
|
|
|
|
[19076] math: [ldbl-128ibm] log1pl (-1) wrong sign of infinity
|
|
|
|
|
[19077] math: [ldbl-128ibm] logl (1) incorrect sign of zero result
|
|
|
|
|
[19078] math: [ldbl-128ibm] expl overflow incorrect in non-default
|
|
|
|
|
rounding modes
|
|
|
|
|
[19079] math: dbl-64/wordsize-64 lround based on llround incorrect for
|
|
|
|
|
ILP32
|
|
|
|
|
[19085] math: ldbl-128 lrintl, lroundl missing exceptions for 32-bit long
|
|
|
|
|
[19086] manual: posix_fallocate64 documented argument order is wrong.
|
|
|
|
|
[19088] math: lround, llround missing exceptions close to overflow
|
|
|
|
|
threshold
|
|
|
|
|
[19094] math: lrint, llrint missing exceptions close to overflow threshold
|
|
|
|
|
[19095] math: dbl-64 lrint incorrect for 64-bit long
|
|
|
|
|
[19122] dynamic-link: Unnecessary PLT relocations in librtld.os
|
|
|
|
|
[19124] dynamic-link: ld.so failed to build with older assmebler
|
|
|
|
|
[19125] math: [powerpc32] llroundf, llround incorrect exceptions
|
|
|
|
|
[19129] dynamic-link: [arm] Concurrent lazy TLSDESC resolution can crash
|
|
|
|
|
[19134] math: [powerpc32] lround, lroundf spurious exceptions
|
|
|
|
|
[19137] libc: i386/epoll_pwait.S doesn't support cancellation
|
|
|
|
|
[19143] nptl: Remove CPU set size checking from sched_setaffinity,
|
|
|
|
|
pthread_setaffinity_np
|
|
|
|
|
[19156] math: [ldbl-128] j0l spurious underflows
|
|
|
|
|
[19164] nptl: tst-getcpu fails with many possible CPUs
|
|
|
|
|
[19168] math: math/test-ildoubl and math/test-ldouble failure
|
|
|
|
|
[19174] nptl: PowerPC: TLE enabled pthread mutex performs poorly.
|
|
|
|
|
[19178] dynamic-link: ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA confuses
|
|
|
|
|
prelink
|
|
|
|
|
[19181] math: [i386/x86_64] fesetenv (FE_DFL_ENV), fesetenv
|
|
|
|
|
(FE_NOMASK_ENV) do not clear SSE exceptions
|
|
|
|
|
[19182] malloc: malloc deadlock between ptmalloc_lock_all and
|
|
|
|
|
_int_new_arena/reused_arena
|
|
|
|
|
[19189] math: [ldbl-128] log1pl (-qNaN) spurious "invalid" exception
|
|
|
|
|
[19201] math: dbl-64 remainder incorrect sign of zero result
|
|
|
|
|
[19205] math: bits/math-finite.h conditions do not match math.h and
|
|
|
|
|
bits/mathcalls.h
|
|
|
|
|
[19209] math: bits/math-finite.h wrongly maps ldexp to scalbn
|
|
|
|
|
[19211] math: lgamma functions do not set signgam for -ffinite-math-only
|
|
|
|
|
for C99-based standards
|
|
|
|
|
[19212] libc: features.h not -Wundef clean
|
|
|
|
|
[19213] math: [i386/x86_64] log* (1) incorrect zero sign for -ffinite-
|
|
|
|
|
math-only
|
|
|
|
|
[19214] libc: Family and model identification for AMD CPU's are incorrect.
|
|
|
|
|
[19219] libc: GLIBC build fails for ia64 with missing __nearbyintl
|
|
|
|
|
[19228] math: [powerpc] nearbyint wrongly clears "inexact", leaves traps
|
|
|
|
|
disabled
|
|
|
|
|
[19235] math: [powerpc64] lround, lroundf, llround, llroundf spurious
|
|
|
|
|
"inexact" exceptions
|
|
|
|
|
[19238] math: [powerpc] round, roundf spurious "inexact" for integer
|
|
|
|
|
arguments
|
|
|
|
|
[19242] libc: strtol incorrect in Turkish locales
|
|
|
|
|
[19243] malloc: reused_arena can pick an arena on the free list, leading
|
|
|
|
|
to an assertion failure and reference count corruption
|
|
|
|
|
[19253] time: tzset() ineffective when temporary TZ did not include DST
|
|
|
|
|
rules
|
|
|
|
|
[19266] math: strtod ("NAN(I)") incorrect in Turkish locales
|
|
|
|
|
[19270] math: [hppa] Shared libm missing __isnanl
|
|
|
|
|
[19285] libc: [hppa] sysdeps/unix/sysv/linux/hppa/bits/mman.h: missing
|
|
|
|
|
MAP_HUGETLB and MAP_STACK defines
|
|
|
|
|
[19313] nptl: Wrong __cpu_mask for x32
|
|
|
|
|
[19347] libc: grantpt: try to force a specific gid even without pt_chown
|
|
|
|
|
[19349] math: [ldbl-128ibm] tanhl inaccurate for small arguments
|
|
|
|
|
[19350] math: [ldbl-128ibm] sinhl spurious overflows
|
|
|
|
|
[19351] math: [ldbl-128ibm] logl inaccurate near 1
|
|
|
|
|
[19363] time: x32: times() return value wrongly truncates/sign extends
|
|
|
|
|
from 32bit
|
|
|
|
|
[19367] dynamic-link: Improve branch prediction on Silvermont
|
|
|
|
|
[19369] network: Default domain name not reset by res_ninit when "search"
|
|
|
|
|
/ "domain" entry is removed from resolv.conf
|
|
|
|
|
[19375] math: powerpc: incorrect results for POWER7 logb with negative
|
|
|
|
|
subnormals
|
|
|
|
|
[19385] localedata: bg_BG: time separator should be colon, not comma
|
|
|
|
|
[19408] libc: linux personality syscall wrapper may erroneously return an
|
|
|
|
|
error on 32-bit architectures
|
|
|
|
|
[19415] libc: dladdr returns wrong names on hppa
|
|
|
|
|
[19432] libc: iconv rejects redundant escape sequences in IBM900, IBM903,
|
|
|
|
|
IBM905, IBM907, and IBM909
|
|
|
|
|
[19439] math: Unix98 isinf and isnan functions conflict with C++11
|
|
|
|
|
[19443] build: build failures with -DDEBUG
|
|
|
|
|
[19451] build: Make check fails on test-double-vlen2
|
|
|
|
|
[19462] libc: Glibc failed to build with -Os
|
|
|
|
|
[19465] math: Wrong code with -Os
|
|
|
|
|
[19466] time: time/tst-mktime2.c is compiled into an infinite loop with
|
|
|
|
|
-Os
|
|
|
|
|
[19467] string: Fast_Unaligned_Load needs to be enabled for Excavator core
|
|
|
|
|
CPU's.
|
|
|
|
|
[19475] libc: Glibc 2.22 doesn't build on sparc [PATCH]
|
|
|
|
|
[19486] math: S390: Math tests fail with "Exception Inexact set".
|
|
|
|
|
[19529] libc: [ARM]: FAIL: stdlib/tst-makecontext
|
|
|
|
|
[19550] libc: [mips] mmap negative offset handling inconsistent with other
|
|
|
|
|
architectures
|
|
|
|
|
[19590] math: Fail to build shared objects that use libmvec.so functions.
|
2015-05-22 08:00:26 +00:00
|
|
|
|
|
2015-02-06 15:44:07 +00:00
|
|
|
|
Version 2.22
|
|
|
|
|
|
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
2015-07-27 23:59:08 +00:00
|
|
|
|
438, 2981, 4719, 6544, 6792, 11216, 12836, 13028, 13064, 13151, 13152,
|
2015-07-30 14:08:35 +00:00
|
|
|
|
14094, 14113, 14292, 14841, 14906, 14958, 15319, 15467, 15790, 15969,
|
|
|
|
|
16159, 16339, 16350, 16351, 16352, 16353, 16361, 16512, 16526, 16538,
|
|
|
|
|
16559, 16560, 16704, 16783, 16850, 17053, 17090, 17195, 17269, 17293,
|
|
|
|
|
17322, 17403, 17475, 17523, 17542, 17569, 17581, 17588, 17596, 17620,
|
|
|
|
|
17621, 17628, 17631, 17692, 17711, 17715, 17776, 17779, 17792, 17833,
|
|
|
|
|
17836, 17841, 17912, 17916, 17930, 17932, 17944, 17949, 17964, 17965,
|
|
|
|
|
17967, 17969, 17977, 17978, 17987, 17991, 17996, 17998, 17999, 18007,
|
|
|
|
|
18019, 18020, 18029, 18030, 18032, 18034, 18036, 18038, 18039, 18042,
|
|
|
|
|
18043, 18046, 18047, 18049, 18068, 18078, 18080, 18093, 18100, 18104,
|
|
|
|
|
18110, 18111, 18116, 18125, 18128, 18134, 18138, 18185, 18196, 18197,
|
|
|
|
|
18206, 18210, 18211, 18217, 18219, 18220, 18221, 18234, 18244, 18245,
|
|
|
|
|
18247, 18287, 18319, 18324, 18333, 18346, 18371, 18383, 18397, 18400,
|
|
|
|
|
18409, 18410, 18412, 18418, 18422, 18434, 18444, 18457, 18468, 18469,
|
|
|
|
|
18470, 18479, 18483, 18495, 18496, 18497, 18498, 18502, 18507, 18508,
|
|
|
|
|
18512, 18513, 18519, 18520, 18522, 18527, 18528, 18529, 18530, 18532,
|
|
|
|
|
18533, 18534, 18536, 18539, 18540, 18542, 18544, 18545, 18546, 18547,
|
|
|
|
|
18549, 18553, 18557, 18558, 18569, 18583, 18585, 18586, 18592, 18593,
|
2015-11-04 16:48:40 +00:00
|
|
|
|
18594, 18602, 18612, 18613, 18619, 18633, 18635, 18641, 18643, 18648,
|
|
|
|
|
18657, 18676, 18694, 18696, 18887.
|
2015-04-21 12:06:31 +00:00
|
|
|
|
|
2015-04-24 11:34:17 +00:00
|
|
|
|
* Cache information can be queried via sysconf() function on s390 e.g. with
|
|
|
|
|
_SC_LEVEL1_ICACHE_SIZE as argument.
|
|
|
|
|
|
2015-04-21 12:06:31 +00:00
|
|
|
|
* A buffer overflow in gethostbyname_r and related functions performing DNS
|
|
|
|
|
requests has been fixed. If the NSS functions were called with a
|
|
|
|
|
misaligned buffer, the buffer length change due to pointer alignment was
|
|
|
|
|
not taken into account. This could result in application crashes or,
|
|
|
|
|
potentially arbitrary code execution, using crafted, but syntactically
|
|
|
|
|
valid DNS responses. (CVE-2015-1781)
|
Unicode 7.0.0 update; added generator scripts.
for localedata/ChangeLog
[BZ #17588]
[BZ #13064]
[BZ #14094]
[BZ #17998]
* unicode-gen/Makefile: New.
* unicode-gen/unicode-license.txt: New, from Unicode.
* unicode-gen/UnicodeData.txt: New, from Unicode.
* unicode-gen/DerivedCoreProperties.txt: New, from Unicode.
* unicode-gen/EastAsianWidth.txt: New, from Unicode.
* unicode-gen/gen_unicode_ctype.py: New generator, from Mike
FABIAN <mfabian@redhat.com>.
* unicode-gen/ctype_compatibility.py: New verifier, from
Pravin Satpute <psatpute@redhat.com> and Mike FABIAN.
* unicode-gen/ctype_compatibility_test_cases.py: New verifier
module, from Mike FABIAN.
* unicode-gen/utf8_gen.py: New generator, from Pravin Satpute
and Mike FABIAN.
* unicode-gen/utf8_compatibility.py: New verifier, from Pravin
Satpute and Mike FABIAN.
* charmaps/UTF-8: Update.
* locales/i18n: Update.
* gen-unicode-ctype.c: Remove.
* tst-ctype-de_DE.ISO-8859-1.in: Adjust, islower now returns
true for ordinal indicators.
2015-02-20 22:14:59 +00:00
|
|
|
|
|
2015-04-24 15:34:47 +00:00
|
|
|
|
* The time zone file parser has been made more robust against crafted time
|
|
|
|
|
zone files, avoiding heap buffer overflows related to the processing of
|
|
|
|
|
the tzh_ttisstdcnt and tzh_ttisgmtcnt fields, and a stack overflow due to
|
|
|
|
|
large time zone data files. Overly long time zone specifiers in the TZ
|
|
|
|
|
variable no longer result in stack overflows and crashes.
|
|
|
|
|
|
2015-03-25 05:23:47 +00:00
|
|
|
|
* A powerpc and powerpc64 optimization for TLS, similar to TLS descriptors
|
|
|
|
|
for LD and GD on x86 and x86-64, has been implemented. You will need
|
|
|
|
|
binutils-2.24 or later to enable this optimization.
|
|
|
|
|
|
Unicode 7.0.0 update; added generator scripts.
for localedata/ChangeLog
[BZ #17588]
[BZ #13064]
[BZ #14094]
[BZ #17998]
* unicode-gen/Makefile: New.
* unicode-gen/unicode-license.txt: New, from Unicode.
* unicode-gen/UnicodeData.txt: New, from Unicode.
* unicode-gen/DerivedCoreProperties.txt: New, from Unicode.
* unicode-gen/EastAsianWidth.txt: New, from Unicode.
* unicode-gen/gen_unicode_ctype.py: New generator, from Mike
FABIAN <mfabian@redhat.com>.
* unicode-gen/ctype_compatibility.py: New verifier, from
Pravin Satpute <psatpute@redhat.com> and Mike FABIAN.
* unicode-gen/ctype_compatibility_test_cases.py: New verifier
module, from Mike FABIAN.
* unicode-gen/utf8_gen.py: New generator, from Pravin Satpute
and Mike FABIAN.
* unicode-gen/utf8_compatibility.py: New verifier, from Pravin
Satpute and Mike FABIAN.
* charmaps/UTF-8: Update.
* locales/i18n: Update.
* gen-unicode-ctype.c: Remove.
* tst-ctype-de_DE.ISO-8859-1.in: Adjust, islower now returns
true for ordinal indicators.
2015-02-20 22:14:59 +00:00
|
|
|
|
* Character encoding and ctype tables were updated to Unicode 7.0.0, using
|
|
|
|
|
new generator scripts contributed by Pravin Satpute and Mike FABIAN (Red
|
|
|
|
|
Hat). These updates cause user visible changes, such as the fix for bug
|
|
|
|
|
17998.
|
|
|
|
|
|
2015-03-25 15:35:46 +00:00
|
|
|
|
* CVE-2014-8121 The NSS backends shared internal state between the getXXent
|
|
|
|
|
and getXXbyYY NSS calls for the same database, causing a denial-of-service
|
|
|
|
|
condition in some applications.
|
2015-06-09 11:25:49 +00:00
|
|
|
|
|
|
|
|
|
* Added vector math library named libmvec with the following vectorized x86_64
|
2015-06-18 17:11:27 +00:00
|
|
|
|
implementations: cos, cosf, sin, sinf, sincos, sincosf, log, logf, exp, expf,
|
|
|
|
|
pow, powf.
|
2015-06-09 11:25:49 +00:00
|
|
|
|
The library can be disabled with --disable-mathvec. Use of the functions is
|
|
|
|
|
enabled with -fopenmp -ffast-math starting from -O1 for GCC version >= 4.9.0.
|
2015-06-25 16:46:50 +00:00
|
|
|
|
Shared library libmvec.so is linked in as needed when using -lm (no need to
|
|
|
|
|
specify -lmvec explicitly for not static builds).
|
2015-06-09 11:25:49 +00:00
|
|
|
|
Visit <https://sourceware.org/glibc/wiki/libmvec> for detailed information.
|
2014-06-09 19:19:25 +00:00
|
|
|
|
|
|
|
|
|
* A new fmemopen implementation has been added with the goal of POSIX
|
|
|
|
|
compliance. The new implementation fixes the following long-standing
|
|
|
|
|
issues: BZ#6544, BZ#11216, BZ#12836, BZ#13151, BZ#13152, and BZ#14292. The
|
|
|
|
|
old implementation is still present for use be by existing binaries.
|
2015-07-20 11:29:15 +00:00
|
|
|
|
|
|
|
|
|
* The 32-bit sparc sigaction ABI was inadvertently broken in the 2.20 and 2.21
|
|
|
|
|
releases. It has been fixed to match 2.19 and older, but binaries built
|
|
|
|
|
against 2.20 and 2.21 might need to be recompiled. See BZ#18694.
|
2015-07-21 20:31:21 +00:00
|
|
|
|
|
|
|
|
|
* Port to Native Client running on ARMv7-A (--host=arm-nacl).
|
|
|
|
|
Contributed by Roland McGrath (Google).
|
2015-08-01 18:38:05 +00:00
|
|
|
|
|
|
|
|
|
* The header <regexp.h> is deprecated, and will be removed in a future
|
|
|
|
|
release. Use of this header will trigger a deprecation warning.
|
|
|
|
|
Application developers should update their code to use <regex.h> instead.
|
|
|
|
|
|
2015-08-06 02:35:28 +00:00
|
|
|
|
This header was formerly part of SUS, but was deprecated in 1994 and
|
2015-08-01 18:38:05 +00:00
|
|
|
|
removed from the standard in 2001. Also, the glibc implementation
|
|
|
|
|
leaks memory. See BZ#18681 for more details.
|
2015-02-06 15:44:07 +00:00
|
|
|
|
|
2014-09-10 16:21:50 +00:00
|
|
|
|
Version 2.21
|
|
|
|
|
|
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
2015-01-21 05:46:16 +00:00
|
|
|
|
6652, 10672, 12674, 12847, 12926, 13862, 14132, 14138, 14171, 14498,
|
2015-02-06 05:30:42 +00:00
|
|
|
|
15215, 15378, 15884, 16009, 16418, 16191, 16469, 16576, 16617, 16618,
|
|
|
|
|
16619, 16657, 16740, 16857, 17192, 17266, 17273, 17344, 17363, 17370,
|
|
|
|
|
17371, 17411, 17460, 17475, 17485, 17501, 17506, 17508, 17522, 17555,
|
|
|
|
|
17570, 17571, 17572, 17573, 17574, 17582, 17583, 17584, 17585, 17589,
|
|
|
|
|
17594, 17601, 17608, 17616, 17625, 17630, 17633, 17634, 17635, 17647,
|
|
|
|
|
17653, 17657, 17658, 17664, 17665, 17668, 17682, 17702, 17717, 17719,
|
|
|
|
|
17722, 17723, 17724, 17725, 17732, 17733, 17744, 17745, 17746, 17747,
|
|
|
|
|
17748, 17775, 17777, 17780, 17781, 17782, 17791, 17793, 17796, 17797,
|
|
|
|
|
17801, 17803, 17806, 17834, 17844, 17848, 17868, 17869, 17870, 17885,
|
|
|
|
|
17892.
|
|
|
|
|
|
2015-02-06 15:28:24 +00:00
|
|
|
|
* CVE-2015-1472 CVE-2015-1473 Under certain conditions wscanf can allocate
|
|
|
|
|
too little memory for the to-be-scanned arguments and overflow the
|
|
|
|
|
allocated buffer. The implementation now correctly computes the required
|
|
|
|
|
buffer size when using malloc, and switches to malloc from alloca as
|
|
|
|
|
intended.
|
2015-01-21 05:46:16 +00:00
|
|
|
|
|
|
|
|
|
* A new semaphore algorithm has been implemented in generic C code for all
|
|
|
|
|
machines. Previous custom assembly implementations of semaphore were
|
|
|
|
|
difficult to reason about or ensure that they were safe. The new version
|
|
|
|
|
of semaphore supports machines with 64-bit or 32-bit atomic operations.
|
|
|
|
|
The new semaphore algorithm is used by sem_init, sem_open, sem_post,
|
|
|
|
|
sem_wait, sem_timedwait, sem_trywait, and sem_getvalue.
|
2014-11-19 16:44:12 +00:00
|
|
|
|
|
2015-01-18 06:29:12 +00:00
|
|
|
|
* Port to Altera Nios II has been contributed by Mentor Graphics.
|
|
|
|
|
|
2015-01-09 21:04:26 +00:00
|
|
|
|
* Optimized strcpy, stpcpy, strncpy, stpncpy, strcmp, and strncmp
|
|
|
|
|
implementations for powerpc64/powerpc64le.
|
2015-01-07 12:18:30 +00:00
|
|
|
|
Implemented by Adhemerval Zanella (IBM).
|
2014-12-23 11:59:44 +00:00
|
|
|
|
|
2014-11-07 17:25:32 +00:00
|
|
|
|
* Added support for TSX lock elision of pthread mutexes on powerpc32, powerpc64
|
|
|
|
|
and powerpc64le. This may improve lock scaling of existing programs on
|
|
|
|
|
HTM capable systems. The lock elision code is only enabled with
|
|
|
|
|
--enable-lock-elision=yes. Also, the TSX lock elision implementation for
|
|
|
|
|
powerpc will issue a transaction abort on every syscall to avoid side
|
|
|
|
|
effects being visible outside transactions.
|
|
|
|
|
|
2015-01-07 11:31:10 +00:00
|
|
|
|
* Optimized strcpy, stpcpy, strchrnul and strrchr implementations for
|
|
|
|
|
AArch64. Contributed by ARM Ltd.
|
2015-01-07 11:26:13 +00:00
|
|
|
|
|
2014-12-30 17:32:50 +00:00
|
|
|
|
* i386 memcpy functions optimized with SSE2 unaligned load/store.
|
|
|
|
|
|
2014-11-19 16:44:12 +00:00
|
|
|
|
* CVE-2104-7817 The wordexp function could ignore the WRDE_NOCMD flag
|
|
|
|
|
under certain input conditions resulting in the execution of a shell for
|
2015-02-06 17:59:37 +00:00
|
|
|
|
command substitution when the application did not request it. The
|
2014-11-19 16:44:12 +00:00
|
|
|
|
implementation now checks WRDE_NOCMD immediately before executing the
|
|
|
|
|
shell and returns the error WRDE_CMDSUB as expected.
|
2014-11-12 11:36:39 +00:00
|
|
|
|
|
2014-12-15 09:09:32 +00:00
|
|
|
|
* CVE-2012-3406 printf-style functions could run into a stack overflow when
|
|
|
|
|
processing format strings with a large number of format specifiers.
|
|
|
|
|
|
2014-12-18 01:01:43 +00:00
|
|
|
|
* CVE-2014-9402 The nss_dns implementation of getnetbyname could run into an
|
|
|
|
|
infinite loop if the DNS response contained a PTR record of an unexpected
|
|
|
|
|
format.
|
2014-12-15 16:41:13 +00:00
|
|
|
|
|
2014-11-14 18:00:34 +00:00
|
|
|
|
* The minimum GCC version that can be used to build this version of the GNU
|
|
|
|
|
C Library is GCC 4.6. Older GCC versions, and non-GNU compilers, can
|
|
|
|
|
still be used to compile programs using the GNU C Library.
|
|
|
|
|
|
Use -Werror by default, add --disable-werror.
As discussed starting at
<https://sourceware.org/ml/libc-alpha/2014-11/msg00323.html>, this
patch makes the glibc build use -Werror by default to avoid
accidentally adding new warnings to the build. The configure option
--disable-werror can be used to disable this.
-Wno-error=undef is temporarily used because the build isn't clean
regarding -Wundef warnings. The idea is that once the remaining
-Wundef warnings have been cleaned up (in at least one configuration),
-Wno-error=undef will be removed.
I get a clean build and test on x86_64 (GCC 4.9 branch) with this
patch. The expectation is that this may well break the build for some
other configurations, and people seeing such breakage should make
appropriate fixes to fix or suppress the warnings for their
configurations. In some cases that may involve using pragmas as the
right fix (I think that will be right for the -Wno-inline issue for
MIPS I referred to in
<https://sourceware.org/ml/libc-alpha/2012-11/msg00798.html>, for
example), in some cases -Wno-error in sysdeps makefiles (__restore_rt
in MIPS sigaction, for example), in some cases substantive fixes for
the warnings.
Note that if, with a view to listing all the warnings then fixing them
all, you just look for "warning:" in output from building and testing
with --disable-werror, you'll see lots of warnings from the linker
about functions such as tmpnam. Those warnings can be ignored - only
compiler warnings are relevant to -Werror, not linker warnings.
* configure.ac (--disable-werror): New configure option.
(enable_werror): New AC_SUBST.
* configure: Regenerated.
* config.make.in (enable-werror): New variable.
* Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
-Wno-error=undef.
(+gccwarn-c): Do not use -Werror=implicit-function-declaration.
* manual/install.texi (Configuring and compiling): Document
--disable-werror.
* INSTALL: Regenerated.
* debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
(CFLAGS-tst-chk2.c): Likewise.
(CFLAGS-tst-chk3.c): Likewise.
(CFLAGS-tst-chk4.cc): Likewise.
(CFLAGS-tst-chk5.cc): Likewise.
(CFLAGS-tst-chk6.cc): Likewise.
(CFLAGS-tst-lfschk1.c): Likewise.
(CFLAGS-tst-lfschk2.c): Likewise.
(CFLAGS-tst-lfschk3.c): Likewise.
(CFLAGS-tst-lfschk4.cc): Likewise.
(CFLAGS-tst-lfschk5.cc): Likewise.
(CFLAGS-tst-lfschk6.cc): Likewise.
2014-12-10 01:14:48 +00:00
|
|
|
|
* The GNU C Library is now built with -Werror by default. This can be
|
|
|
|
|
disabled by configuring with --disable-werror.
|
|
|
|
|
|
2014-12-01 10:31:29 +00:00
|
|
|
|
* New locales: tu_IN, bh_IN, raj_IN, ce_RU.
|
2014-11-14 18:52:16 +00:00
|
|
|
|
|
|
|
|
|
* The obsolete sigvec function has been removed. This was the original
|
|
|
|
|
4.2BSD interface that inspired the POSIX.1 sigaction interface, which
|
|
|
|
|
programs have been using instead for about 25 years. Of course, ABI
|
|
|
|
|
compatibility for old binaries using sigvec remains intact.
|
2014-12-10 12:03:53 +00:00
|
|
|
|
|
|
|
|
|
* Merged gettext 0.19.3 into the intl subdirectory. This fixes building
|
|
|
|
|
with newer versions of bison.
|
2015-01-06 15:06:14 +00:00
|
|
|
|
|
|
|
|
|
* Support for MIPS o32 FPXX, FP64A and FP64 ABI Extensions.
|
|
|
|
|
The original MIPS o32 hard-float ABI requires an FPU where double-precision
|
|
|
|
|
registers overlay two consecutive single-precision registers. MIPS32R2
|
|
|
|
|
introduced a new FPU mode (FR=1) where double-precision registers extend the
|
|
|
|
|
corresponding single-precision registers which is incompatible with the
|
|
|
|
|
o32 hard-float ABI. The MIPS SIMD ASE and the MIPSR6 architecture both
|
|
|
|
|
require the use of FR=1 making a transition necessary. New o32 ABI
|
|
|
|
|
extensions enable users to migrate over time from the original o32 ABI
|
|
|
|
|
through to the updated o32 FP64 ABI. To achieve this the dynamic linker now
|
|
|
|
|
tracks the ABI of any loaded object and verifies that new objects are
|
|
|
|
|
compatible. Mode transitions will also be requested as required and
|
|
|
|
|
unsupportable objects will be rejected. The ABI checks include both soft and
|
|
|
|
|
hard float ABIs for o32, n32 and n64.
|
|
|
|
|
|
|
|
|
|
GCC 5 with GNU binutils 2.25 onwards:
|
|
|
|
|
It is strongly recommended that all o32 system libraries are built using the
|
|
|
|
|
new o32 FPXX ABI (-mfpxx) to facilitate the transition as this is compatible
|
|
|
|
|
with the original and all new o32 ABI extensions. Configure a MIPS GCC
|
|
|
|
|
compiler using --with-fp-32=xx to set this by default.
|
2014-09-10 16:21:50 +00:00
|
|
|
|
|
2014-02-07 22:10:29 +00:00
|
|
|
|
Version 2.20
|
|
|
|
|
|
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
2015-03-21 17:50:13 +00:00
|
|
|
|
6804, 9894, 11505, 12994, 13347, 13651, 14308, 14770, 15119, 15132, 15347,
|
|
|
|
|
15514, 15698, 15804, 15894, 15946, 16002, 16064, 16095, 16194, 16198,
|
|
|
|
|
16275, 16284, 16287, 16315, 16348, 16349, 16354, 16357, 16362, 16447,
|
|
|
|
|
16516, 16532, 16539, 16545, 16561, 16562, 16564, 16574, 16599, 16600,
|
|
|
|
|
16609, 16610, 16611, 16613, 16619, 16623, 16629, 16632, 16634, 16639,
|
|
|
|
|
16642, 16648, 16649, 16670, 16674, 16677, 16680, 16681, 16683, 16689,
|
|
|
|
|
16695, 16701, 16706, 16707, 16712, 16713, 16714, 16724, 16731, 16739,
|
|
|
|
|
16740, 16743, 16754, 16758, 16759, 16760, 16770, 16786, 16789, 16791,
|
|
|
|
|
16796, 16799, 16800, 16815, 16823, 16824, 16831, 16838, 16839, 16849,
|
|
|
|
|
16854, 16876, 16877, 16878, 16882, 16885, 16888, 16890, 16892, 16912,
|
|
|
|
|
16915, 16916, 16917, 16918, 16922, 16927, 16928, 16932, 16943, 16958,
|
|
|
|
|
16965, 16966, 16967, 16977, 16978, 16984, 16990, 16996, 17009, 17022,
|
|
|
|
|
17031, 17042, 17048, 17050, 17058, 17061, 17062, 17069, 17075, 17078,
|
|
|
|
|
17079, 17084, 17086, 17088, 17092, 17097, 17125, 17135, 17137, 17150,
|
|
|
|
|
17153, 17187, 17213, 17259, 17261, 17262, 17263, 17319, 17325, 17354.
|
2014-07-23 18:21:05 +00:00
|
|
|
|
|
2014-08-01 07:48:17 +00:00
|
|
|
|
* Reverted change of ABI data structures for s390 and s390x:
|
|
|
|
|
On s390 and s390x the size of struct ucontext and jmp_buf was increased in
|
|
|
|
|
2.19. This change is reverted in 2.20. The introduced 2.19 symbol versions
|
|
|
|
|
of getcontext, setjmp, _setjmp, __sigsetjmp, longjmp, _longjmp, siglongjmp
|
|
|
|
|
are preserved pointing straight to the same implementation as the old ones.
|
2014-08-27 15:53:25 +00:00
|
|
|
|
Given that, new callers will simply provide a too-big buffer to these
|
2014-08-01 07:48:17 +00:00
|
|
|
|
functions. Any applications/libraries out there that embed jmp_buf or
|
|
|
|
|
ucontext_t in an ABI-relevant data structure that have already been rebuilt
|
|
|
|
|
against 2.19 headers will have to rebuilt again. This is necessary in any
|
|
|
|
|
case to revert the breakage in their ABI caused by the glibc change.
|
|
|
|
|
|
2014-07-23 18:21:05 +00:00
|
|
|
|
* Support for file description locks is added to systems running the
|
|
|
|
|
Linux kernel. The standard file locking interfaces are extended to
|
|
|
|
|
operate on file descriptions, not file descriptors, via the use of
|
|
|
|
|
F_OFD_GETLK, F_OFD_SETLK, and F_OFD_SETLKW. File description locks
|
|
|
|
|
are associated with an open file instead of a process.
|
2014-02-10 11:50:46 +00:00
|
|
|
|
|
2014-06-19 09:40:49 +00:00
|
|
|
|
* Optimized strchr implementation for AArch64. Contributed by ARM Ltd.
|
|
|
|
|
|
2014-04-30 15:39:30 +00:00
|
|
|
|
* The minimum Linux kernel version that this version of the GNU C Library
|
|
|
|
|
can be used with is 2.6.32.
|
|
|
|
|
|
Do not terminate default test runs on test failure.
This patch is an updated version of
<https://sourceware.org/ml/libc-alpha/2014-01/msg00198.html> and
<https://sourceware.org/ml/libc-alpha/2014-03/msg00180.html>.
Normal practice for software testsuites is that rather than
terminating immediately when a test fails, they continue running and
report at the end on how many tests passed or failed.
The principle behind the glibc testsuite stopping on failure was
probably that the expected state is no failures and so any failure
indicates a problem such as miscompilation. In practice, while this
is fairly close to true for native testing on x86_64 and x86 (kernel
bugs and race conditions can still cause intermittent failures), it's
less likely to be the case on other platforms, and so people testing
glibc run the testsuite with "make -k" and then examine the logs to
determine whether the failures are what they expect to fail on that
platform, possibly with some automation for the comparison.
This patch switches the glibc testsuite to the normal convention of
not stopping on failure - unless you use stop-on-test-failure=y, in
which case it behaves essentially as it did before (and does not
generate overall test summaries on failure). Instead, the summary
tests.sum may contain tests that FAILed. At the end of the test run,
any FAIL or ERROR lines from tests.sum are printed, and then it exits
with error status if there were any such lines. In addition, build
failures will also cause the test run to stop - this has the
justification that those *do* indicate serious problems that should be
promptly fixed and aren't generally hard to fix (but apart from that,
avoiding the build stopping on those failures seems harder).
Note that unlike the previous patches in this series, this *does*
require people with automation around testing glibc to change their
processes - either to start using tests.sum / xtests.sum to track
failures and compare them with expectations (with or without also
using "make -k" and examining "make" logs to identify build failures),
or else to use stop-on-test-failure=y and ignore the new tests.sum /
xtests.sum mechanism. (If all you check is the exit status from "make
check", no changes are needed unless you want to avoid test runs
continuing after the first failure.)
Tested x86_64.
* scripts/evaluate-test.sh: Handle fourth argument to determine
whether test run should stop on failure.
* Makeconfig (stop-on-test-failure): New variable.
(evaluate-test): Pass fourth argument to evaluate-test.sh based on
$(stop-on-test-failure).
* Makefile (tests): Give a summary of results from testing and
exit with failure status if they include an ERROR or FAIL.
(xtests): Likewise.
* manual/install.texi (Configuring and compiling): Mention
stop-on-test-failure=y.
* INSTALL: Regenerated.
2014-03-14 21:02:40 +00:00
|
|
|
|
* Running the testsuite no longer terminates as soon as a test fails.
|
|
|
|
|
Instead, a file tests.sum (xtests.sum from "make xcheck") is generated,
|
|
|
|
|
with PASS or FAIL lines for individual tests. A summary of the results is
|
|
|
|
|
printed, including a list of failing lists, and "make check" exits with
|
|
|
|
|
error status if there were any unexpected failures. "make check
|
|
|
|
|
stop-on-test-failure=y" may be used to keep the old behavior.
|
|
|
|
|
|
2014-02-08 00:16:57 +00:00
|
|
|
|
* The am33 port, which had not worked for several years, has been removed
|
|
|
|
|
from ports.
|
2014-02-11 23:40:07 +00:00
|
|
|
|
|
|
|
|
|
* The _BSD_SOURCE and _SVID_SOURCE feature test macros are no longer
|
|
|
|
|
supported; they now act the same as _DEFAULT_SOURCE (but generate a
|
|
|
|
|
warning). Except for cases where _BSD_SOURCE enabled BSD interfaces that
|
|
|
|
|
conflicted with POSIX (support for which was removed in 2.19), the
|
|
|
|
|
interfaces those macros enabled remain available when compiling with
|
|
|
|
|
_GNU_SOURCE defined, with _DEFAULT_SOURCE defined, or without any feature
|
|
|
|
|
test macros defined.
|
2014-04-23 12:21:47 +00:00
|
|
|
|
|
|
|
|
|
* Optimized strcmp implementation for ARMv7. Contributed by ARM Ltd.
|
2014-05-09 14:58:46 +00:00
|
|
|
|
|
|
|
|
|
* Added support for TX lock elision of pthread mutexes on s390 and s390x.
|
|
|
|
|
This may improve lock scaling of existing programs on TX capable systems.
|
|
|
|
|
The lock elision code is only built with --enable-lock-elision=yes and
|
|
|
|
|
then requires a GCC version supporting the TX builtins. With lock elision
|
|
|
|
|
default mutexes are elided via __builtin_tbegin, if the cpu supports
|
|
|
|
|
transactions. By default lock elision is not enabled and the elision code
|
|
|
|
|
is not built.
|
2014-06-21 07:23:55 +00:00
|
|
|
|
|
|
|
|
|
* CVE-2014-4043 The posix_spawn_file_actions_addopen implementation did not
|
|
|
|
|
copy the path argument. This allowed programs to cause posix_spawn to
|
|
|
|
|
deference a dangling pointer, or use an unexpected pathname argument if
|
|
|
|
|
the string was modified after the posix_spawn_file_actions_addopen
|
|
|
|
|
invocation.
|
2014-06-25 12:55:21 +00:00
|
|
|
|
|
|
|
|
|
* All supported architectures now use the main glibc sysdeps directory
|
|
|
|
|
instead of some being in a separate "ports" directory (which was
|
|
|
|
|
distributed separately before glibc 2.17).
|
2014-07-07 16:29:06 +00:00
|
|
|
|
|
|
|
|
|
* The NPTL implementation of POSIX pthreads is no longer an "add-on".
|
|
|
|
|
On configurations that support it (all Linux configurations), it's now
|
|
|
|
|
used regardless of the --enable-add-ons switch to configure. It is no
|
|
|
|
|
longer possible to build such configurations without pthreads support.
|
2014-05-12 13:24:12 +00:00
|
|
|
|
|
|
|
|
|
* Locale names, including those obtained from environment variables (LANG
|
|
|
|
|
and the LC_* variables), are more tightly checked for proper syntax.
|
|
|
|
|
setlocale will now fail (with EINVAL) for locale names that are overly
|
|
|
|
|
long, contain slashes without starting with a slash, or contain ".." path
|
|
|
|
|
components. (CVE-2014-0475) Previously, some valid locale names were
|
|
|
|
|
silently replaced with the "C" locale when running in AT_SECURE mode
|
|
|
|
|
(e.g., in a SUID program). This is no longer necessary because of the
|
|
|
|
|
additional checks.
|
2014-08-12 16:49:58 +00:00
|
|
|
|
|
|
|
|
|
* On x86-64, the dynamic linker's lazy-binding support is now compatible
|
|
|
|
|
with application code using Intel MPX instructions. (With all previous
|
|
|
|
|
versions, the MPX register state could be clobbered when making calls
|
|
|
|
|
into or out of a shared library.) Note that while the new dynamic
|
|
|
|
|
linker is compatible with all known x86 hardware whether or not it
|
|
|
|
|
supports Intel MPX, some x86 instruction-set emulators might fail to
|
|
|
|
|
handle the new instruction encodings. This is known to affect Valgrind
|
|
|
|
|
versions up through 3.9 (but will be fixed in the forthcoming 3.10
|
|
|
|
|
release), and might affect other tools that do instruction emulation.
|
2014-08-26 17:38:59 +00:00
|
|
|
|
|
|
|
|
|
* Support for loadable gconv transliteration modules has been removed.
|
|
|
|
|
The support for transliteration modules has been non-functional for
|
|
|
|
|
over a decade, and the removal is prompted by security defects. The
|
|
|
|
|
normal gconv conversion modules are still supported. Transliteration
|
|
|
|
|
with //TRANSLIT is still possible, and the //IGNORE specifier
|
2014-08-26 18:43:07 +00:00
|
|
|
|
continues to be supported. (CVE-2014-5119)
|
2014-09-03 17:45:43 +00:00
|
|
|
|
|
|
|
|
|
* Decoding a crafted input sequence in the character sets IBM933, IBM935,
|
|
|
|
|
IBM937, IBM939, IBM1364 could result in an out-of-bounds array read,
|
|
|
|
|
resulting a denial-of-service security vulnerability in applications which
|
|
|
|
|
use functions related to iconv. (CVE-2014-6040)
|
2013-08-12 20:43:14 +00:00
|
|
|
|
|
|
|
|
|
Version 2.19
|
|
|
|
|
|
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
2014-02-07 02:36:28 +00:00
|
|
|
|
156, 387, 431, 762, 832, 926, 2801, 4772, 6786, 6787, 6807, 6810, 6981,
|
|
|
|
|
7003, 9721, 9954, 10253, 10278, 11087, 11157, 11214, 12100, 12486, 12751,
|
|
|
|
|
12986, 13028, 13982, 13985, 14029, 14032, 14120, 14143, 14155, 14286,
|
|
|
|
|
14547, 14699, 14752, 14782, 14876, 14910, 15004, 15048, 15073, 15089,
|
|
|
|
|
15128, 15218, 15268, 15277, 15308, 15362, 15374, 15400, 15425, 15427,
|
|
|
|
|
15483, 15522, 15531, 15532, 15593, 15601, 15608, 15609, 15610, 15632,
|
|
|
|
|
15640, 15670, 15672, 15680, 15681, 15723, 15734, 15735, 15736, 15748,
|
|
|
|
|
15749, 15754, 15760, 15763, 15764, 15797, 15799, 15825, 15843, 15844,
|
|
|
|
|
15846, 15847, 15849, 15850, 15855, 15856, 15857, 15859, 15867, 15886,
|
|
|
|
|
15887, 15890, 15892, 15893, 15895, 15897, 15901, 15905, 15909, 15915,
|
2014-02-07 02:47:37 +00:00
|
|
|
|
15917, 15919, 15921, 15923, 15939, 15941, 15948, 15963, 15966, 15968,
|
|
|
|
|
15985, 15988, 15997, 16032, 16034, 16036, 16037, 16038, 16041, 16046,
|
|
|
|
|
16055, 16071, 16072, 16074, 16077, 16078, 16103, 16112, 16143, 16144,
|
|
|
|
|
16146, 16150, 16151, 16153, 16167, 16169, 16172, 16195, 16214, 16245,
|
|
|
|
|
16271, 16274, 16283, 16289, 16293, 16314, 16316, 16330, 16337, 16338,
|
2014-03-12 22:58:39 +00:00
|
|
|
|
16356, 16365, 16366, 16369, 16372, 16375, 16379, 16381, 16384, 16385,
|
|
|
|
|
16386, 16387, 16390, 16394, 16398, 16400, 16407, 16408, 16414, 16430,
|
|
|
|
|
16431, 16453, 16474, 16506, 16510, 16529
|
2013-09-23 05:50:02 +00:00
|
|
|
|
|
2013-12-27 22:36:14 +00:00
|
|
|
|
* Slovenian translations for glibc messages have been contributed by the
|
|
|
|
|
Translation Project's Slovenian team of translators.
|
|
|
|
|
|
2013-11-26 14:47:45 +00:00
|
|
|
|
* The public headers no longer use __unused nor __block. This change is to
|
|
|
|
|
support compiling programs that are derived from BSD sources and use
|
|
|
|
|
__unused internally, and to support compiling with Clang's -fblock
|
2013-11-26 14:01:52 +00:00
|
|
|
|
extension which uses __block.
|
|
|
|
|
|
2013-09-23 05:54:30 +00:00
|
|
|
|
* CVE-2012-4412 The strcoll implementation caches indices and rules for
|
|
|
|
|
large collation sequences to optimize multiple passes. This cache
|
|
|
|
|
computation may overflow for large collation sequences and may cause a
|
|
|
|
|
stack or buffer overflow. This is now fixed to use a slower algorithm
|
|
|
|
|
which does not use a cache if there is an integer overflow.
|
|
|
|
|
|
2013-09-23 05:50:02 +00:00
|
|
|
|
* CVE-2012-4424 The strcoll implementation uses malloc to cache indices and
|
|
|
|
|
rules for large collation sequences to optimize multiple passes and falls
|
|
|
|
|
back to alloca if malloc fails, resulting in a possible stack overflow.
|
|
|
|
|
The implementation now falls back to an uncached collation sequence lookup
|
|
|
|
|
if malloc fails.
|
2013-09-23 04:52:09 +00:00
|
|
|
|
|
|
|
|
|
* CVE-2013-4788 The pointer guard used for pointer mangling was not
|
|
|
|
|
initialized for static applications resulting in the security feature
|
|
|
|
|
being disabled. The pointer guard is now correctly initialized to a
|
|
|
|
|
random value for static applications. Existing static applications need
|
|
|
|
|
to be recompiled to take advantage of the fix (bug 15754).
|
2013-08-16 07:38:52 +00:00
|
|
|
|
|
|
|
|
|
* CVE-2013-4237 The readdir_r function could write more than NAME_MAX bytes
|
|
|
|
|
to the d_name member of struct dirent, or omit the terminating NUL
|
|
|
|
|
character. (Bugzilla #14699).
|
|
|
|
|
|
2013-09-13 08:26:02 +00:00
|
|
|
|
* CVE-2013-4332 The pvalloc, valloc, memalign, posix_memalign and
|
|
|
|
|
aligned_alloc functions could allocate too few bytes or corrupt the
|
|
|
|
|
heap when passed very large allocation size values (Bugzilla #15855,
|
|
|
|
|
#15856, #15857).
|
|
|
|
|
|
2013-10-25 04:52:12 +00:00
|
|
|
|
* CVE-2013-4458 Stack overflow in getaddrinfo with large number of results
|
|
|
|
|
for AF_INET6 has been fixed (Bugzilla #16072).
|
|
|
|
|
|
2013-10-31 11:51:44 +00:00
|
|
|
|
* New locales: ak_GH, anp_IN, ar_SS, cmn_TW, hak_TW, lzh_TW, nan_TW, pap_AW,
|
2013-11-15 20:15:59 +00:00
|
|
|
|
pap_CW, quz_PE, the_NP.
|
2013-09-04 14:26:16 +00:00
|
|
|
|
|
2013-09-25 15:40:50 +00:00
|
|
|
|
* Substantially revised locales: gd_GB, ht_HT
|
|
|
|
|
|
2013-09-20 05:25:09 +00:00
|
|
|
|
* The LC_ADDRESS field was updated to support country_car for almost all
|
|
|
|
|
supported locales.
|
2013-09-04 14:26:16 +00:00
|
|
|
|
|
2013-09-20 05:25:09 +00:00
|
|
|
|
* ISO 1427 definitions were updated.
|
2013-09-04 15:42:53 +00:00
|
|
|
|
|
2013-10-04 12:54:27 +00:00
|
|
|
|
* ISO 3166 definitions were updated.
|
|
|
|
|
|
2013-09-24 22:07:47 +00:00
|
|
|
|
* The localedef utility now supports --big-endian and --little-endian
|
|
|
|
|
command-line options to generate locales for a different system from that
|
|
|
|
|
for which the C library was built.
|
|
|
|
|
|
2013-10-26 00:48:25 +00:00
|
|
|
|
* Binary locale files now only depend on the endianness of the system for
|
|
|
|
|
which they are generated and not on other properties of that system. As a
|
|
|
|
|
consequence, binary files generated with new localedef may be incompatible
|
|
|
|
|
with old versions of the GNU C Library, and binary files generated with
|
|
|
|
|
old localedef may be incompatible with this version of the GNU C Library,
|
|
|
|
|
in the following circumstances:
|
|
|
|
|
|
|
|
|
|
+ Locale files may be incompatible on m68k systems.
|
|
|
|
|
|
|
|
|
|
+ Locale archive files (but not separate files for individual locales) may
|
|
|
|
|
be incompatible on systems where plain "char" is signed.
|
|
|
|
|
|
2013-09-07 15:58:42 +00:00
|
|
|
|
* The configure option --disable-versioning has been removed. Builds with
|
|
|
|
|
--disable-versioning had not worked for several years.
|
|
|
|
|
|
2013-09-20 05:25:09 +00:00
|
|
|
|
* ISO 639 definitions were updated for Chiga (cgg) and Chinese (gan, hak, czh,
|
|
|
|
|
cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
|
2013-09-20 04:32:58 +00:00
|
|
|
|
|
2013-09-20 14:30:04 +00:00
|
|
|
|
* SystemTap probes for malloc have been introduced.
|
|
|
|
|
|
2014-01-16 04:49:18 +00:00
|
|
|
|
* SystemTap probes for slow multiple precision fallback paths of
|
|
|
|
|
transcendental functions have been introduced.
|
|
|
|
|
|
2013-10-05 07:02:10 +00:00
|
|
|
|
* Support for powerpc64le has been added.
|
2013-10-26 00:48:25 +00:00
|
|
|
|
|
|
|
|
|
* The soft-float powerpc port now supports e500 processors.
|
2013-12-06 11:53:49 +00:00
|
|
|
|
|
2013-12-13 21:05:56 +00:00
|
|
|
|
* Support for STT_GNU_IFUNC symbols added for ppc32/power4+ and ppc64.
|
2013-12-17 18:05:42 +00:00
|
|
|
|
|
Add _DEFAULT_SOURCE feature test macro.
This patch adds a feature test macro _DEFAULT_SOURCE to enable the
default set of header declarations.
The intention is: if _DEFAULT_SOURCE is not used there is no change to
the set of __USE_* macros glibc defines; if it's used on its own, and
without compiler options such as -std=c99 that define __STRICT_ANSI__,
again, there is no change; if it's used together with the macros it
approximately (i.e., apart from __USE_POSIX_IMPLICITLY) implies
(-D_BSD_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=200809L), again, there
is no change. Otherwise, it causes the relevant features to be
enabled, even if __STRICT_ANSI__, or another feature test macro, would
cause them to be disabled.
This macro deliberately bundles the POSIX.1-2008 (non-X/Open)
functionality with the BSD/SVID/"misc" functionality, rather than
defining a macro that gives just the latter, as many of the header
cleanups resulting from removing _BSD_SOURCE and _SVID_SOURCE support
are only possible when BSD/SVID/"misc" is always bundled with
POSIX.1-2008.
Tested x86_64.
* include/features.h: Update comment documenting feature test
macros. Mention _DEFAULT_SOURCE in comment.
[_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
[_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
_BSD_SOURCE and _SVID_SOURCE.
[!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
!_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
!_SVID_SOURCE]: Likewise.
[_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
(__USE_POSIX_IMPLICITLY): Define.
[_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
(_POSIX_SOURCE): Undefine and redefine.
[_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
(_POSIX_C_SOURCE): Likewise.
* manual/creature.texi (_DEFAULT_SOURCE): Document.
(Feature Test Macros): Update documentation of default features.
2013-12-19 13:32:42 +00:00
|
|
|
|
* A new feature test macro _DEFAULT_SOURCE is available to enable the same
|
|
|
|
|
set of header declarations that are enabled by default, even when other
|
|
|
|
|
feature test macros or compiler options such as -std=c99 would otherwise
|
|
|
|
|
disable some of those declarations.
|
|
|
|
|
|
2013-12-17 18:05:42 +00:00
|
|
|
|
* The _BSD_SOURCE feature test macro no longer enables BSD interfaces that
|
2013-12-17 18:11:48 +00:00
|
|
|
|
conflict with POSIX. The libbsd-compat library (which was a dummy library
|
|
|
|
|
that did nothing) has also been removed.
|
2014-01-29 07:20:37 +00:00
|
|
|
|
|
|
|
|
|
* Preliminary documentation about Multi-Thread, Async-Signal and
|
|
|
|
|
Async-Cancel Safety has been added.
|
2014-04-08 14:30:07 +00:00
|
|
|
|
|
|
|
|
|
* Change of ABI data structures for s390 and s390x:
|
|
|
|
|
On s390 and s390x the size of struct ucontext and jmp_buf was increased to
|
|
|
|
|
allow for future hardware extensions. All library functions that accept or
|
|
|
|
|
return these structures were versioned in order to provide backwards
|
|
|
|
|
compatibility with existing code. However, not all cases can be handled
|
|
|
|
|
with interface versioning. If an application embeds either structure into
|
|
|
|
|
another structure and that structure is passed to another compilation unit
|
|
|
|
|
which expects the newer larger-sized object then any access to the new
|
|
|
|
|
fields will result in undefined behaviour. Similarly any access to fields
|
|
|
|
|
that were moved by the enlarging of the structures will cause undefined
|
|
|
|
|
behaviour. To fix the undefined behaviour all objects that are part of the
|
|
|
|
|
final in-memory image must agree on the size of structures, and this may
|
|
|
|
|
require recompilation.
|
2012-12-25 09:23:43 +00:00
|
|
|
|
|
|
|
|
|
Version 2.18
|
|
|
|
|
|
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
2013-05-23 16:42:28 +00:00
|
|
|
|
2546, 2560, 5159, 6809, 7006, 10060, 10062, 10283, 10357, 10686, 11120,
|
2013-06-28 21:43:42 +00:00
|
|
|
|
11561, 12310, 12387, 12492, 12515, 12723, 13550, 13889, 13951, 13988,
|
|
|
|
|
14142, 14176, 14200, 14256, 14280, 14293, 14317, 14327, 14478, 14496,
|
2015-08-27 22:37:51 +00:00
|
|
|
|
14582, 14686, 14812, 14888, 14894, 14907, 14908, 14909, 14920, 14941,
|
|
|
|
|
14952, 14964, 14981, 14982, 14985, 14991, 14994, 14996, 15000, 15003,
|
|
|
|
|
15006, 15007, 15014, 15020, 15022, 15023, 15036, 15054, 15055, 15062,
|
|
|
|
|
15078, 15084, 15085, 15086, 15100, 15160, 15214, 15221, 15232, 15234,
|
|
|
|
|
15283, 15285, 15287, 15304, 15305, 15307, 15309, 15327, 15330, 15335,
|
|
|
|
|
15336, 15337, 15339, 15342, 15346, 15359, 15361, 15366, 15380, 15381,
|
|
|
|
|
15394, 15395, 15405, 15406, 15409, 15416, 15418, 15419, 15423, 15424,
|
|
|
|
|
15426, 15429, 15431, 15432, 15441, 15442, 15448, 15465, 15480, 15485,
|
|
|
|
|
15488, 15490, 15492, 15493, 15497, 15506, 15529, 15536, 15553, 15577,
|
|
|
|
|
15583, 15618, 15627, 15631, 15654, 15655, 15666, 15667, 15674, 15711,
|
|
|
|
|
15755, 15759.
|
2013-07-19 06:42:03 +00:00
|
|
|
|
|
|
|
|
|
* CVE-2013-2207 Incorrectly granting access to another user's pseudo-terminal
|
|
|
|
|
has been fixed by disabling the use of pt_chown (Bugzilla #15755).
|
|
|
|
|
Distributions can re-enable building and using pt_chown via the new configure
|
|
|
|
|
option `--enable-pt_chown'. Enabling the use of pt_chown carries with it
|
|
|
|
|
considerable security risks and should only be used if the distribution
|
|
|
|
|
understands and accepts the risks.
|
2013-03-21 14:50:27 +00:00
|
|
|
|
|
2013-04-03 15:53:57 +00:00
|
|
|
|
* CVE-2013-0242 Buffer overrun in regexp matcher has been fixed (Bugzilla
|
|
|
|
|
#15078).
|
|
|
|
|
|
2013-03-21 14:50:27 +00:00
|
|
|
|
* CVE-2013-1914 Stack overflow in getaddrinfo with many results has been
|
|
|
|
|
fixed (Bugzilla #15330).
|
2012-12-27 21:37:39 +00:00
|
|
|
|
|
2013-02-19 04:28:05 +00:00
|
|
|
|
* Add support for calling C++11 thread_local object destructors on thread
|
|
|
|
|
and program exit. This needs compiler support for offloading C++11
|
|
|
|
|
destructor calls to glibc.
|
|
|
|
|
|
2013-03-01 15:13:40 +00:00
|
|
|
|
* Improved worst case performance of libm functions with double inputs and
|
|
|
|
|
output.
|
|
|
|
|
|
|
|
|
|
* Support for priority inherited mutexes in pthread condition variables on
|
|
|
|
|
non-x86 architectures.
|
|
|
|
|
|
2013-06-28 22:53:57 +00:00
|
|
|
|
* Port to Xilinx MicroBlaze contributed by David Holsgrove.
|
|
|
|
|
|
|
|
|
|
* Optimized string functions for AArch64. Implemented by Marcus Shawcroft.
|
|
|
|
|
|
|
|
|
|
* Optimized string functions for ARM. Implemented by Will Newton and
|
|
|
|
|
Richard Henderson.
|
|
|
|
|
|
|
|
|
|
* Optimized libm functions for SPARC. Implemented by David S. Miller.
|
|
|
|
|
|
|
|
|
|
* Support for building more of ARM glibc as Thumb-2 code. Implemented by
|
|
|
|
|
Richard Henderson.
|
|
|
|
|
|
|
|
|
|
* Support for building most of MIPS glibc as MIPS16 code. Implemented by
|
|
|
|
|
Chung-Lin Tang, Maciej W. Rozycki and Maxim Kuvyrkov.
|
|
|
|
|
|
2013-03-15 07:00:03 +00:00
|
|
|
|
* Added a benchmark framework to track performance of functions in glibc.
|
|
|
|
|
|
2013-04-02 11:51:02 +00:00
|
|
|
|
* New <math.h> macro named issignaling to check for a signaling NaN (sNaN).
|
|
|
|
|
It is based on draft TS 18661 and currently enabled as a GNU extension.
|
2013-06-13 04:24:35 +00:00
|
|
|
|
|
2013-06-13 17:42:00 +00:00
|
|
|
|
* On Linux, the clock function now uses the clock_gettime system call
|
|
|
|
|
for improved precision, rather than old times system call.
|
2013-06-15 06:54:15 +00:00
|
|
|
|
|
2013-09-18 20:15:12 +00:00
|
|
|
|
* Added support for version-3 tz format files. This is needed when using
|
|
|
|
|
the tz database release 2013e or later, and affects a few unusual cases --
|
|
|
|
|
currently only TZ='America/Godthab' for time stamps after 2037.
|
|
|
|
|
|
2013-06-15 06:54:15 +00:00
|
|
|
|
* Added new API functions pthread_getattr_default_np and
|
|
|
|
|
pthread_setattr_default_np to get and set the default pthread
|
|
|
|
|
attributes of a process.
|
2013-07-02 15:49:30 +00:00
|
|
|
|
|
|
|
|
|
* Added support for TSX lock elision for pthread mutexes on i386 and x86-64.
|
|
|
|
|
This may improve lock scaling of existing programs on TSX capable systems.
|
|
|
|
|
When the --enable-lock-elision=yes parameter is specified at configure
|
|
|
|
|
time lock elision will be enabled by default for all PTHREAD_MUTEX_DEFAULT
|
|
|
|
|
mutexes.
|
2013-07-25 15:49:13 +00:00
|
|
|
|
|
|
|
|
|
* Support added for AT_HWCAP2 (to coincide with Linux kernel 3.10
|
|
|
|
|
availability). Implemented by Ryan S. Arnold.
|
|
|
|
|
|
|
|
|
|
* Support added for POWER8 platform. Implemented by Ryan S. Arnold.
|
2012-07-03 16:36:22 +00:00
|
|
|
|
|
|
|
|
|
Version 2.17
|
|
|
|
|
|
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
2012-11-29 15:24:41 +00:00
|
|
|
|
1349, 3439, 3479, 3665, 5044, 5246, 5298, 5400, 6530, 6677, 6778, 6808,
|
2013-05-11 08:28:21 +00:00
|
|
|
|
9685, 9914, 10014, 10038, 10114, 10191, 10631, 10873, 11438, 11607, 11638,
|
|
|
|
|
11741, 12140, 13013, 13412, 13542, 13601, 13603, 13604, 13629, 13679,
|
|
|
|
|
13696, 13698, 13717, 13741, 13759, 13761, 13763, 13881, 13939, 13950,
|
|
|
|
|
13952, 13966, 14042, 14047, 14090, 14150, 14151, 14152, 14154, 14157,
|
|
|
|
|
14166, 14173, 14195, 14197, 14237, 14246, 14251, 14252, 14283, 14298,
|
|
|
|
|
14303, 14307, 14328, 14331, 14336, 14337, 14347, 14349, 14368, 14376,
|
|
|
|
|
14417, 14447, 14459, 14476, 14477, 14501, 14505, 14510, 14516, 14518,
|
|
|
|
|
14519, 14530, 14532, 14538, 14543, 14544, 14545, 14557, 14562, 14568,
|
|
|
|
|
14576, 14579, 14583, 14587, 14595, 14602, 14610, 14621, 14638, 14645,
|
|
|
|
|
14648, 14652, 14660, 14661, 14669, 14672, 14683, 14694, 14716, 14719,
|
|
|
|
|
14743, 14767, 14783, 14784, 14785, 14793, 14796, 14797, 14801, 14803,
|
|
|
|
|
14805, 14807, 14811, 14815, 14821, 14822, 14824, 14828, 14831, 14833,
|
|
|
|
|
14835, 14838, 14856, 14863, 14865, 14866, 14868, 14869, 14871, 14872,
|
|
|
|
|
14879, 14889, 14893, 14898, 14914.
|
2012-11-28 21:12:28 +00:00
|
|
|
|
|
2012-12-19 16:56:08 +00:00
|
|
|
|
* Optimization of memcpy for MIPS.
|
|
|
|
|
|
2012-11-28 21:12:28 +00:00
|
|
|
|
* CVE-2011-4609 svc_run() produces high cpu usage when accept fails with
|
|
|
|
|
EMFILE has been fixed (Bugzilla #14889).
|
2012-07-03 17:10:42 +00:00
|
|
|
|
|
2012-11-28 17:07:39 +00:00
|
|
|
|
* The add-on ports collection is now distributed in the "ports" subdirectory
|
|
|
|
|
of the main GNU C Library distribution, rather than separately.
|
|
|
|
|
|
2012-11-09 23:18:49 +00:00
|
|
|
|
* Port to ARM AArch64 contributed by Linaro.
|
|
|
|
|
|
2012-07-12 11:04:55 +00:00
|
|
|
|
* Support for STT_GNU_IFUNC symbols added for s390 and s390x.
|
|
|
|
|
Optimized versions of memcpy, memset, and memcmp added for System z10 and
|
|
|
|
|
zEnterprise z196.
|
|
|
|
|
Implemented by Andreas Krebbel.
|
|
|
|
|
|
2012-07-25 17:46:22 +00:00
|
|
|
|
* The new function secure_getenv allows secure access to the environment,
|
|
|
|
|
returning NULL if running in a SUID/SGID process. This function replaces
|
|
|
|
|
the internal function __secure_getenv.
|
|
|
|
|
|
2012-07-26 10:03:35 +00:00
|
|
|
|
* SystemTap static probes have been added into the dynamic linker.
|
|
|
|
|
Implemented by Gary Benson.
|
|
|
|
|
|
2012-05-29 05:50:15 +00:00
|
|
|
|
* Optimizations of string functions strstr, strcasestr and memmem.
|
|
|
|
|
Implemented by Maxim Kuvyrkov.
|
|
|
|
|
|
2012-08-03 13:42:47 +00:00
|
|
|
|
* The minimum Linux kernel version that this version of the GNU C Library
|
2012-08-07 16:40:32 +00:00
|
|
|
|
can be used with is 2.6.16.
|
2012-08-03 13:42:47 +00:00
|
|
|
|
|
2012-08-22 16:04:42 +00:00
|
|
|
|
* Optimizations of string functions memchr, wcschr, wcscpy, and wcsrchr for
|
|
|
|
|
powerpc POWER7. Implemented by Will Schmidt.
|
|
|
|
|
|
2012-08-22 20:31:12 +00:00
|
|
|
|
* New configure option --disable-nscd builds the C library such that it
|
|
|
|
|
never attempts to contact the Name Service Caching Daemon (nscd).
|
2012-08-22 20:35:55 +00:00
|
|
|
|
New configure option --disable-build-nscd avoids building nscd itself;
|
|
|
|
|
this is the default if --disable-nscd is used.
|
2012-08-22 20:31:12 +00:00
|
|
|
|
|
2012-11-28 17:07:39 +00:00
|
|
|
|
* Improved support for cross-compilation, including cross-testing and
|
|
|
|
|
bootstrap builds without a previously built glibc.
|
|
|
|
|
|
2012-12-13 20:40:06 +00:00
|
|
|
|
* Several testsuite tests are now able to test multiple IFUNC variants of an
|
2012-12-13 20:42:06 +00:00
|
|
|
|
interface, rather than just testing the one that would be chooen by
|
2012-12-13 20:40:06 +00:00
|
|
|
|
default.
|
|
|
|
|
|
2012-11-28 17:07:39 +00:00
|
|
|
|
* New configure options --with-bugurl and --with-pkgversion, for
|
|
|
|
|
distributors to use to embed their bug-reporting and package version
|
|
|
|
|
information in --help and --version output.
|
|
|
|
|
|
2012-08-29 04:33:39 +00:00
|
|
|
|
* The ttyname and ttyname_r functions on Linux now fall back to searching for
|
|
|
|
|
the tty file descriptor in /dev/pts or /dev if /proc is not available. This
|
|
|
|
|
allows creation of chroots without the procfs mounted on /proc.
|
|
|
|
|
|
2012-10-10 10:06:03 +00:00
|
|
|
|
* The `crypt' function now fails if passed salt bytes that violate the
|
|
|
|
|
specification for those values. On Linux, the `crypt' function will
|
|
|
|
|
consult /proc/sys/crypto/fips_enabled to determine if "FIPS mode" is
|
|
|
|
|
enabled, and fail on encrypted strings using the MD5 or DES algorithm
|
|
|
|
|
when the mode is enabled.
|
|
|
|
|
|
2012-10-24 21:50:46 +00:00
|
|
|
|
* The `clock_*' suite of functions (declared in <time.h>) is now available
|
|
|
|
|
directly in the main C library. Previously it was necessary to link with
|
|
|
|
|
-lrt to use these functions. This change has the effect that a
|
|
|
|
|
single-threaded program that uses a function such as `clock_gettime' (and
|
|
|
|
|
is not linked with -lrt) will no longer implicitly load the pthreads
|
|
|
|
|
library at runtime and so will not suffer the overheads associated with
|
|
|
|
|
multi-thread support in other code such as the C++ runtime library.
|
2012-11-21 20:33:27 +00:00
|
|
|
|
|
2012-11-29 07:31:13 +00:00
|
|
|
|
* New locales: ayc_PE, doi_IN, ia_FR, mni_IN, nhn_MX, niu_NU, niu_NZ,
|
|
|
|
|
sat_IN, and szl_PL.
|
2011-12-24 03:53:02 +00:00
|
|
|
|
|
|
|
|
|
Version 2.16
|
|
|
|
|
|
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
2015-10-05 17:49:28 +00:00
|
|
|
|
174, 208, 350, 369, 411, 706, 766, 2074, 2541, 2547, 2548, 2550, 2551,
|
|
|
|
|
2552, 2553, 2554, 2562, 2563, 2565, 2566, 2570, 2576, 2636, 2678, 3335,
|
|
|
|
|
3440, 3748, 3768, 3866, 3868, 3906, 3976, 3992, 4026, 4108, 4596, 4822,
|
|
|
|
|
5077, 5461, 5805, 5993, 6471, 6486, 6578, 6649, 6730, 6770, 6794, 6884,
|
|
|
|
|
6890, 6894, 6895, 6907, 6911, 6959, 7064, 9739, 9902, 10110, 10135, 10140,
|
|
|
|
|
10153, 10210, 10254, 10346, 10375, 10545, 10716, 10846, 10882, 11174,
|
|
|
|
|
11261, 11322, 11365, 11451, 11494, 11521, 11677, 11837, 11959, 12047,
|
|
|
|
|
12097, 12193, 12194, 12297, 12298, 12301, 12340, 12354, 12416, 12495,
|
|
|
|
|
13058, 13223, 13361, 13525, 13526, 13527, 13528, 13529, 13530, 13531,
|
|
|
|
|
13532, 13533, 13547, 13551, 13552, 13553, 13555, 13556, 13559, 13563,
|
|
|
|
|
13566, 13576, 13579, 13583, 13592, 13594, 13613, 13618, 13637, 13656,
|
|
|
|
|
13658, 13673, 13691, 13695, 13704, 13705, 13706, 13718, 13726, 13738,
|
|
|
|
|
13739, 13743, 13750, 13758, 13760, 13761, 13775, 13786, 13787, 13792,
|
|
|
|
|
13806, 13824, 13840, 13841, 13844, 13846, 13848, 13851, 13852, 13854,
|
|
|
|
|
13871, 13872, 13873, 13879, 13882, 13883, 13884, 13885, 13886, 13892,
|
|
|
|
|
13895, 13908, 13910, 13911, 13912, 13913, 13914, 13915, 13916, 13917,
|
|
|
|
|
13918, 13919, 13920, 13921, 13922, 13923, 13924, 13926, 13927, 13928,
|
|
|
|
|
13938, 13941, 13942, 13954, 13955, 13956, 13963, 13967, 13968, 13970,
|
|
|
|
|
13973, 13979, 13983, 13986, 13996, 14012, 14027, 14033, 14034, 14036,
|
|
|
|
|
14040, 14043, 14044, 14048, 14049, 14050, 14053, 14055, 14059, 14064,
|
|
|
|
|
14075, 14080, 14083, 14103, 14104, 14109, 14112, 14117, 14122, 14123,
|
|
|
|
|
14134, 14153, 14183, 14188, 14199, 14210, 14218, 14229, 14241, 14273,
|
|
|
|
|
14277, 14278.
|
2011-12-24 04:49:48 +00:00
|
|
|
|
|
2012-05-30 17:34:33 +00:00
|
|
|
|
* Support for the x32 ABI on x86-64 added. The x32 target is selected by
|
|
|
|
|
configuring glibc with:
|
|
|
|
|
BUILD_CC='gcc' CC='gcc -mx32' CXX='g++ -mx32'
|
|
|
|
|
Visit <http://sites.google.com/site/x32abi/> for more x32 ABI info.
|
|
|
|
|
Implemented by H.J. Lu.
|
|
|
|
|
|
2011-12-24 04:49:48 +00:00
|
|
|
|
* ISO C11 support:
|
|
|
|
|
|
|
|
|
|
+ define static_assert
|
|
|
|
|
|
|
|
|
|
+ do not declare gets
|
|
|
|
|
|
|
|
|
|
+ declare at_quick_exit and quick_exit also for ISO C11
|
|
|
|
|
|
|
|
|
|
+ aligned_alloc. NB: The code is deliberately allows the size parameter
|
|
|
|
|
to not be a multiple of the alignment. This is a moronic requirement
|
|
|
|
|
in the standard but it is only a requirement on the caller, not the
|
|
|
|
|
implementation.
|
2011-12-24 03:53:02 +00:00
|
|
|
|
|
2011-12-24 05:40:15 +00:00
|
|
|
|
+ timespec_get added
|
2012-01-07 16:04:33 +00:00
|
|
|
|
|
|
|
|
|
+ uchar.h support added
|
2012-01-07 16:19:05 +00:00
|
|
|
|
|
2012-01-08 15:07:26 +00:00
|
|
|
|
+ CMPLX, CMPLXF, CMPLXL added
|
|
|
|
|
|
2012-01-08 00:29:11 +00:00
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2012-05-14 05:02:03 +00:00
|
|
|
|
* Support for the IA-64 has been moved to ports.
|
2012-01-08 01:33:23 +00:00
|
|
|
|
|
|
|
|
|
* Remove support for anything but ELF binary format
|
2012-01-08 16:55:32 +00:00
|
|
|
|
|
|
|
|
|
* Checking versions of poll, ppoll added.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2012-01-11 03:26:22 +00:00
|
|
|
|
|
|
|
|
|
* More generic and 64-bit performance optimizations to math functions.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2012-05-10 18:16:53 +00:00
|
|
|
|
|
|
|
|
|
* New configure option --enable-obsolete-rpc makes the deprecated RPC
|
|
|
|
|
headers and functions available at compile time as they were before
|
|
|
|
|
version 2.14. This option will be removed at some time in the future
|
|
|
|
|
after the TI-RPC library becomes fully sufficient for the needs of
|
|
|
|
|
existing applications.
|
2012-05-14 14:11:02 +00:00
|
|
|
|
|
2012-05-25 19:19:30 +00:00
|
|
|
|
* Compatibility code for Linux kernel versions before 2.4 has been removed.
|
2012-05-14 14:11:02 +00:00
|
|
|
|
Note that glibc is not expected to work with any Linux kernel version
|
|
|
|
|
before 2.6.
|
2012-05-22 16:52:55 +00:00
|
|
|
|
|
2012-05-24 14:45:49 +00:00
|
|
|
|
* New header <sys/auxv.h> and function getauxval allowing easy access to
|
|
|
|
|
the AT_* key-value pairs passed from the Linux kernel. The header also
|
|
|
|
|
defines the HWCAP_* bits associated with the AT_HWCAP key.
|
|
|
|
|
|
2012-05-22 16:52:55 +00:00
|
|
|
|
* New locales: mag_IN
|
2012-05-25 20:49:31 +00:00
|
|
|
|
|
|
|
|
|
* New configure option --enable-systemtap builds SystemTap static probes
|
|
|
|
|
into libc for setjmp and longjmp and into libpthread for various operations.
|
|
|
|
|
So far the setjmp/longjmp probes and some of the libpthread probes are
|
|
|
|
|
provided only for i*86 and x86_64.
|
|
|
|
|
Implemented by Roland McGrath and Rayson Ho.
|
2012-05-27 18:37:42 +00:00
|
|
|
|
|
|
|
|
|
* Optimized expf for x86-32 and x86-64. Implemented by Liubov Dmitrieva.
|
|
|
|
|
|
2012-06-04 18:46:37 +00:00
|
|
|
|
* More optimized functions for PowerPC. Implemented by Adhemerval Zanella
|
|
|
|
|
and Will Schmidt.
|
2012-05-27 18:37:42 +00:00
|
|
|
|
|
|
|
|
|
* More optimized functions for SPARC. Implemented by David S. Miller.
|
|
|
|
|
|
|
|
|
|
* Improved support for cross-compilation, especially bootstrap builds
|
|
|
|
|
without a previously built glibc.
|
|
|
|
|
|
|
|
|
|
* Ports for the TILE-Gx and TILEPro families of processors. Contributed by
|
|
|
|
|
Chris Metcalf from Tilera.
|
|
|
|
|
|
|
|
|
|
* Support for the old ARM ABI has been removed from ports. Only the EABI is
|
|
|
|
|
now supported for ARM processors.
|
|
|
|
|
|
|
|
|
|
* The hard-float variant of the ARM EABI now uses /lib/ld-linux-armhf.so.3
|
|
|
|
|
as the name of the dynamic linker, to distinguish it from the
|
|
|
|
|
/lib/ld-linux.so.3 dynamic linker used for the base EABI.
|
|
|
|
|
|
|
|
|
|
* Support for CRIS has been removed from ports.
|
2012-06-04 18:46:37 +00:00
|
|
|
|
|
|
|
|
|
* A new class of installed header has been documented for low-level
|
|
|
|
|
platform-specific functionality. PowerPC added the first instance with a
|
|
|
|
|
function to provide time base register access. Contributed by Tulio
|
|
|
|
|
Magno Quites Machado Filho.
|
2012-06-15 19:13:21 +00:00
|
|
|
|
|
|
|
|
|
* ix86 configurations now install header files that are consistent with
|
|
|
|
|
what x86-64 configurations install. These same header files can be used
|
|
|
|
|
for -m32, -m64, or -mx32 builds.
|
|
|
|
|
Contributed by H.J. Lu.
|
2012-06-30 15:27:06 +00:00
|
|
|
|
|
|
|
|
|
* Math library bug fixes. A thorough audit of all open math library bugs was
|
|
|
|
|
conducted by Joseph Myers. Significant progress was made on many math
|
|
|
|
|
library bugs resulting in more accurate exceptions and function results.
|
|
|
|
|
Many thanks to all those that contributed including Andreas Jaeger for his
|
|
|
|
|
patch review and work on the x87 trigonometric instruction issues.
|
|
|
|
|
|
|
|
|
|
* Timezone data is no longer installed. Timezone-related binaries and scripts
|
|
|
|
|
will continue to be installed. Users should obtain their timezone data from
|
|
|
|
|
their distribution provider or from the tzdata package at
|
|
|
|
|
<ftp://munnari.oz.au/pub/>.
|
2009-12-09 04:10:46 +00:00
|
|
|
|
|
2011-06-08 02:22:10 +00:00
|
|
|
|
Version 2.15
|
2011-06-09 11:06:21 +00:00
|
|
|
|
|
2011-06-21 21:03:38 +00:00
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
2012-01-09 01:39:46 +00:00
|
|
|
|
6779, 6783, 9696, 10103, 10709, 11589, 11929, 12403, 12786, 12840, 12847,
|
|
|
|
|
12868, 12852, 12874, 12885, 12892, 12906, 12907, 12922, 12935, 12962,
|
|
|
|
|
13007, 13021, 13061, 13062, 13067, 13068, 13085, 13088, 13090, 13092,
|
|
|
|
|
13096, 13114, 13118, 13123, 13134, 13138, 13147, 13150, 13166, 13179,
|
|
|
|
|
13185, 13189, 13192, 13268, 13276, 13282, 13291, 13305, 13328, 13335,
|
|
|
|
|
13337, 13344, 13358, 13367, 13413, 13416, 13423, 13439, 13446, 13472,
|
|
|
|
|
13484, 13506, 13515, 13523, 13524, 13538, 13540
|
2011-06-21 21:03:38 +00:00
|
|
|
|
|
2011-06-09 11:06:21 +00:00
|
|
|
|
* New program pldd to list loaded object of a process
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2011-06-16 01:00:21 +00:00
|
|
|
|
|
|
|
|
|
* Add nss_db support back to glibc. No more dependency on Berkeley db
|
|
|
|
|
and support for initgroups lookups.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2011-06-24 18:15:32 +00:00
|
|
|
|
|
|
|
|
|
* Optimized strcpy, strncpy, stpcpy, stpncpy for SSE2 and SSSE3 on x86-32.
|
|
|
|
|
Contributed by HJ Lu.
|
2011-06-24 19:14:22 +00:00
|
|
|
|
|
|
|
|
|
* Improved strcpy, strncpy, stpcpy, stpncpy for SSE2 and SSSE3 on x86-64.
|
|
|
|
|
Contributed by HJ Lu.
|
2011-07-19 21:11:54 +00:00
|
|
|
|
|
2011-10-23 19:17:23 +00:00
|
|
|
|
* Optimized strcat, strncat on x86-64 and optimized wcscmp, wcslen, strnlen
|
|
|
|
|
on x86-32 and x86-64.
|
2011-07-19 21:11:54 +00:00
|
|
|
|
Contributed by Liubov Dmitrieva.
|
2011-08-09 13:57:55 +00:00
|
|
|
|
|
2011-10-07 14:33:10 +00:00
|
|
|
|
* Optimized strchr and strrchr for SSE on x86-32.
|
2011-09-05 21:11:11 +00:00
|
|
|
|
Contributed by Liubov Dmitrieva.
|
|
|
|
|
|
2011-12-17 19:39:23 +00:00
|
|
|
|
* Optimized memchr, memrchr, rawmemchr, memcmp, wmemcmp, wcschr, wcscpy
|
|
|
|
|
for x86-64 and x86-32.
|
2011-10-07 15:49:10 +00:00
|
|
|
|
Contributed by Liubov Dmitrieva.
|
|
|
|
|
|
2011-08-09 13:57:55 +00:00
|
|
|
|
* New interfaces: scandirat, scandirat64
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2011-09-08 23:48:47 +00:00
|
|
|
|
|
|
|
|
|
* Checking versions of FD_SET, FD_CLR, and FD_ISSET added.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2011-10-07 14:06:31 +00:00
|
|
|
|
|
|
|
|
|
* nscd now also caches the netgroup database.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2011-10-12 15:27:51 +00:00
|
|
|
|
|
|
|
|
|
* Integrate libm with gcc's -ffinite-math-only option.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2011-10-19 16:42:38 +00:00
|
|
|
|
|
|
|
|
|
* Lots of generic, 64-bit, and x86-64-specific performance optimizations
|
|
|
|
|
to math functions. Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* Optimized strcasecmp and strncasecmp for AVX on x86-64.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2011-11-01 13:59:32 +00:00
|
|
|
|
|
|
|
|
|
* New Linux interfaces: process_vm_readv, process_vm_writev
|
2011-11-14 23:44:00 +00:00
|
|
|
|
|
|
|
|
|
* Optimized strcasecmp and strncasecmp for SSSE3 and SSE4.2 on x86-32.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2011-12-17 19:59:47 +00:00
|
|
|
|
|
2011-12-18 01:32:59 +00:00
|
|
|
|
* Optimized nearbyint and strcasecmp for PPC.
|
|
|
|
|
Implemented by Adhemerval Zanella.
|
2011-12-22 15:48:43 +00:00
|
|
|
|
|
2011-12-23 13:26:58 +00:00
|
|
|
|
* New locales: bho_IN, unm_US, es_CU, ta_LK
|
2011-06-08 02:22:10 +00:00
|
|
|
|
|
2011-02-03 00:35:25 +00:00
|
|
|
|
Version 2.14
|
2011-01-19 20:36:47 +00:00
|
|
|
|
|
2011-05-09 16:09:31 +00:00
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
2011-05-30 02:28:01 +00:00
|
|
|
|
386, 6420, 7101, 9730, 9732, 9809, 10138, 10149, 10157, 11099, 11257,
|
2011-05-30 02:26:43 +00:00
|
|
|
|
11258, 11487, 11532, 11558, 11578, 11634, 11653, 11668, 11697, 11724,
|
2015-12-23 20:39:42 +00:00
|
|
|
|
11781, 11799, 11820, 11837, 11857, 11884, 11892, 11895, 11901, 11945,
|
2011-05-30 03:49:49 +00:00
|
|
|
|
11947, 11952, 11987, 12052, 12083, 12158, 12178, 12200, 12346, 12350,
|
2011-05-30 16:33:37 +00:00
|
|
|
|
12393, 12420, 12432, 12445, 12449, 12453, 12454, 12460, 12469, 12489,
|
|
|
|
|
12509, 12510, 12511, 12518, 12527, 12541, 12545, 12551, 12582, 12583,
|
|
|
|
|
12587, 12597, 12601, 12611, 12625, 12626, 12631, 12650, 12653, 12655,
|
2011-05-31 02:48:47 +00:00
|
|
|
|
12660, 12671, 12681, 12684, 12685, 12711, 12713, 12714, 12717, 12723,
|
|
|
|
|
12724, 12734, 12738, 12746, 12766, 12775, 12777, 12782, 12788, 12792,
|
2011-06-04 18:21:45 +00:00
|
|
|
|
12795, 12811, 12813, 12814, 12841
|
2011-05-09 16:09:31 +00:00
|
|
|
|
|
2011-04-17 01:59:36 +00:00
|
|
|
|
* The RPC implementation in libc is obsoleted. Old programs keep working
|
|
|
|
|
but new programs cannot be linked with the routines in libc anymore.
|
|
|
|
|
Programs in need of RPC functionality must be linked against TI-RPC.
|
2011-05-30 16:31:25 +00:00
|
|
|
|
The TI-RPC implementation is IPv6 enabled and there are other benefits.
|
2011-05-05 11:39:34 +00:00
|
|
|
|
|
|
|
|
|
Visible changes of this change include (obviously) the inability to link
|
2011-05-06 11:47:33 +00:00
|
|
|
|
programs using RPC functions without referencing the TI-RPC library and the
|
|
|
|
|
removal of the RPC headers from the glibc headers.
|
2011-04-17 01:59:36 +00:00
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2011-04-10 11:03:18 +00:00
|
|
|
|
* New Linux interfaces: clock_adjtime, name_to_handle_at, open_by_handle_at,
|
2011-05-28 05:43:20 +00:00
|
|
|
|
syncfs, setns, sendmmsg
|
2011-03-31 02:00:57 +00:00
|
|
|
|
|
2011-05-09 18:13:15 +00:00
|
|
|
|
* New locales: os_RU, bem_ZA, en_ZA, ff_SN, sw_KE, sw_TZ, lb_LU, wae_CH,
|
2011-05-09 23:05:13 +00:00
|
|
|
|
yue_HK, lij_IT, mhr_RU
|
2011-05-10 04:11:47 +00:00
|
|
|
|
|
|
|
|
|
* New encodings: CP770, CP771, CP772, CP773, CP774
|
2011-05-28 17:20:12 +00:00
|
|
|
|
|
|
|
|
|
* New program sotruss to trace calls through PLTs
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2011-05-30 01:10:23 +00:00
|
|
|
|
|
|
|
|
|
* The malloc hook implementation is marked deprecated and will be removed
|
|
|
|
|
from the default implementation in the next version. The design never
|
|
|
|
|
worked ever since the introduction of threads. Even programs which do
|
|
|
|
|
not create threads themselves can use multiple threads created internally.
|
2011-01-19 20:36:47 +00:00
|
|
|
|
|
2010-05-19 07:47:37 +00:00
|
|
|
|
Version 2.13
|
|
|
|
|
|
2010-06-19 18:38:04 +00:00
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
2011-05-30 01:33:30 +00:00
|
|
|
|
3268, 6812, 7066, 10085, 10484, 10563, 10851, 11149, 11155, 11577, 11611,
|
|
|
|
|
11640, 11655, 11701, 11840, 11856, 11883, 11903, 11904, 11968, 11979,
|
|
|
|
|
12005, 12037, 12067, 12077, 12078, 12092, 12093, 12107, 12108, 12113,
|
|
|
|
|
12140, 12159, 12167, 12191, 12194, 12201, 12204, 12205, 12207, 12348,
|
|
|
|
|
12378, 12394, 12397
|
2010-06-19 18:38:04 +00:00
|
|
|
|
|
2010-08-11 19:41:48 +00:00
|
|
|
|
* New Linux interfaces: prlimit, prlimit64, fanotify_init, fanotify_mark
|
2010-08-11 18:18:52 +00:00
|
|
|
|
|
2010-06-19 18:38:04 +00:00
|
|
|
|
* POWER7 optimizations: memset, memcmp, strncmp
|
2010-07-26 15:50:27 +00:00
|
|
|
|
|
2010-08-15 05:04:01 +00:00
|
|
|
|
* New optimized string functions for x86-64: strnlen (SSE2),
|
|
|
|
|
strcasecmp (SSE2, SSSE3, SSE4.2), strncasecmp (SSE2, SSSE3, SSE4.2)
|
2010-07-26 15:50:27 +00:00
|
|
|
|
Implemented by Ulrich Drepper.
|
2010-05-19 07:47:37 +00:00
|
|
|
|
|
2009-12-09 04:10:46 +00:00
|
|
|
|
Version 2.12
|
|
|
|
|
|
2010-04-09 03:28:05 +00:00
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
2013-03-21 23:02:37 +00:00
|
|
|
|
3662, 4457, 5553, 10162, 10401, 10414, 10554, 10824, 10864, 10915,
|
|
|
|
|
10918, 10936, 10939, 10958, 10968, 10969, 10972, 10992, 11000, 11001,
|
|
|
|
|
11007, 11010, 11027, 11039, 11040, 11041, 11043, 11046, 11056, 11070,
|
|
|
|
|
11093, 11115, 11125, 11126, 11127, 11134, 11141, 11149, 11183, 11184,
|
2010-04-09 14:56:29 +00:00
|
|
|
|
11185, 11186, 11187, 11188, 11189, 11190, 11191, 11192, 11193, 11194,
|
|
|
|
|
11200, 11230, 11235, 11242, 11254, 11258, 11271, 11272, 11276, 11279,
|
|
|
|
|
11287, 11292, 11319, 11332, 11333, 11387, 11389, 11390, 11394, 11397,
|
2010-05-05 16:44:50 +00:00
|
|
|
|
11410, 11438, 11449, 11470, 11471, 11520, 11537, 11538, 11571
|
2010-04-09 08:09:24 +00:00
|
|
|
|
|
|
|
|
|
* New interfaces: pthread_getname_np, pthread_setname_np
|
2010-04-09 03:28:05 +00:00
|
|
|
|
|
2009-12-09 04:10:46 +00:00
|
|
|
|
* New Linux interface: recvmmsg
|
|
|
|
|
|
2010-04-08 15:00:12 +00:00
|
|
|
|
* STT_GNU_IFUNC implemented for Sparc by David Miller.
|
|
|
|
|
|
|
|
|
|
* The dynamic linker now recognizes supported ABI versions from the
|
|
|
|
|
EI_ABIVERSION field in the ELF header.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2010-04-07 14:37:39 +00:00
|
|
|
|
* New NIS mode selector ADJUNCT_AS_SHADOW. The passwd.adjunct.byname table
|
|
|
|
|
will not be used to fill in password fields in the passwd.byname replies.
|
|
|
|
|
Instead it is used to synthesize the shadow.byname table, should it be
|
|
|
|
|
missing. This is a useful mode in some installations involving Solaris.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2010-04-09 03:28:05 +00:00
|
|
|
|
* New locales: kok_IN, sq_MK, cv_RU
|
2009-05-16 02:28:04 +00:00
|
|
|
|
|
|
|
|
|
Version 2.11
|
|
|
|
|
|
2010-04-09 03:28:05 +00:00
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
|
|
|
|
3270, 7094, 9924, 9986, 10011, 10085, 10107, 10159, 10162, 10166, 10183,
|
|
|
|
|
10195, 10196, 10200, 10203, 10207, 10211, 10213, 10217, 10221, 10229,
|
|
|
|
|
10262, 10286, 10312, 10315, 10319, 10349, 10360, 10391, 10402, 10416,
|
|
|
|
|
10418, 10422, 10425, 10446, 10448, 10452, 10540, 10553, 10560, 10564,
|
|
|
|
|
10609, 10643, 10692, 10713, 10717, 10730, 10731, 10742, 10780, 10784,
|
|
|
|
|
10789, 10817, 10823, 10840, 10847
|
|
|
|
|
|
2009-10-30 15:02:30 +00:00
|
|
|
|
* New interfaces: execvpe, pthread_sigqueue, mkstemps, mkstemps64, mkostemps,
|
|
|
|
|
mkostemps64
|
2009-06-02 14:03:02 +00:00
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2009-09-18 20:30:07 +00:00
|
|
|
|
* Checking version of longjmp added that fails if an uninitialized stack
|
2009-05-16 02:28:04 +00:00
|
|
|
|
frame would be created. Implemented by Ulrich Drepper.
|
|
|
|
|
|
2009-06-01 06:50:25 +00:00
|
|
|
|
* STT_GNU_IFUNC is now supported in static executables.
|
|
|
|
|
Implemented by H.J. Lu.
|
|
|
|
|
|
2009-10-30 07:41:33 +00:00
|
|
|
|
* STT_GNU_IFUNC implemented for PPC by Alan Modra.
|
|
|
|
|
|
2009-07-21 15:32:54 +00:00
|
|
|
|
* New optimized string functions for x86-64: strstr, strcasestr, memcmp,
|
2009-08-08 16:13:02 +00:00
|
|
|
|
strcspn, strpbrk, strspn, strcpy, stpcpy, strncpy, strcmp (SSE2, SSE4.2),
|
2009-10-30 07:11:07 +00:00
|
|
|
|
strncmp (SSE2, SSE4.2), strchr (SSE4.2), strrchr (SSE4.2).
|
2009-07-21 15:32:54 +00:00
|
|
|
|
Contributed by H.J. Lu.
|
|
|
|
|
|
2009-08-08 16:13:02 +00:00
|
|
|
|
strlen, rawmemchr, strcmp (SSSE3), strncmp (SSSE3).
|
2009-07-21 15:32:54 +00:00
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2009-08-08 16:13:02 +00:00
|
|
|
|
* New optimized string functions for x86: strlen, strcspn, strspn, strpbrk,
|
|
|
|
|
strstr, strcasestr.
|
|
|
|
|
Contributed by H.J. Lu.
|
|
|
|
|
|
|
|
|
|
* Support for fma instruction in AVX on x86-64.
|
|
|
|
|
Implemented by H.J. Lu and Ulrich Drepper.
|
|
|
|
|
|
2009-07-21 15:32:54 +00:00
|
|
|
|
* AVX support in x86-64 auditing support in ld.so.
|
|
|
|
|
Implemented by H.J. Lu.
|
|
|
|
|
|
|
|
|
|
* STB_GNU_UNIQUE support added.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* Implement second fallback mode for optimized DNS lookup for even more
|
|
|
|
|
broken environments. If two requests from the same port are not
|
|
|
|
|
handled correctly close the socket and open a new one before sending
|
|
|
|
|
the second request. The 'single-request-reopen' option in /etc/resolv.conf
|
|
|
|
|
can be used to select this mode right away, instead of rediscovering the
|
|
|
|
|
necessity is every process again.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2009-08-08 16:13:02 +00:00
|
|
|
|
* New resolver flag RES_USE_DNSSEC to enable use of verified lookup.
|
|
|
|
|
Implemented by Adam Tkac.
|
|
|
|
|
|
|
|
|
|
* Optimized iconv conversions for S390x.
|
|
|
|
|
Implemented by Andreas Krebbel.
|
|
|
|
|
|
2009-08-08 17:57:59 +00:00
|
|
|
|
* Using condvars with PI mutexes is now more efficient due to kernel
|
|
|
|
|
support for requeueing to PI futexes. NPTL support added for x86-64.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2009-10-30 15:36:41 +00:00
|
|
|
|
* New locales: ps_AF, my_MM
|
2008-11-17 14:13:14 +00:00
|
|
|
|
|
|
|
|
|
Version 2.10
|
|
|
|
|
|
2010-04-09 03:28:05 +00:00
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
|
|
|
|
697, 5381, 5807, 6411, 6545, 7040, 7058, 7067, 7080, 7083, 7095, 7098,
|
|
|
|
|
9677, 9694, 9697, 9701, 9704, 9705, 9706, 9720, 9726, 9730, 9733, 9736,
|
|
|
|
|
9741, 9750, 9753, 9759, 9781, 9791, 9793, 9823, 9833, 9844, 9880, 9881,
|
|
|
|
|
9891, 9893, 9895, 9913, 9916, 9920, 9948, 9955, 9957, 9963, 9985, 10052,
|
|
|
|
|
10069, 10086, 10087, 10090, 10092, 10093, 10100, 10118, 10128
|
|
|
|
|
|
2009-04-09 05:45:42 +00:00
|
|
|
|
* New interfaces: preadv, preadv64, pwritev, pwritev64, malloc_info
|
2009-04-03 19:57:16 +00:00
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2009-03-13 23:53:18 +00:00
|
|
|
|
* New Linux interfaces: accept4, fallocate, fallocate64.
|
2009-04-03 19:57:16 +00:00
|
|
|
|
Implemented by Ulrich Drepper.
|
2008-12-03 05:20:19 +00:00
|
|
|
|
|
2009-01-30 17:47:23 +00:00
|
|
|
|
* Correct declarations of string function when used in C++ code. This
|
2009-04-06 17:54:58 +00:00
|
|
|
|
could lead to compile errors for invalid C++ code.
|
2009-01-30 17:47:23 +00:00
|
|
|
|
|
* wctype/wctype.h: The *_l functions are in POSIX 2008.
* wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy,
wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs,
wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l.
* sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from
200112L to 200809L.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
* posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and
_SC_THREAD_ROBUST_PRIO_PROTECT entries.
* bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and
_SC_THREAD_ROBUST_PRIO_PROTECT.
* posix/unistd.h: fexecve is in POSIX 2008.
* time/time.h: strftime_l is in POSIX 2008.
* io/sys/stat.h: futimens is in POSIX 2008.
* string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008.
* string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal,
strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008.
* stdlib/stdlib.h: mkdtemp is in POSIX 2008.
2009-02-26 16:53:30 +00:00
|
|
|
|
* XPG7/POSIX 2008 compilation environment. Many GNU-specific functions are
|
|
|
|
|
now in POSIX.
|
2009-02-26 02:23:50 +00:00
|
|
|
|
|
2009-02-26 06:18:24 +00:00
|
|
|
|
* New POSIX 2008 interface: psiginfo
|
* wctype/wctype.h: The *_l functions are in POSIX 2008.
* wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy,
wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs,
wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l.
* sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from
200112L to 200809L.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
* posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and
_SC_THREAD_ROBUST_PRIO_PROTECT entries.
* bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and
_SC_THREAD_ROBUST_PRIO_PROTECT.
* posix/unistd.h: fexecve is in POSIX 2008.
* time/time.h: strftime_l is in POSIX 2008.
* io/sys/stat.h: futimens is in POSIX 2008.
* string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008.
* string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal,
strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008.
* stdlib/stdlib.h: mkdtemp is in POSIX 2008.
2009-02-26 16:53:30 +00:00
|
|
|
|
Implemented by Ulrich Drepper.
|
2009-02-26 06:18:24 +00:00
|
|
|
|
|
2009-03-08 19:53:12 +00:00
|
|
|
|
* New ISO C++1x interfaces: quick_exit, at_quick_exit
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2009-03-14 18:39:26 +00:00
|
|
|
|
* Support for selecting between multiple function definitions at runtime
|
|
|
|
|
using STT_GNU_IFUNC symbols. Implemented by Ulrich Drepper.
|
|
|
|
|
|
2009-04-03 19:57:16 +00:00
|
|
|
|
* The libcrypt library can now use the hash function implementations in
|
|
|
|
|
NSS. Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* The malloc implementation can be compiled to be less memory efficient
|
|
|
|
|
but higher performing in multi-threaded programs.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2009-04-06 17:54:58 +00:00
|
|
|
|
* New locales: nan_TW@latin, ks_IN
|
2009-03-14 18:39:26 +00:00
|
|
|
|
|
2009-04-14 05:58:16 +00:00
|
|
|
|
* Faster strlen, strchr, strchrnul, strrchr, memchr, and rawmemchr for x86-64.
|
2009-04-11 05:34:20 +00:00
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* Extended printf hook support. It is possible to use user-defined types
|
|
|
|
|
and extend existing format specifiers.
|
2009-04-05 18:49:28 +00:00
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2009-04-23 19:15:11 +00:00
|
|
|
|
* Handling for group shadow files has been added.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2009-05-22 16:07:00 +00:00
|
|
|
|
* DNS IPv4-IPv6 parallel lookup now deals better with broken DNS
|
|
|
|
|
servers (the case, e.g., for some people using the built-in DNS
|
|
|
|
|
server in ADSL modems/routers). There is a once-per-process timeout
|
|
|
|
|
in case of a broken server. To avoid it, users can run nscd or put
|
|
|
|
|
'options single-request' in /etc/resolv.conf.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2007-10-18 05:45:49 +00:00
|
|
|
|
|
2008-05-10 23:38:33 +00:00
|
|
|
|
Version 2.9
|
|
|
|
|
|
2010-04-09 03:28:05 +00:00
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
|
|
|
|
3406, 5209, 5210, 5381, 5794, 5814, 5911, 6428, 6438, 6442, 6447, 6461,
|
|
|
|
|
6472, 6505, 6544, 6589, 6612, 6634, 6653, 6654, 6657, 6698, 6712, 6713,
|
|
|
|
|
6719, 6723, 6724, 6740, 6763, 6771, 6790, 6791, 6817, 6824, 6839, 6843,
|
|
|
|
|
6845, 6856, 6857, 6860, 6867, 6875, 6919, 6920, 6942, 6947, 6955, 6966,
|
|
|
|
|
6968, 6974, 6980, 6995, 7008, 7009, 7029
|
|
|
|
|
|
2008-05-10 23:38:33 +00:00
|
|
|
|
* Unified lookup for getaddrinfo: IPv4 and IPv6 addresses are now looked
|
2008-05-13 22:49:03 +00:00
|
|
|
|
up at the same time. Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* TLS descriptors for LD and GD on x86 and x86-64.
|
|
|
|
|
Implemented by Alexandre Oliva.
|
2008-05-14 17:55:57 +00:00
|
|
|
|
|
|
|
|
|
* getaddrinfo now handles DCCP and UDPlite.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2008-05-15 04:42:20 +00:00
|
|
|
|
|
|
|
|
|
* New fixed-size conversion macros: htobe16, htole16, be16toh, le16toh,
|
|
|
|
|
htobe32, htole32, be32toh, le32toh, htobe64, htole64, be64toh, le64toh.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* New implementation of memmem, strstr, and strcasestr which is O(n).
|
|
|
|
|
Implemented by Eric Blake.
|
2008-07-27 19:08:19 +00:00
|
|
|
|
|
2008-09-29 17:08:50 +00:00
|
|
|
|
* New Linux interfaces: inotify_init1, dup3, epoll_create1, pipe2
|
2008-07-27 19:08:19 +00:00
|
|
|
|
|
|
|
|
|
* Implement "e" option for popen to open file descriptor with the
|
2008-08-01 23:49:18 +00:00
|
|
|
|
close-on-exec flag set. Implemented by Ulrich Drepper.
|
2008-07-27 19:08:19 +00:00
|
|
|
|
|
2008-08-14 06:37:17 +00:00
|
|
|
|
* Implement "b" mode for fmemopen. In this mode writes writes don't
|
|
|
|
|
implicitly add a NUL byte and seeks from the end of the buffer really
|
|
|
|
|
use the buffer end, not the string length as the basis.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2008-07-27 19:08:19 +00:00
|
|
|
|
* Many functions, exported and internal, now atomically set the close-on-exec
|
|
|
|
|
flag when run on a sufficiently new kernel. Implemented by Ulrich Drepper.
|
2008-08-02 16:30:28 +00:00
|
|
|
|
|
2008-11-01 00:20:07 +00:00
|
|
|
|
* Sorting rules for some Indian languages (Kannada, Gurumukhi, Telugu,
|
|
|
|
|
Sinhala)
|
2008-08-02 16:30:28 +00:00
|
|
|
|
Implemented by Pravin Satpute.
|
2008-09-17 03:12:41 +00:00
|
|
|
|
|
|
|
|
|
* New locales: sd_IN, sd_IN@devanagari, ks_IN@devanagari, ht_HT, en_AG, nl_AW.
|
2008-05-10 23:38:33 +00:00
|
|
|
|
|
2007-10-18 05:45:49 +00:00
|
|
|
|
Version 2.8
|
|
|
|
|
|
2010-04-09 03:28:05 +00:00
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
|
|
|
|
2549, 3112, 4314, 4407, 4997, 5012, 5040, 5112, 5204, 5208, 5209, 5220,
|
|
|
|
|
5222, 5224, 5225, 5237, 5238, 5240, 5245, 5277, 5346, 5375, 5378, 5382,
|
|
|
|
|
5424, 5427, 5428, 5435, 5436, 5439, 5441, 5442, 5443, 5451, 5452, 5454,
|
|
|
|
|
5455, 5463, 5464, 5465, 5475, 5477, 5478, 5520, 5541, 5545, 5553, 5600,
|
|
|
|
|
5602, 5607, 5614, 5627, 5628, 5736, 5737, 5741, 5753, 5760, 5762, 5768,
|
|
|
|
|
5774, 5777, 5778, 5779, 5786, 5790, 5818, 5854, 5857, 5903, 5939, 5979,
|
|
|
|
|
5983, 5995, 5998, 6004, 6007, 6020, 6021, 6024, 6040, 6042
|
|
|
|
|
|
2008-07-27 19:08:19 +00:00
|
|
|
|
* New locales: bo_CN, bo_IN, shs_CA.
|
2007-12-10 01:43:40 +00:00
|
|
|
|
|
2007-12-12 18:28:58 +00:00
|
|
|
|
* New encoding: HP-ROMAN9, HP-GREEK8, HP-THAI8, HP-TURKISH8.
|
2008-04-10 04:53:40 +00:00
|
|
|
|
|
|
|
|
|
* Sorting rules for some Indian languages (Devanagari and Gujarati).
|
|
|
|
|
Implemented by Pravin Satpute.
|
|
|
|
|
|
|
|
|
|
* IPV6 addresses in /etc/resolv.conf can now have a scope ID
|
|
|
|
|
|
|
|
|
|
* nscd caches now all timeouts for DNS entries
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* nscd is more efficient and wakes up less often.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* More checking functions: asprintf, dprintf, obstack_printf, vasprintf,
|
|
|
|
|
vdprintf, and obstack_vprintf.
|
|
|
|
|
Implemented by Jakub Jelinek.
|
|
|
|
|
|
|
|
|
|
* Faster memset for x86-64.
|
|
|
|
|
Implemented by Harsha Jagasia and H.J. Lu.
|
|
|
|
|
|
|
|
|
|
* Faster memcpy on x86.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* ARG_MAX is not anymore constant on Linux. Use sysconf(_SC_ARG_MAX).
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2008-04-10 05:59:13 +00:00
|
|
|
|
|
|
|
|
|
* Faster sqrt and sqrtf implemention for some PPC variants.
|
2012-05-21 12:50:42 +00:00
|
|
|
|
Implemented by Steven Munroe.
|
2006-10-11 20:34:59 +00:00
|
|
|
|
|
2007-09-19 22:12:22 +00:00
|
|
|
|
Version 2.7
|
|
|
|
|
|
2010-04-09 03:28:05 +00:00
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
|
|
|
|
4125, 4126, 4178, 4359, 4407, 4512, 4514, 4525, 4554, 4556, 4557, 4566,
|
|
|
|
|
4582, 4586, 4588, 4599, 4610, 4647, 4702, 4705, 4726, 4745, 4772, 4773,
|
|
|
|
|
4775, 4776, 4792, 4813, 4814, 4816, 4833, 4858, 4860, 4896, 4905, 4925,
|
|
|
|
|
4936, 4937, 4938, 4941, 4946, 4963, 4972, 5010, 5028, 5043, 5058, 5063,
|
|
|
|
|
5071, 5103, 5104, 5112, 5113, 5184, 5186
|
|
|
|
|
|
2007-09-19 22:12:22 +00:00
|
|
|
|
* More checking functions: fread, fread_unlocked, open*, mq_open.
|
|
|
|
|
Implemented by Jakub Jelinek and Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* Extend fortification to C++. Implemented by Jakub Jelinek.
|
|
|
|
|
|
|
|
|
|
* Implement 'm' modifier for scanf. Add stricter C99/SUS compliance
|
|
|
|
|
by not recognizing 'a' as a modifier when those specs are requested.
|
|
|
|
|
Implemented by Jakub Jelinek.
|
|
|
|
|
|
|
|
|
|
* PPC optimizations to math and string functions.
|
|
|
|
|
Implemented by Steven Munroe.
|
|
|
|
|
|
2007-10-18 05:45:49 +00:00
|
|
|
|
* New interfaces: mkostemp, mkostemp64. Like mkstemp* but allow additional
|
2007-09-19 22:12:22 +00:00
|
|
|
|
options to be passed. Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* More CPU set manipulation functions. Implemented by Ulrich Drepper.
|
|
|
|
|
|
2007-10-05 21:25:32 +00:00
|
|
|
|
* New Linux interfaces: signalfd, eventfd, eventfd_read, and eventfd_write.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2007-09-19 22:12:22 +00:00
|
|
|
|
* Handle private futexes in the NPTL implementation.
|
|
|
|
|
Implemented by Jakub Jelinek and Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* Add support for O_CLOEXEC. Implement in Hurd. Use throughout libc.
|
|
|
|
|
Implemented by Roland McGrath and Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* Linux/x86-64 vDSO support. Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* SHA-256 and SHA-512 based password encryption.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2007-10-05 21:25:32 +00:00
|
|
|
|
|
|
|
|
|
* New locales: ber_DZ, ber_MA, en_NG, fil_PH, fur_IT, fy_DE, ha_NG, ig_NG,
|
|
|
|
|
ik_CA, iu_CA, li_BE, li_NL, nds_DE, nds_NL, pap_AN, sc_IT, tk_TM, ug_CN,
|
|
|
|
|
yo_NG.
|
|
|
|
|
|
|
|
|
|
+ New iconv modules: MAC-CENTRALEUROPE, ISO-8859-9E, KOI8-RU.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2007-09-19 22:12:22 +00:00
|
|
|
|
|
[BZ #2510, BZ #2830, BZ #3137, BZ #3313, BZ #3426, BZ #3465, BZ #3480, BZ #3483, BZ #3493, BZ #3514, BZ #3515, BZ #3664, BZ #3673, BZ #3674]
2007-01-11 Jakub Jelinek <jakub@redhat.com>
* sysdeps/i386/soft-fp/sfp-machine.h: Remove.
* sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
2007-01-10 Ulrich Drepper <drepper@redhat.com>
* io/fts.c: Make sure fts_cur is always valid after return from
fts_read.
Patch by Miloslav Trmac <mitr@redhat.com>.
2006-10-27 Richard Sandiford <richard@codesourcery.com>
* elf/elf.h (R_MIPS_GLOB_DAT): Define.
(R_MIPS_NUM): Bump by 1.
2007-01-03 Jakub Jelinek <jakub@redhat.com>
* posix/execvp.c: Include alloca.h.
(allocate_scripts_argv): Renamed to...
(scripts_argv): ... this. Don't allocate buffer here nor count
arguments.
(execvp): Use alloca if possible.
* posix/Makefile: Add rules to build and run tst-vfork3 test.
* posix/tst-vfork3.c: New test.
* stdlib/Makefile (tst-strtod3-ENV): Define.
2007-01-02 Ulrich Drepper <drepper@redhat.com>
* posix/getconf.c: Update copyright year.
* nss/getent.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.
* debug/catchsegv.sh: Likewise.
2006-12-24 Ulrich Drepper <drepper@redhat.com>
* malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment
attempts.
2006-12-23 Ulrich Drepper <drepper@redhat.com>
* posix/wordexp.c: Remove some unnecessary tests.
2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
* sysdeps/unix/sysv/linux/sh/bits/shm.h: New file.
* nss/getXXbyYY_r.c: Include atomic.h.
(INTERNAL (REENTRANT_NAME)): Write startp after start_fct,
add atomic_write_barrier () in between.
2006-11-28 Jakub Jelinek <jakub@redhat.com>
* elf/dl-support.c: Include dl-procinfo.h.
* sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4,
PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS,
PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X):
Define.
(_dl_string_platform): Use PPC_PLATFORM_* macros instead of
hardcoded constants.
* sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use
PPC_PLATFORM_* macros for array designators.
2006-11-11 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap
names to the beginning.
(_dl_powerpc_platforms): Add "power6x".
* sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease.
(HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP.
(_DL_PLATFORMS_COUNT): Increase.
(_dl_string_platform): Handle power6x case.
* sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP,
PPC_FEATURE_POWER6_EXT): Define.
(PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment.
[-2^31 .. 2^31) range.
* sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME.
* sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
Handle relatime mount option.
2006-12-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include
kernel-features.h.
2006-12-11 Ulrich Drepper <drepper@redhat.com>
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand
separators also if no non-zero digits found.
* stdlib/Makefile (tests): Add tst-strtod3.
[BZ #3664]
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize
empty parsed strings.
* stdlib/Makefile (tests): Add tst-strtod2.
* stdlib/tst-strtod2.c: New file.
[BZ #3673]
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit
computation.
* stdlib/Makefile (tests): Add tst-atof2.
* stdlib/tst-atof2.c: New file.
[BZ #3674]
* stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value
correctly if removing trailing zero of hex-float.
* stdlib/Makefile (tests): Add tst-atof1.
* stdlib/tst-atof1.c: New file.
* misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.
Start searching for next comma at p rather than rest.
* misc/Makefile (tests): Add tst-mntent2.
* misc/tst-mntent2.c: New test.
2006-12-08 Ulrich Drepper <drepper@redhat.com>
* malloc/memusage.c: Handle realloc with new size of zero and
non-NULL pointer correctly.
(me): Really write first record twice.
(struct entry): Make format bi-arch safe.
(dest): Write out more realloc statistics.
* malloc/memusagestat.c (struct entry): Make format bi-arch safe.
2006-12-05 Jakub Jelinek <jakub@redhat.com>
* nis/nis_subr.c (nis_getnames): Revert last change.
2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/sh/sys/io.h: Removed.
2006-11-30 H.J. Lu <hongjiu.lu@intel.com>
* sysdeps/i386/i686/memcmp.S: Use jump table as the base of
jump table entries.
2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost
`clone' function to ensure proper unwinding stop of gdb.
* sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
2006-12-01 Ulrich Drepper <drepper@redhat.com>
* nscd/nscd.init: Remove obsolete and commented-out -S option
handling.
2006-11-23 Jakub Jelinek <jakub@redhat.com>
[BZ #3514]
* manual/string.texi (strncmp): Fix pastos from wcscmp description.
[BZ #3515]
* manual/string.texi (strtok): Remove duplicate paragraph.
2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with
libgcc not supporting `rflags' unwinding (register # >= 17).
2006-11-30 Jakub Jelinek <jakub@redhat.com>
* sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc
succeeded.
2006-11-29 Daniel Jacobowitz <dan@codesourcery.com>
Jakub Jelinek <jakub@redhat.com>
Jan Kratochvil <jan.kratochvil@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct
unwind information.
* sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for
'restore_rt' even in the 'signal' directory.
* sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list.
malloc crashed. Don't allocate memory unnecessarily in each
loop.
2006-10-21 Jakub Jelinek <jakub@redhat.com>
* resolv/mapv4v6addr.h (map_v4v6_address): Fix last change.
2006-11-20 Ulrich Drepper <drepper@redhat.com>
* resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit.
2006-11-18 Bruno Haible <bruno@clisp.org>
* sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke
__sysconf only after having tried to call getgroups32.
2006-11-19 Ulrich Drepper <drepper@redhat.com>
* nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style
addresses for IPv4 queries if they can be mapped.
2006-11-16 Jakub Jelinek <jakub@redhat.com>
* sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text.
* sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise.
(signmask): Add .size directive.
(othermask): Add .type directive.
2006-11-14 Ulrich Drepper <drepper@redhat.com>
* po/nl.po: Update from translation team.
* timezone/zdump.c: Redo fix for BZ #3137.
2006-11-14 Jakub Jelinek <jakub@redhat.com>
* nss/nss_files/files-alias.c (get_next_alias): Set line back
to first_unused after parsing :include: file.
* timezone/africa: Update from tzdata2006o.
* timezone/antarctica: Likewise.
* timezone/asia: Likewise.
* timezone/australasia: Likewise.
* timezone/backward: Likewise.
* timezone/europe: Likewise.
* timezone/iso3166.tab: Likewise.
* timezone/northamerica: Likewise.
* timezone/southamerica: Likewise.
* timezone/zone.tab: Likewise.
* time/tzfile.c (__tzfile_read): Extend to handle new file format
on machines with 64-bit time_t.
* timezone/checktab.awk: Update from tzcode2006o.
* timezone/ialloc.c: Likewise.
* timezone/private.h: Likewise.
* timezone/scheck.c: Likewise.
* timezone/tzfile.h: Likewise.
* timezone/tzselect.ksh: Likewise.
* timezone/zdump.c: Likewise.
* timezone/zic.c: Likewise.
[BZ #3483]
* elf/ldconfig.c (main): Call setlocale and textdomain.
Patch mostly by Benno Schulenberg <bensberg@justemail.net>.
[BZ #3480]
* manual/argp.texi: Fix typos.
* manual/charset.texi: Likewise.
* manual/errno.texi: Likewise.
* manual/filesys.texi: Likewise.
* manual/lang.texi: Likewise.
* manual/maint.texi: Likewise.
* manual/memory.texi: Likewise.
* manual/message.texi: Likewise.
* manual/resource.texi: Likewise.
* manual/search.texi: Likewise.
* manual/signal.texi: Likewise.
* manual/startup.texi: Likewise.
* manual/stdio.texi: Likewise.
* manual/sysinfo.texi: Likewise.
* manual/syslog.texi: Likewise.
* manual/time.texi: Likewise.
Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
[BZ #3465]
* sunrpc/clnt_raw.c: Minimal message improvements.
* sunrpc/pm_getmaps.c: Likewise.
* nis/nss_nisplus/nisplus-publickey.c: Likewise.
* nis/nis_print_group_entry.c: Likewise.
* locale/programs/repertoire.c: Likewise.
* locale/programs/charmap.c: Likewise.
* malloc/memusage.sh: Likewise.
* elf/dl-deps.c: Likewise.
* locale/programs/ld-collate.c: Likewise.
* libio/vswprintf.c: Likewise.
* malloc/memusagestat.c: Likewise.
* sunrpc/auth_unix.c: Likewise.
* sunrpc/rpc_main.c: Likewise.
* nscd/cache.c: Likewise.
* locale/programs/repertoire.c: Unify output messages.
* locale/programs/charmap.c: Likewise.
* locale/programs/ld-ctype.c: Likewise.
* locale/programs/ld-monetary.c: Likewise.
* locale/programs/ld-numeric.c: Likewise.
* locale/programs/ld-time.c: Likewise.
* elf/ldconfig.c: Likewise.
* nscd/selinux.c: Likewise.
* elf/cache.c: Likewise.
Patch mostly by Benno Schulenberg <bensberg@justemail.net>.
2006-11-10 Jakub Jelinek <jakub@redhat.com>
* string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization
if N is one bigger than return value.
* string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1
and l1 last arguments, if buf is defined, verify the return value
equals to strlen (buf) and verify no byte beyond passed length
is modified.
2006-11-10 Ulrich Drepper <drepper@redhat.com>
* po/sv.po: Update from translation team.
* sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev):
Use __new_sys_siglist instead of _sys_siglist_internal as
second macro argument.
(_old_sys_siglist): Use declare_symbol_alias macro instead of
strong_alias.
2006-11-09 Ulrich Drepper <drepper@redhat.com>
[BZ #3493]
* posix/unistd.h (sysconf): Remove const attribute.
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for
temporary or deprecated addresses.
Patch by Sridhar Samudrala <sri@us.ibm.com>.
* string/Makefile (tests): Add tst-strxfrm2.
* string/tst-strxfrm2.c: New file.
2006-10-09 Jakub Jelinek <jakub@redhat.com>
* elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0
rather than r->r_brk.
* string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal
optimization even if needed > n.
2006-11-07 Jakub Jelinek <jakub@redhat.com>
* include/libc-symbols.h (declare_symbol): Rename to...
(declare_symbol_alias): ... this. Add ORIGINAL argument, imply
strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes
.size directive.
* sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias
changes.
* sysdeps/gnu/siglist.c: Likewise.
2006-11-03 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/fpu/bits/mathinline.h
[__LIBC_INTERNAL_MATH_INLINES]: Moved to ...
* sysdeps/powerpc/fpu/math_private.h: ...here. New file.
2006-11-05 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
Update handling of cache descriptor 0x49 for new models.
* sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word):
Likewise.
2006-11-02 Ulrich Drepper <drepper@redhat.com>
* configure.in: Work around ld --help change and avoid -z relro
test completely if the architecture doesn't care about security.
2006-11-01 Ulrich Drepper <drepper@redhat.com>
* po/sv.po: Update from translation team.
2006-10-31 Ulrich Drepper <drepper@redhat.com>
* stdlib/atexit.c (atexit): Don't mark as hidden when used to
generate compatibility version.
2006-10-29 Ulrich Drepper <drepper@redhat.com>
* configure.in: Relax -z relro requirement a bit.
* po/sv.po: Update from translation team.
2006-10-29 Jakub Jelinek <jakub@redhat.com>
* elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P.
* elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
* elf/dl-close.c (_dl_close_worker): Likewise.
* elf/dl-open.c (_dl_open_worker): Likewise.
* sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define.
* configure.in: Require assembler support for visibility, compiler
support for visibility and aliases, linker support for various -z
options.
* Makeconfig: Remove conditional code which now is unnecessary.
* config.h.in: Likewise.
* config.make.in: Likewise.
* dlfcn/Makefile: Likewise.
* elf/Makefile: Likewise.
* elf/dl-load.c: Likewise.
* elf/rtld.c: Likewise.
* include/libc-symbols.h: Likewise.
* include/stdio.h: Likewise.
* io/Makefile: Likewise.
* io/fstat.c: Likewise.
* io/fstat64.c: Likewise.
* io/fstatat.c: Likewise.
* io/fstatat64.c: Likewise.
* io/lstat.c: Likewise.
* io/lstat64.c: Likewise.
* io/mknod.c: Likewise.
* io/mknodat.c: Likewise.
* io/stat.c: Likewise.
* io/stat64.c: Likewise.
* libio/stdio.c: Likewise.
* nscd/Makefile: Likewise.
* stdlib/Makefile: Likewise.
* stdlib/atexit.c: Likewise.
* sysdeps/generic/ldsodefs.h: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* sysdeps/i386/sysdep.h: Likewise.
* sysdeps/i386/i686/memcmp.S: Likewise.
* sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
* Makerules: USE_TLS support is now default.
* tls.make.c: Likewise.
* csu/Versions: Likewise.
* csu/libc-start.c: Likewise.
* csu/libc-tls.c: Likewise.
* csu/version.c: Likewise.
* dlfcn/dlinfo.c: Likewise.
* elf/dl-addr.c: Likewise.
* elf/dl-cache.c: Likewise.
* elf/dl-close.c: Likewise.
* elf/dl-iteratephdr.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-object.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-support.c: Likewise.
* elf/dl-sym.c: Likewise.
* elf/dl-sysdep.c: Likewise.
* elf/dl-tls.c: Likewise.
* elf/ldconfig.c: Likewise.
* elf/rtld.c: Likewise.
* elf/tst-tls-dlinfo.c: Likewise.
* elf/tst-tls1.c: Likewise.
* elf/tst-tls10.h: Likewise.
* elf/tst-tls14.c: Likewise.
* elf/tst-tls2.c: Likewise.
* elf/tst-tls3.c: Likewise.
* elf/tst-tls4.c: Likewise.
* elf/tst-tls5.c: Likewise.
* elf/tst-tls6.c: Likewise.
* elf/tst-tls7.c: Likewise.
* elf/tst-tls8.c: Likewise.
* elf/tst-tls9.c: Likewise.
* elf/tst-tlsmod1.c: Likewise.
* elf/tst-tlsmod13.c: Likewise.
* elf/tst-tlsmod13a.c: Likewise.
* elf/tst-tlsmod14a.c: Likewise.
* elf/tst-tlsmod2.c: Likewise.
* elf/tst-tlsmod3.c: Likewise.
* elf/tst-tlsmod4.c: Likewise.
* elf/tst-tlsmod5.c: Likewise.
* elf/tst-tlsmod6.c: Likewise.
* include/errno.h: Likewise.
* include/link.h: Likewise.
* include/tls.h: Likewise.
* locale/global-locale.c: Likewise.
* locale/localeinfo.h: Likewise.
* malloc/arena.c: Likewise.
* malloc/hooks.c: Likewise.
* malloc/malloc.c: Likewise.
* resolv/Versions: Likewise.
* sysdeps/alpha/dl-machine.h: Likewise.
* sysdeps/alpha/libc-tls.c: Likewise.
* sysdeps/generic/ldsodefs.h: Likewise.
* sysdeps/generic/tls.h: Likewise.
* sysdeps/i386/dl-machine.h: Likewise.
* sysdeps/ia64/dl-machine.h: Likewise.
* sysdeps/ia64/libc-tls.c: Likewise.
* sysdeps/mach/hurd/fork.c: Likewise.
* sysdeps/mach/hurd/i386/tls.h: Likewise.
* sysdeps/powerpc/powerpc32/dl-machine.c: Likwise.
* sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
* sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
* sysdeps/s390/libc-tls.c: Likewise.
* sysdeps/s390/s390-32/dl-machine.h: Likewise.
* sysdeps/s390/s390-64/dl-machine.h: Likewise.
* sysdeps/sh/dl-machine.h: Likewise.
* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
* sysdeps/x86_64/dl-machine.h: Likewise.
[BZ #3426]
* stdlib/stdlib.h: Adjust comment for canonicalize_file_name to
reality.
2006-10-27 Jakub Jelinek <jakub@redhat.com>
* elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope
argument.
(_dl_lookup_symbol_x): Adjust caller.
* sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove
_ns_global_scope.
* elf/rtld.c (dl_main): Don't initialize _ns_global_scope.
* elf/dl-libc.c: Revert l_scope name changes.
* elf/dl-load.c: Likewise.
* elf/dl-object.c: Likewise.
* elf/rtld.c: Likewise.
* elf/dl-close.c (_dl_close): Likewise.
* elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P,
always use __rtld_mrlock_{change,done}. Always free old scope list
here if not l_scope_mem.
* elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name
change. Never free scope list here. Just __rtld_mrlock_lock before
the lookup and __rtld_mrlock_unlock it after the lookup.
* elf/dl-sym.c: Likewise.
* include/link.h (struct r_scoperec): Remove.
(struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem
with l_scope_mem and l_scoperec_lock with l_scope_lock.
2006-10-25 Ulrich Drepper <drepper@redhat.com>
* sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION.
2006-10-18 Ulrich Drepper <drepper@redhat.com>
* configure.in: Disable building profile libraries by default.
2006-10-18 Ulrich Drepper <drepper@redhat.com>
* elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to
_dl_lookup_symbol_x code.
2006-10-17 Jakub Jelinek <jakub@redhat.com>
* elf/dl-runtime.c: Include sysdep-cancel.h.
(_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and
scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_*
instead of catomic_* macros.
* elf/dl-sym.c: Include sysdep-cancel.h.
(do_sym): Use __rtld_mrlock_* and scoperec->nusers only
if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros.
* elf/dl-close.c: Include sysdep-cancel.h.
(_dl_close): Use __rtld_mrlock_* and scoperec->nusers only
if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros.
* elf/dl-open.c: Include sysdep-cancel.h.
(dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only
if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros.
2006-10-17 Jakub Jelinek <jakub@redhat.com>
[BZ #3313]
* malloc/malloc.c (malloc_consolidate): Set maxfb to address of last
fastbin rather than end of fastbin array.
2006-10-18 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct
body macro.
* sysdeps/x86_64/bits/atomic.h
(__arch_c_compare_and_exchange_val_64_acq): Add missing casts.
(catomic_decrement): Use correct body macro.
2006-10-17 Jakub Jelinek <jakub@redhat.com>
* include/atomic.h: Add a unique prefix to all local variables
in macros.
* csu/tst-atomic.c (do_test): Test also catomic_* macros.
2006-10-14 Ulrich Drepper <drepper@redhat.com>
* resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated.
[BZ #3313]
* malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to
determine highest fast bin to consolidate, always look into all of
them.
(do_check_malloc_state): Only require for empty bins for large
sizes in main arena.
* libio/stdio.h: Add more __wur attributes.
2006-11-12 Andreas Jaeger <aj@suse.de>
[BZ #2510]
* manual/search.texi (Hash Search Function): Clarify.
(Array Search Function): Clarify.
2006-11-12 Joseph Myers <joseph@codesourcery.com>
[BZ #2830]
* math/atest-exp.c (main): Cast hex value to mp_limb_t before
shifting.
* math/atest-exp2.c (read_mpn_hex): Likewise.
* math/atest-sincos.c (main): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait.
* sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait.
* sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for
version GLIBC_2.6.
* Versions.def: Add GLIBC_2.6 for libc.
* sysdeps/i386/i486/bits/atomic.h: Add catomic_* support.
2006-10-11 Jakub Jelinek <jakub@redhat.com>
* malloc/malloc.c (_int_malloc): Remove unused any_larger variable.
* nis/nis_defaults.c (__nis_default_access): Don't call getenv twice.
* nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv.
* sysdeps/generic/unsecvars.h: Add NIS_PATH.
2006-10-11 Ulrich Drepper <drepper@redhat.com>
* include/atomic.c: Define catomic_* operations.
* sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems.
* stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*.
* malloc/memusage.c: Likewise.
* gmon/mcount.c: Likewise.
* elf/dl-close.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-profile.c: Likewise.
* elf/dl-sym.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-fptr.c: Likewise.
* resolv/res_libc.c: Likewise.
2006-10-10 Roland McGrath <roland@frob.com>
* sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast.
* sysdeps/mach/hurd/futimes.c: Likewise.
* sysdeps/mach/hurd/lutimes.c: Likewise.
2006-10-09 Ulrich Drepper <drepper@redhat.com>
Jakub Jelinek <jakub@redhat.com>
Implement reference counting of scope records.
* elf/dl-close.c (_dl_close): Remove all scopes from removed objects
from the list in objects which remain. Always allocate new scope
record.
* elf/dl-open.c (dl_open_worker): When growing array for scopes,
don't resize, allocate a new one.
* elf/dl-runtime.c: Update reference counters before using a scope
array.
* elf/dl-sym.c: Likewise.
* elf/dl-libc.c: Adjust for l_scope name change.
* elf/dl-load.c: Likewise.
* elf/dl-object.c: Likewise.
* elf/rtld.c: Likewise.
* include/link.h: Include <rtld-lowlevel.h>. Define struct
r_scoperec. Replace r_scope with pointer to r_scoperec structure.
Add l_scoperec_lock.
* sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>.
* sysdeps/generic/rtld-lowlevel.h: New file.
* include/atomic.h: Rename atomic_and to atomic_and_val and
atomic_or to atomic_or_val. Define new macros atomic_and and
atomic_or which do not return values.
* sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or.
Various cleanups.
* sysdeps/i386/i486/bits/atomic.h: Likewise.
* po/sv.po: Update from translation team.
2006-10-07 Ulrich Drepper <drepper@redhat.com>
* Versions.def: Add GLIBC_2.6 to libpthread.
* include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use.
(versioned_symbol): Likewise.
(compat_symbol): Likewise.
* po/tr.po: Update from translation team.
* nis/Banner: Removed. It's been integral part forever and the
author info is incomplete anyway.
* libio/Banner: Likewise.
2006-10-06 Ulrich Drepper <drepper@redhat.com>
* version.h (VERSION): Bump to 2.5.90 for new development tree.
2007-01-11 21:51:07 +00:00
|
|
|
|
Version 2.6
|
2006-10-11 20:34:59 +00:00
|
|
|
|
|
2010-04-09 03:28:05 +00:00
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
|
|
|
|
3156, 3213, 3285, 3291, 3306, 3313, 3320, 3322, 3325, 3326, 3334, 3348,
|
|
|
|
|
3352, 3363, 3369, 3426, 3427, 3429, 3451, 3458, 3465, 3480, 3483, 3493,
|
|
|
|
|
3514, 3515, 3559, 3632, 3664, 3673, 3674, 3745, 3747, 3818, 3840, 3842,
|
|
|
|
|
3851, 3855, 3884, 3885, 3902, 3905, 3919, 3944, 3954, 3955, 3957, 3991,
|
|
|
|
|
3995, 3996, 4024, 4040, 4069, 4070, 4074, 4076, 4096, 4101, 4102, 4114,
|
|
|
|
|
4130, 4131, 4181, 4276, 4306, 4342, 4344, 4349, 4364, 4368, 4381, 4392,
|
|
|
|
|
4403, 4405, 4406, 4411, 4438, 4439, 4455, 4456, 4465, 4512, 4514, 4586,
|
|
|
|
|
4702, 4858
|
|
|
|
|
|
2007-04-26 04:59:42 +00:00
|
|
|
|
* New Linux interfaces: epoll_pwait, sched_getcpu.
|
2006-10-11 20:34:59 +00:00
|
|
|
|
|
2007-02-01 16:14:15 +00:00
|
|
|
|
* New generic interfaces: strerror_l.
|
|
|
|
|
|
2007-01-14 05:26:04 +00:00
|
|
|
|
* nscd can now cache the services database. Implemented by Ulrich Drepper.
|
2006-04-16 21:34:32 +00:00
|
|
|
|
|
|
|
|
|
Version 2.5
|
|
|
|
|
|
2010-04-09 03:28:05 +00:00
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
|
|
|
|
39, 68, 192, 352, 388, 531, 935, 1006, 1201, 1203, 1386, 1782, 1783, 1784,
|
|
|
|
|
1785, 1786, 1787, 1951, 1974, 1996, 2072, 2098, 2125, 2134, 2158, 2182,
|
|
|
|
|
2349, 2376, 2386, 2389, 2415, 2418, 2420, 2423, 2450, 2451, 2466, 2472,
|
|
|
|
|
2473, 2477, 2498, 2499, 2501, 2502, 2505, 2507, 2508, 2509, 2517, 2526,
|
|
|
|
|
2569, 2571, 2592, 2611, 2625, 2632, 2644, 2662, 2680, 2683, 2684, 2693,
|
|
|
|
|
2695, 2703, 2734, 2751, 2764, 2766, 2775, 2792, 2821, 2823, 2832, 2841,
|
|
|
|
|
2843, 2883, 2892, 2908, 2914, 2926, 2961, 2978, 2980, 2987, 2997, 2998,
|
|
|
|
|
3013, 3018, 3034, 3040, 3044, 3123, 3124, 3137, 3138, 3143, 3155, 3189,
|
|
|
|
|
3225, 3251, 3252, 3253, 3273
|
|
|
|
|
|
2006-04-16 21:34:32 +00:00
|
|
|
|
* For Linux, the sorting of addresses returned by getaddrinfo now also
|
2006-09-24 17:14:11 +00:00
|
|
|
|
handles rules 3, 4, and 7 from RFC 3484. I.e., all rules are handled.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2006-04-16 21:34:32 +00:00
|
|
|
|
|
2006-05-08 01:01:08 +00:00
|
|
|
|
* Allow system admin to configure getaddrinfo with the /etc/gai.conf file.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2006-07-10 21:59:43 +00:00
|
|
|
|
* New Linux interfaces: splice, tee, sync_file_range, vmsplice.
|
2006-05-01 22:33:24 +00:00
|
|
|
|
|
|
|
|
|
* New iconv module for MIK. Contributed by Alexander Shopov.
|
2006-04-16 21:34:32 +00:00
|
|
|
|
|
2006-05-08 01:01:08 +00:00
|
|
|
|
* For sites with broken group and/or passwd database, the auto-propagate
|
|
|
|
|
option of nscd can prevent creating ID lookup entries from the results
|
|
|
|
|
of a name lookup and vice versa. This usually is no problem but some
|
2006-09-24 17:14:11 +00:00
|
|
|
|
site might have problems with the default behavior.
|
2006-05-08 01:01:08 +00:00
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
[BZ #2693]
* inet/Makefile (routines): Add inet6_opt and inet6_rth.
* inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init,
inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next,
inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init,
inet6_rth_add, inet6_rth_reverse, inet6_rth_segments,
and inet6_rth_getaddr.
* inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible
array.
* inet/netinet/in.h (struct ip6_mtuinfo): Define.
Mark inet6_option_* interfaces as deprecated.
Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish,
inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val,
inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse,
inet6_rth_segments, and inet6_rth_getaddr.
* inet/inet6_opt.c: New file.
* inet/inet6_rth.c: New file.
* inet/netinet/icmp6.h: Pretty printing.
2006-05-25 04:50:06 +00:00
|
|
|
|
* Iterating over entire database in NIS can be slow. With the
|
2006-05-08 01:01:08 +00:00
|
|
|
|
SETENT_BATCH_READ option in /etc/default/nss a system admin can decide
|
|
|
|
|
to trade time for memory. The entire database will be read at once.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
[BZ #2693]
* inet/Makefile (routines): Add inet6_opt and inet6_rth.
* inet/Versions (libc, GLIBC_2.5): Add inet6_opt_init,
inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next,
inet6_opt_find, inet6_opt_get_val, inet6_rth_space, inet6_rth_init,
inet6_rth_add, inet6_rth_reverse, inet6_rth_segments,
and inet6_rth_getaddr.
* inet/netinet/ip6.h (struct ip6_rthdr0): Make ip6r0_addr a flexible
array.
* inet/netinet/in.h (struct ip6_mtuinfo): Define.
Mark inet6_option_* interfaces as deprecated.
Declare inet6_opt_init, inet6_opt_append, inet6_opt_finish,
inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val,
inet6_rth_space, inet6_rth_init, inet6_rth_add, inet6_rth_reverse,
inet6_rth_segments, and inet6_rth_getaddr.
* inet/inet6_opt.c: New file.
* inet/inet6_rth.c: New file.
* inet/netinet/icmp6.h: Pretty printing.
2006-05-25 04:50:06 +00:00
|
|
|
|
* The interfaces introduced in RFC 3542 have been implemented by
|
|
|
|
|
Ulrich Drepper.
|
|
|
|
|
|
2006-07-10 21:59:43 +00:00
|
|
|
|
* Support for the new ELF hash table format was added by Ulrich Drepper.
|
|
|
|
|
|
2006-07-29 05:07:43 +00:00
|
|
|
|
* Support for priority inheritance mutexes added by Jakub Jelinek and
|
|
|
|
|
Ulrich Drepper.
|
|
|
|
|
|
2006-08-15 05:27:55 +00:00
|
|
|
|
* Support for priority protected mutexes added by Jakub Jelinek.
|
|
|
|
|
|
2006-09-29 18:45:39 +00:00
|
|
|
|
* New locales: nr_ZA, pa_PK, ca_AD, ca_FR, ca_IT, el_CY, tr_CY, as_IN,
|
|
|
|
|
or_IN, csb_PL, fy_NL, sr_ME.
|
1999-06-13 15:38:11 +00:00
|
|
|
|
|
* iconvdata/ibm930.h: Correct Yen mapping.
* iconvdata/ibm939.h: Likewise.
* iconvdata/testdata/IBM930..UTF8: Adjust test data.
* iconvdata/testdata/IBM939..UTF8: Likewise.
Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
* iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
(distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
ibm1158.c, and ibm1158.h.
* iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
* iconvdata/gconv-modules: Likewise.
* iconvdata/ibm1025.c: New file.
* iconvdata/ibm1025.h: New file.
* iconvdata/ibm1122.c: New file.
* iconvdata/ibm1122.h: New file.
* iconvdata/ibm1137.c: New file.
* iconvdata/ibm1137.h: New file.
* iconvdata/ibm1153.c: New file.
* iconvdata/ibm1153.h: New file.
* iconvdata/ibm1154.c: New file.
* iconvdata/ibm1154.h: New file.
* iconvdata/ibm1155.c: New file.
* iconvdata/ibm1155.h: New file.
* iconvdata/ibm1156.c: New file.
* iconvdata/ibm1156.h: New file.
* iconvdata/ibm1157.c: New file.
* iconvdata/ibm1157.h: New file.
* iconvdata/ibm1158.c: New file.
* iconvdata/ibm1158.h: New file.
* iconvdata/testdata/IBM1025: New file.
* iconvdata/testdata/IBM1025..UTF8: New file.
* iconvdata/testdata/IBM1122: New file.
* iconvdata/testdata/IBM1122..UTF8: New file.
* iconvdata/testdata/IBM1137: New file.
* iconvdata/testdata/IBM1137..UTF8: New file.
* iconvdata/testdata/IBM1153: New file.
* iconvdata/testdata/IBM1153..UTF8: New file.
* iconvdata/testdata/IBM1154: New file.
* iconvdata/testdata/IBM1154..UTF8: New file.
* iconvdata/testdata/IBM1155: New file.
* iconvdata/testdata/IBM1155..UTF8: New file.
* iconvdata/testdata/IBM1156: New file.
* iconvdata/testdata/IBM1156..UTF8: New file.
* iconvdata/testdata/IBM1157: New file.
* iconvdata/testdata/IBM1157..UTF8: New file.
* iconvdata/testdata/IBM1158: New file.
* iconvdata/testdata/IBM1158..UTF8: New file.
Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2005-02-22 07:12:35 +00:00
|
|
|
|
Version 2.4
|
|
|
|
|
|
|
|
|
|
* More overflow detection functions.
|
|
|
|
|
|
|
|
|
|
* New iconv converters for IBM1025, IBM1122, IBM1137, IBM1153,
|
|
|
|
|
IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158 contributed by Jiro Sekiba.
|
2005-03-20 04:26:29 +00:00
|
|
|
|
|
2005-11-10 00:12:21 +00:00
|
|
|
|
More converters for IBM803, IBM901, IBM902, IBM921, IBM1008, IBM1097,
|
|
|
|
|
IBM1112, IBM1123, IBM1130, IBM1140, IBM1141, IBM1142, IBM1143, IBM1144,
|
|
|
|
|
IBM1145, IBM1146, IBM1147, IBM1148, IBM1149, IBM1166, IBM1167, IBM4517,
|
|
|
|
|
IBM4899, IBM4909, IBM4971, IBM5347, IBM9030, IBM9066, IBM9448, IBM12712,
|
|
|
|
|
IBM16804, IBM1364, IBM1371, IBM1388, IBM1390, and IBM1399 contributed
|
|
|
|
|
by Masahide Washizawa.
|
|
|
|
|
|
2005-03-20 04:26:29 +00:00
|
|
|
|
* It is now possible to install audit libraries for the dynamic linker using
|
|
|
|
|
LD_AUDIT. Implemented by Ulrich Drepper.
|
2005-07-03 04:43:32 +00:00
|
|
|
|
|
|
|
|
|
* The LinuxThreads add-on, providing pthreads on Linux 2.4 kernels, is no
|
|
|
|
|
longer supported. The new NPTL implementation requires Linux 2.6 kernels.
|
|
|
|
|
For a libc and libpthread that works well on Linux 2.4 kernels, we
|
|
|
|
|
recommend using the stable 2.3 branch.
|
2005-11-10 00:12:21 +00:00
|
|
|
|
|
2006-03-01 09:54:57 +00:00
|
|
|
|
* The new function open_wmemstream acts like open_memstream,
|
|
|
|
|
but uses a wchar_t wide character buffer.
|
|
|
|
|
|
|
|
|
|
* The new function ppoll is an improved version of poll, similar to pselect.
|
|
|
|
|
|
|
|
|
|
* New interfaces: fdopendir, openat, fstatat, fchmodat, fchownat,
|
|
|
|
|
futimesat, faccessat, mkdirat, mkfifoat, mknodat,
|
|
|
|
|
renameat, unlinkat, linkat, symlinkat, readlinkat.
|
|
|
|
|
|
|
|
|
|
* New Linux kernel system calls: unshare,
|
|
|
|
|
inotify_init, inotify_add_watch, inotify_rm_watch.
|
|
|
|
|
|
|
|
|
|
* The euidaccess function is now also known by the alias eaccess,
|
|
|
|
|
for compatibility with some other systems.
|
|
|
|
|
|
|
|
|
|
* Timezone data updated to 2006b version.
|
* iconvdata/ibm930.h: Correct Yen mapping.
* iconvdata/ibm939.h: Likewise.
* iconvdata/testdata/IBM930..UTF8: Adjust test data.
* iconvdata/testdata/IBM939..UTF8: Likewise.
Patch by Jiro Sekiba <SEKIBA@jp.ibm.com>.
* iconvdata/Makefile (modules): Add IBM1025, IBM1122, IBM1137, IBM1153,
IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
(distribute): Add ibm1025.c, ibm1025.h, ibm1122.c, ibm1122.h,
ibm1137.c, ibm1137.h, ibm1153.c, ibm1153.h, ibm1154.c, ibm1154.h,
ibm1155.c, ibm1155.h, ibm1156.c, ibm1156.h, ibm1157.c, ibm1157.h,
ibm1158.c, and ibm1158.h.
* iconvdata/TESTS: Add IBM1025, IBM1122, IBM1137, IBM1153,
IBM1154, IBM1155, IBM1156, IBM1157, and IBM1158.
* iconvdata/gconv-modules: Likewise.
* iconvdata/ibm1025.c: New file.
* iconvdata/ibm1025.h: New file.
* iconvdata/ibm1122.c: New file.
* iconvdata/ibm1122.h: New file.
* iconvdata/ibm1137.c: New file.
* iconvdata/ibm1137.h: New file.
* iconvdata/ibm1153.c: New file.
* iconvdata/ibm1153.h: New file.
* iconvdata/ibm1154.c: New file.
* iconvdata/ibm1154.h: New file.
* iconvdata/ibm1155.c: New file.
* iconvdata/ibm1155.h: New file.
* iconvdata/ibm1156.c: New file.
* iconvdata/ibm1156.h: New file.
* iconvdata/ibm1157.c: New file.
* iconvdata/ibm1157.h: New file.
* iconvdata/ibm1158.c: New file.
* iconvdata/ibm1158.h: New file.
* iconvdata/testdata/IBM1025: New file.
* iconvdata/testdata/IBM1025..UTF8: New file.
* iconvdata/testdata/IBM1122: New file.
* iconvdata/testdata/IBM1122..UTF8: New file.
* iconvdata/testdata/IBM1137: New file.
* iconvdata/testdata/IBM1137..UTF8: New file.
* iconvdata/testdata/IBM1153: New file.
* iconvdata/testdata/IBM1153..UTF8: New file.
* iconvdata/testdata/IBM1154: New file.
* iconvdata/testdata/IBM1154..UTF8: New file.
* iconvdata/testdata/IBM1155: New file.
* iconvdata/testdata/IBM1155..UTF8: New file.
* iconvdata/testdata/IBM1156: New file.
* iconvdata/testdata/IBM1156..UTF8: New file.
* iconvdata/testdata/IBM1157: New file.
* iconvdata/testdata/IBM1157..UTF8: New file.
* iconvdata/testdata/IBM1158: New file.
* iconvdata/testdata/IBM1158..UTF8: New file.
Contributed by Jiro Sekiba <SEKIBA@jp.ibm.com>.
2005-02-22 07:12:35 +00:00
|
|
|
|
|
2005-11-04 01:52:16 +00:00
|
|
|
|
Version 2.3.6
|
|
|
|
|
|
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
|
|
|
|
38, 253, 549, 622, 653, 721, 758, 851, 877, 915, 934, 955, 961,
|
|
|
|
|
1016, 1037, 1076, 1079, 1080, 1081, 1082, 1083, 1084, 1085, 1086,
|
|
|
|
|
1087, 1088, 1090, 1091, 1092, 1093, 1094, 1095, 1096, 1097, 1098,
|
|
|
|
|
1099, 1100, 1101, 1102, 1103, 1104, 1105, 1106, 1107, 1108, 1109,
|
|
|
|
|
1110, 1111, 1112, 1113, 1125, 1137, 1138, 1249, 1250, 1251, 1252,
|
|
|
|
|
1253, 1254, 1350, 1358, 1394, 1438, 1498, 1534
|
|
|
|
|
|
|
|
|
|
Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
|
|
|
|
|
|
|
|
|
|
* As of this release, GCC 4 can be used to compile the C Library.
|
|
|
|
|
|
|
|
|
|
* Timezone data updated to 2005m version.
|
|
|
|
|
|
2005-04-06 03:07:37 +00:00
|
|
|
|
Version 2.3.5
|
|
|
|
|
|
|
|
|
|
* The following bugs are resolved with this release:
|
|
|
|
|
|
|
|
|
|
284, 592, 602, 626, 633, 640, 650, 661, 671, 681, 693, 700, 710, 719,
|
|
|
|
|
722, 723, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736,
|
|
|
|
|
737, 738, 739, 740, 741, 742, 743, 744, 745, 765, 767, 768, 769, 776,
|
|
|
|
|
777, 787, 821, 822, 823, 825
|
|
|
|
|
|
|
|
|
|
Visit <http://sources.redhat.com/bugzilla/> for the details of each bug.
|
|
|
|
|
|
2004-08-06 05:04:49 +00:00
|
|
|
|
Version 2.3.4
|
|
|
|
|
|
|
|
|
|
* Support for RFC 3678. Real implementations exist only for Linux so far.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2004-09-17 08:44:34 +00:00
|
|
|
|
|
|
|
|
|
* nscd can now cache entries persistently. Expiring entries are reloaded.
|
|
|
|
|
For speedups the cache can be shared in memory with client processes.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* nscd can now perform SELinux checks.
|
|
|
|
|
Implemented by Matthew Rickard <mjricka@epoch.ncsc.mil>.
|
|
|
|
|
|
2004-10-19 16:05:21 +00:00
|
|
|
|
* getaddrinfo queries are now cached. Canonical name lookup is performed
|
2004-09-17 08:44:34 +00:00
|
|
|
|
efficiently.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* The nothrow function attribute is used when headers are used by gcc when
|
|
|
|
|
compiling C code. This can avoid significant amounts of exception
|
|
|
|
|
handling data.
|
|
|
|
|
|
|
|
|
|
* The malloc functions perform more error checking and are stricter when
|
|
|
|
|
it comes to reacting on errors. The default action is to terminate
|
2004-10-19 16:05:21 +00:00
|
|
|
|
the process after showing an error message. Implemented by Ulrich Drepper.
|
2004-09-17 08:44:34 +00:00
|
|
|
|
|
|
|
|
|
* Reverse lookups of IPv6 addresses does not use bit string or .ip6.int
|
2004-10-19 16:05:21 +00:00
|
|
|
|
lookups anymore unless explicitly requested. Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* Namespaces in ld.so are implemented. DSOs can be loaded in separate
|
|
|
|
|
namespaces using the new function dlmopen(). This feature is of course,
|
|
|
|
|
like most other dynamic loading functionality, not available in statically
|
|
|
|
|
linked applications. Implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* Low-overhead boundary checking variants of string and some stdio functions
|
|
|
|
|
were added. These are to be used in conjunction with a gcc patch by
|
|
|
|
|
Jakub Jelinek which adds calls to these functions if possible.
|
2004-12-19 09:41:58 +00:00
|
|
|
|
Implemented by Jakub Jelinek and Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* Old code for several operating systems and machine architectures that
|
|
|
|
|
have not been in working condition in a long time have been removed from
|
|
|
|
|
the main source tree maintained by the GNU C Library's maintainers.
|
|
|
|
|
These files are now reside in the separate `ports' source module
|
|
|
|
|
that is usable as an add-on when building the library.
|
2004-08-06 05:04:49 +00:00
|
|
|
|
|
2003-03-03 00:20:51 +00:00
|
|
|
|
Version 2.3.3
|
|
|
|
|
|
2003-03-15 23:16:22 +00:00
|
|
|
|
* New functions `dladdr1' and `dlinfo' in <dlfcn.h> provide more ways to
|
|
|
|
|
interrogate the dynamic linker, compatible with the Solaris interface.
|
|
|
|
|
|
2003-03-03 00:20:51 +00:00
|
|
|
|
* ELF thread-local storage support (TLS) now works on PowerPC and PowerPC64;
|
|
|
|
|
implemented by Paul Mackerras, Steven Munroe, and Roland McGrath.
|
2003-04-24 23:45:17 +00:00
|
|
|
|
|
2004-06-07 21:53:43 +00:00
|
|
|
|
* getifaddrs now uses the netlink interface on Linux to get its information.
|
2003-04-24 23:45:17 +00:00
|
|
|
|
Implemented by Thorsten Kukuk.
|
|
|
|
|
|
|
|
|
|
* getaddrinfo now implements AI_V4MAPPED, AI_ALL, and AI_ADDRCONF.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
2003-11-26 03:24:15 +00:00
|
|
|
|
|
|
|
|
|
* support for non-executable stacks on x86 has been added. Changes mostly
|
|
|
|
|
by Roland McGrath.
|
|
|
|
|
|
2003-11-29 07:20:47 +00:00
|
|
|
|
* regex is now much faster for multibyte locales. Changes by Jakub Jelinek
|
2003-11-26 03:24:15 +00:00
|
|
|
|
and Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* getaddrinfo now performs destination address selection according to
|
|
|
|
|
RFC 3484.
|
2003-03-03 00:20:51 +00:00
|
|
|
|
|
* elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.
* sysdeps/mach/hurd/getresuid.c: New file.
* sysdeps/mach/hurd/getresgid.c: New file.
* sysdeps/mach/hurd/setresuid.c: New file.
* sysdeps/mach/hurd/setresgid.c: New file.
* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
setresgid): Declare them.
* NEWS: Mention it.
* include/unistd.h
(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
add libc_hidden_proto.
* posix/Versions (libc: GLIBC_2.3.2): New set. Add
getresuid, getresgid, setresuid, setresgid here.
* Versions.def (libc): Define GLIBC_2.3.2 set.
* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
Add libc_hidden_def.
* sysdeps/generic/getresgid.c (__getresgid): Likewise.
* sysdeps/generic/setresgid.c: New file.
* sysdeps/generic/setresuid.c: New file.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add getresuid and getresgid here.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add setresuid and setresgid here.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* posix/Makefile (routines): Add them all here instead.
* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
__getresuid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
__getresgid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
__setresgid. Add libc_hidden_def for that, and weak alias to old name.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
Caller is - now, not EXTRA.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(setresuid, setresgid, getresuid, getresgid): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
Add these calls here.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Add setfsuid and setfsgid here.
* sysdeps/unix/sysv/linux/arm/Makefile: Not here.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* hurd/errno.c: Renamed to ...
* hurd/errno-loc.c: ... this.
* hurd/Makefile (routines): errno -> errno-loc
2002-10-14 01:03:16 +00:00
|
|
|
|
Version 2.3.2
|
|
|
|
|
|
2002-12-03 00:54:55 +00:00
|
|
|
|
* Thread-safe interfaces for many functions that access locale data
|
|
|
|
|
were added in version 2.3, but these features were omitted from NEWS.
|
|
|
|
|
Many functions have variants with an `_l' suffix that take a `locale_t'
|
|
|
|
|
object as a parameter rather than consulting the current locale.
|
|
|
|
|
The new functions `newlocale', `duplocale', and `freelocale' in <locale.h>
|
|
|
|
|
create and maintain `locale_t' objects. Additionally, the new function
|
|
|
|
|
`uselocale' sets "the current locale" (as used by functions not so
|
|
|
|
|
parameterized) set for an individual thread. These features were added
|
|
|
|
|
in version 2.3, implemented by Ulrich Drepper and Roland McGrath.
|
|
|
|
|
|
* elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.
* sysdeps/mach/hurd/getresuid.c: New file.
* sysdeps/mach/hurd/getresgid.c: New file.
* sysdeps/mach/hurd/setresuid.c: New file.
* sysdeps/mach/hurd/setresgid.c: New file.
* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
setresgid): Declare them.
* NEWS: Mention it.
* include/unistd.h
(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
add libc_hidden_proto.
* posix/Versions (libc: GLIBC_2.3.2): New set. Add
getresuid, getresgid, setresuid, setresgid here.
* Versions.def (libc): Define GLIBC_2.3.2 set.
* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
Add libc_hidden_def.
* sysdeps/generic/getresgid.c (__getresgid): Likewise.
* sysdeps/generic/setresgid.c: New file.
* sysdeps/generic/setresuid.c: New file.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add getresuid and getresgid here.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add setresuid and setresgid here.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* posix/Makefile (routines): Add them all here instead.
* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
__getresuid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
__getresgid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
__setresgid. Add libc_hidden_def for that, and weak alias to old name.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
Caller is - now, not EXTRA.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(setresuid, setresgid, getresuid, getresgid): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
Add these calls here.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Add setfsuid and setfsgid here.
* sysdeps/unix/sysv/linux/arm/Makefile: Not here.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* hurd/errno.c: Renamed to ...
* hurd/errno-loc.c: ... this.
* hurd/Makefile (routines): errno -> errno-loc
2002-10-14 01:03:16 +00:00
|
|
|
|
* The functions getresuid, getresgid, setresuid, and setresgid, which
|
|
|
|
|
have long been available on Linux, are now declared in <unistd.h>
|
|
|
|
|
and are now also available on the Hurd.
|
|
|
|
|
|
|
|
|
|
* ELF thread-local storage support (TLS) now works on x86-64.
|
2002-10-14 08:03:18 +00:00
|
|
|
|
|
|
|
|
|
* The new dynamic string token $LIB is expanded in shared library names.
|
|
|
|
|
This normally expands to lib, but on some 64-bit platforms to lib64 instead.
|
2002-11-05 08:43:05 +00:00
|
|
|
|
|
2002-12-03 00:54:55 +00:00
|
|
|
|
* Aldy Hernandez contributed complete software floating point support for
|
|
|
|
|
PowerPC machines with no FPU.
|
|
|
|
|
|
2002-11-05 08:43:05 +00:00
|
|
|
|
* fexecve is implemented on Linux.
|
2002-12-02 22:39:58 +00:00
|
|
|
|
|
2002-12-03 00:54:55 +00:00
|
|
|
|
* The `btowc' function should work at least twice as fast due to
|
|
|
|
|
specialized callbacks in the iconv modules. Implemented by Bruno Haible.
|
2003-01-13 09:28:02 +00:00
|
|
|
|
|
|
|
|
|
* With approriate thread add-ons cancelable functions are now implemented
|
|
|
|
|
in libc.so as well. No need to call the function in libpthread. This
|
|
|
|
|
change allowed to finally disable the incorrect and expensive handling
|
|
|
|
|
of weak definition in ld.so.
|
|
|
|
|
|
|
|
|
|
* Yet more PLT entries in libc.so have been removed. We finally arrived
|
|
|
|
|
at the bare minimum. Startup times improved appropriately.
|
|
|
|
|
|
|
|
|
|
* Support for the new Linux/x86 system call interface was added. The
|
|
|
|
|
AT_SYSINFO auxiliary vector entry is recognized and handled.
|
* elf/rtld-Rules ($(objpfx)rtld-libc.a): Use $(verbose) in ar command.
* sysdeps/mach/hurd/getresuid.c: New file.
* sysdeps/mach/hurd/getresgid.c: New file.
* sysdeps/mach/hurd/setresuid.c: New file.
* sysdeps/mach/hurd/setresgid.c: New file.
* posix/unistd.h [__USE_GNU] (getresuid, getresgid, setresuid,
setresgid): Declare them.
* NEWS: Mention it.
* include/unistd.h
(__getresuid, __getresgid, __setresuid, __setresgid): Declare them,
add libc_hidden_proto.
* posix/Versions (libc: GLIBC_2.3.2): New set. Add
getresuid, getresgid, setresuid, setresgid here.
* Versions.def (libc): Define GLIBC_2.3.2 set.
* sysdeps/generic/getresuid.c (__getresuid): Fix argument types.
Add libc_hidden_def.
* sysdeps/generic/getresgid.c (__getresgid): Likewise.
* sysdeps/generic/setresgid.c: New file.
* sysdeps/generic/setresuid.c: New file.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add getresuid and getresgid here.
* sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = misc]
(sysdep_routines): Don't add setresuid and setresgid here.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* posix/Makefile (routines): Add them all here instead.
* sysdeps/unix/sysv/linux/i386/getresuid.c (getresuid): Renamed to
__getresuid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/getresgid.c (getresgid): Renamed to
__getresgid. Add libc_hidden_def for that, and weak alias to old name.
* sysdeps/unix/sysv/linux/i386/setresuid.c: Add libc_hidden_def.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/i386/setresgid.c (setresgid): Renamed to
__setresgid. Add libc_hidden_def for that, and weak alias to old name.
[! __NR_setresuid]: Include generic file.
* sysdeps/unix/sysv/linux/syscalls.list (setresuid, setresgid):
Caller is - now, not EXTRA.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
(setresuid, setresgid, getresuid, getresgid): Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (getresuid, getresgid):
Add these calls here.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove them here.
* sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
(sysdep_routines): Add setfsuid and setfsgid here.
* sysdeps/unix/sysv/linux/arm/Makefile: Not here.
* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/cris/Makefile: Likewise.
* sysdeps/unix/sysv/linux/sh/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Likewise.
* sysdeps/unix/sysv/linux/i386/Makefile: Likewise.
* sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
* hurd/errno.c: Renamed to ...
* hurd/errno-loc.c: ... this.
* hurd/Makefile (routines): errno -> errno-loc
2002-10-14 01:03:16 +00:00
|
|
|
|
|
2001-11-29 07:43:03 +00:00
|
|
|
|
Version 2.3
|
2002-02-07 03:50:24 +00:00
|
|
|
|
|
2001-11-29 07:43:03 +00:00
|
|
|
|
* Masahide Washizawa contributed iconv modules for IBM1163 and IBM1164
|
|
|
|
|
charsets.
|
|
|
|
|
|
|
|
|
|
* iconv (the program and the interface) now accepts empty names (excluding
|
|
|
|
|
options like //TRANSLIT) to mean "use charset of current locale".
|
2001-12-10 01:37:56 +00:00
|
|
|
|
|
2002-07-24 19:26:31 +00:00
|
|
|
|
* localedef can now transliterate characters in strings which are not in
|
2001-12-10 01:37:56 +00:00
|
|
|
|
the provided charmap. The information from the input locale is used.
|
2001-12-12 05:49:48 +00:00
|
|
|
|
|
|
|
|
|
* Prelinking support was added for ELF targets. This requires additional
|
|
|
|
|
tools and recent versions of the GNU binutils. Contributed by Jakub Jelinek.
|
2002-01-08 06:38:01 +00:00
|
|
|
|
|
2002-07-24 19:26:31 +00:00
|
|
|
|
* Read-only stdio streams now use mmap to speed up operation by eliminating
|
2002-08-30 07:12:22 +00:00
|
|
|
|
copying and buffer underflows. To use add 'm' to the mode string of
|
|
|
|
|
the fopen/fdopen/freopen call. Implemented by Ulrich Drepper.
|
2002-01-29 09:21:41 +00:00
|
|
|
|
|
|
|
|
|
* The malloc functions were completely rewritten by Wolfram Gloger based
|
|
|
|
|
on Doug Lea's malloc-2.7.0.c.
|
2002-02-26 19:06:03 +00:00
|
|
|
|
|
2002-07-24 19:26:31 +00:00
|
|
|
|
* Isamu Hasegawa contributed a completely new and POSIX-conformant
|
2002-02-26 19:06:03 +00:00
|
|
|
|
implementation of regex.
|
2002-04-20 08:14:24 +00:00
|
|
|
|
|
|
|
|
|
* Bruno Haible upgraded the iconv and locale implementation to support
|
|
|
|
|
Unicode 3.2.
|
2002-07-24 11:51:16 +00:00
|
|
|
|
|
2002-07-24 19:26:31 +00:00
|
|
|
|
* Contents of the LC_* and LANG environment variables in the CEN style are
|
|
|
|
|
not recognized anymore. It never was used. Change by Ulrich Drepper.
|
2002-07-24 11:51:16 +00:00
|
|
|
|
|
2002-07-24 19:26:31 +00:00
|
|
|
|
* The runtime (ld.so, libc, libpthread for Linux) now can handle the ELF
|
|
|
|
|
thread-local storage (TLS) ABI on some platforms.
|
|
|
|
|
Changes by Ulrich Drepper. SH support by Kaz Kojima.
|
2002-07-24 11:51:16 +00:00
|
|
|
|
|
|
|
|
|
* Bruno Haible contributed iconv converters for ISO-2022-JP-3, SHIFT JIS-X0213,
|
2002-12-03 00:54:55 +00:00
|
|
|
|
EUC-JISX0213, and TSCII.
|
2002-07-24 23:05:17 +00:00
|
|
|
|
|
|
|
|
|
* New header <ifaddrs.h> with functions `getifaddrs' and `freeifaddrs':
|
|
|
|
|
BSD-compatible interface for getting all network interface addresses.
|
|
|
|
|
Implementation for IPv4 by Roland McGrath.
|
2002-08-21 23:28:24 +00:00
|
|
|
|
|
|
|
|
|
* Loading of locale data is faster due to the introduction of a locale
|
|
|
|
|
archive. Implemented by Roland McGrath and Ulrich Drepper.
|
2002-08-28 22:37:20 +00:00
|
|
|
|
|
|
|
|
|
* Startup times are significantly reduced by not using exported functions
|
|
|
|
|
inside the library itself. Changes by Jakub Jelinek, Roland McGrath,
|
|
|
|
|
and Ulrich Drepper.
|
2002-09-18 00:15:25 +00:00
|
|
|
|
|
|
|
|
|
* Steven Munroe contributed a port to PowerPC64/Linux.
|
|
|
|
|
|
2002-08-29 01:42:29 +00:00
|
|
|
|
Version 2.2.6
|
|
|
|
|
|
|
|
|
|
* The Hurd now uses the GNU libio implementation of stdio rather than the
|
|
|
|
|
old GNU stdio implementation, and uses a new ABI (libc.so.0.3).
|
|
|
|
|
|
|
|
|
|
* The Hurd on x86 now has the `ioperm' function and <sys/io.h> header file
|
|
|
|
|
with the same behavior as the Linux system call of the same name.
|
2001-11-29 07:43:03 +00:00
|
|
|
|
|
2001-10-15 03:32:58 +00:00
|
|
|
|
Version 2.2.5
|
|
|
|
|
|
2001-11-10 10:39:05 +00:00
|
|
|
|
* Stephen Moshier implemented log2, log10, powl and cbrtl for the
|
|
|
|
|
128-bit long double format.
|
2001-10-15 03:32:58 +00:00
|
|
|
|
|
2001-10-31 09:32:37 +00:00
|
|
|
|
* Masahide Washizawa contributed iconv modules for IBM1132, IBM1133, IBM1160,
|
|
|
|
|
IBM1161, and IBM1162 charsets.
|
2001-10-15 03:32:58 +00:00
|
|
|
|
|
2001-12-14 15:55:04 +00:00
|
|
|
|
* Andreas Jaeger contributed a port to x86-64/Linux.
|
2001-10-15 03:32:58 +00:00
|
|
|
|
|
2001-11-10 00:37:59 +00:00
|
|
|
|
* Peter Bruin contributed a port to PowerPC/Hurd.
|
|
|
|
|
|
2001-10-15 03:32:58 +00:00
|
|
|
|
* libc functions using I/O streams now can handle wide-oriented streams
|
|
|
|
|
as well.
|
|
|
|
|
|
2002-08-29 01:42:29 +00:00
|
|
|
|
* optimizations in the dynamic linker. Binaries created by recent binutils
|
|
|
|
|
versions start up quicker due to reduced time spent on relocations.
|
2002-01-08 06:38:01 +00:00
|
|
|
|
|
|
|
|
|
* Support for use of gcc3 added by Jakub Jelinek and HJ Lu.
|
2001-11-10 00:37:59 +00:00
|
|
|
|
|
2001-05-15 08:00:22 +00:00
|
|
|
|
Version 2.2.4
|
|
|
|
|
|
2001-06-29 15:16:08 +00:00
|
|
|
|
* Stephen Moshier implemented cosh, expm1, log1p, acos, sinh, tanh,
|
2001-08-11 16:57:22 +00:00
|
|
|
|
asinh, atanh, j0 for the 128-bit long double format.
|
2001-06-16 19:50:36 +00:00
|
|
|
|
|
|
|
|
|
* Bruno Haible updated all the code handling Unicode in some form to
|
|
|
|
|
support Unicode 3.1.
|
2001-06-19 03:12:45 +00:00
|
|
|
|
|
|
|
|
|
* Speed of regex for single-byte locales is back to previous levels.
|
|
|
|
|
Patch by Isamu Hasegawa.
|
2001-07-26 01:39:53 +00:00
|
|
|
|
|
2001-07-26 14:41:27 +00:00
|
|
|
|
* Alpha, SPARC, and IA-64 now also using floating stacks.
|
2001-07-26 01:39:53 +00:00
|
|
|
|
|
2001-07-26 14:41:27 +00:00
|
|
|
|
* Startup time of internationalized applications greatly improved through
|
2001-07-26 01:39:53 +00:00
|
|
|
|
iconv cache. Use iconvconfig to generate the cache file.
|
|
|
|
|
Contributed by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* The IA-64 specific part of ld.so was rewritten to eliminate some pretty
|
|
|
|
|
severe performance problems. Patch by David Mosberger.
|
|
|
|
|
|
|
|
|
|
* The Hurd port got a lot more functionality like AIO, various stdio
|
|
|
|
|
extensions, etc. Mainly done by Roland McGrath.
|
2001-07-27 08:29:06 +00:00
|
|
|
|
|
|
|
|
|
* mtrace can now lookup symbols in shared libraries.
|
2001-05-15 08:00:22 +00:00
|
|
|
|
|
2001-03-03 18:21:04 +00:00
|
|
|
|
Version 2.2.3
|
|
|
|
|
|
2001-03-04 08:47:11 +00:00
|
|
|
|
* Intel's IA-64 math library is largely integrated. It provides fast and
|
2001-03-03 18:21:04 +00:00
|
|
|
|
accurate implementatations for most basic and standard math functions
|
|
|
|
|
in float, double, and long double format.
|
|
|
|
|
|
2001-04-05 07:21:12 +00:00
|
|
|
|
* Stephen Moshier implemented j0, j1, jn, y0, y1, yn, lgamma, erf, erfc,
|
2001-04-20 16:00:24 +00:00
|
|
|
|
and asin for the 96-bit long double format and asin, log, tan for the
|
|
|
|
|
128-bit long double format.
|
2001-03-04 19:15:03 +00:00
|
|
|
|
|
2001-03-12 00:04:52 +00:00
|
|
|
|
* The beginning of a last-bit accurate math library by IBM Haifa were added.
|
|
|
|
|
The basic double functions exist today. Contributed by Abraham Ziv
|
|
|
|
|
<ziv@il.ibm.com>, Moshe Olshansky <olshansk@il.ibm.com>, Ealan Henis
|
|
|
|
|
<ealan@il.ibm.com>, and Anna Reitman <reitman@il.ibm.com>.
|
|
|
|
|
|
2001-03-03 18:21:04 +00:00
|
|
|
|
* An asynchronous name lookup library was added. The interface is designed
|
|
|
|
|
after POSIX AIO. The proposal was circulated beforehand to get comments.
|
|
|
|
|
No negative ones came in. Implemented by Ulrich Drepper.
|
2001-03-16 17:23:19 +00:00
|
|
|
|
|
|
|
|
|
* Port to S390/64bit contributed by Martin Schwidefsky
|
|
|
|
|
<schwidefsky@de.ibm.com>.
|
2001-03-16 22:26:45 +00:00
|
|
|
|
|
|
|
|
|
* David Mosberger <davidm@hpl.hp.com> implemented the setcontext family
|
|
|
|
|
of functions for Linux/IA-64.
|
2001-03-20 21:05:29 +00:00
|
|
|
|
|
|
|
|
|
* The RPC code is now thread safe. Threads can now use the same service
|
|
|
|
|
of different services at the same time. Patch by Eric Norum
|
|
|
|
|
<eric.norum@usask.ca> with some help by Ulrich Drepper.
|
2001-04-05 07:21:12 +00:00
|
|
|
|
|
|
|
|
|
* Martin Schwidefsky <schwidefsky@de.ibm.com> implemented the setcontext
|
|
|
|
|
family of functions for Linux/S390.
|
2001-04-07 20:39:34 +00:00
|
|
|
|
|
|
|
|
|
* Ulrich Drepper <drepper@redhat.com> implemented the setcontext family
|
|
|
|
|
of functions for Linux/x86.
|
2001-04-09 04:55:59 +00:00
|
|
|
|
|
|
|
|
|
* Port to Linux/CRIS contributed by Axis Communications.
|
2001-03-03 18:21:04 +00:00
|
|
|
|
|
2001-01-31 07:42:03 +00:00
|
|
|
|
Version 2.2.2
|
|
|
|
|
|
2001-02-10 07:33:38 +00:00
|
|
|
|
* Lots of headers were cleaned up. Using the tool in the conform/ subdir
|
2001-01-31 07:42:03 +00:00
|
|
|
|
we can now check for namespace violations and missing declarations. The
|
|
|
|
|
result is that almost all headers are now Unix-compliant (as defined in
|
|
|
|
|
the upcoming XPG6). The negative side is that some programs might need
|
|
|
|
|
corrections, too, if they depend on the incorrect form of the headers in
|
|
|
|
|
previous versions which defined too many symbols and included too many
|
|
|
|
|
other headers.
|
2001-02-10 07:33:38 +00:00
|
|
|
|
|
|
|
|
|
* regex now handles multibyte character sets correctly.
|
|
|
|
|
Contributed by Isamu Hasegawa <isamu@yamato.ibm.com>.
|
|
|
|
|
|
|
|
|
|
* iconv (the program) does now conform to the upcoming XPG6 and handles
|
|
|
|
|
charmaps. Instead of the charset names the path of charmaps can be
|
|
|
|
|
provided and the conversion happens based on this data.
|
|
|
|
|
Contributed by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* The locale program now provides detailed information about the installed
|
|
|
|
|
locales. While
|
|
|
|
|
|
|
|
|
|
locale -a
|
|
|
|
|
|
|
|
|
|
only lists the names of the supported locales
|
|
|
|
|
|
|
|
|
|
locale -a --verbose
|
|
|
|
|
|
|
|
|
|
provides details such as country, language, and codeset name.
|
|
|
|
|
Contributed by Ulrich Drepper.
|
2001-01-31 07:42:03 +00:00
|
|
|
|
|
2000-11-27 08:58:12 +00:00
|
|
|
|
Version 2.2.1
|
|
|
|
|
|
|
|
|
|
* The gencat program now parses the input file according to the charset
|
|
|
|
|
selected by the LC_CTYPE category. This is important for stateful
|
|
|
|
|
character sets. To make generating catalogs easier there is a way
|
|
|
|
|
to overwrite the charset selected by the locale: before the first
|
|
|
|
|
message or $ quote line the catalog can contain a line like
|
|
|
|
|
|
|
|
|
|
$ codeset=ISO-8859-2
|
|
|
|
|
|
|
|
|
|
to select the charset (ISO-8859-2 in this case).
|
|
|
|
|
|
|
|
|
|
Implemented by Shinya Hanataka and Ulrich Drepper.
|
2000-11-28 18:12:18 +00:00
|
|
|
|
|
|
|
|
|
* New codeset conversion modules: IBM-922 (Estonia PC codeset),
|
|
|
|
|
IBM-1124 (Ukraine PC codeset), IBM-1129 (Vietnamese PC codeset).
|
|
|
|
|
Contributed by Masahide Washizawa <washi@jp.ibm.com>.
|
2001-01-13 00:55:28 +00:00
|
|
|
|
|
|
|
|
|
* Optimized string functions for Alpha ev6 and ev67 by Richard Henderson
|
|
|
|
|
<rth@redhat.com> and Rick Gorton <rick.gorton@alpha-processor.com>.
|
|
|
|
|
|
|
|
|
|
* The LANGUAGE environment variable is now ignored unless the locale is
|
|
|
|
|
changed from the default "C" locale.
|
|
|
|
|
|
|
|
|
|
* The usual bug fixes.
|
2000-11-27 08:58:12 +00:00
|
|
|
|
|
1999-06-13 15:38:11 +00:00
|
|
|
|
Version 2.2
|
|
|
|
|
|
2000-08-04 20:47:00 +00:00
|
|
|
|
* Greg McGary added runtime support for bounds checking using gcc's
|
|
|
|
|
new -fbounded-pointers option. ix86 target is complete. PowerPC
|
|
|
|
|
is in progress.
|
|
|
|
|
|
1999-06-13 15:38:11 +00:00
|
|
|
|
* Thorsten Kukuk added secure mode support to nscd.
|
|
|
|
|
|
2000-01-02 08:45:58 +00:00
|
|
|
|
* The Berkeley db libraries have been removed.
|
1999-06-13 15:38:11 +00:00
|
|
|
|
|
2000-08-14 06:17:28 +00:00
|
|
|
|
Related, the nss_db module is now in a separate package since it
|
|
|
|
|
obviously requires a database library being available.
|
|
|
|
|
|
1999-06-16 23:11:09 +00:00
|
|
|
|
* Wide character I/O streams implemented by Ulrich Drepper.
|
|
|
|
|
|
2000-01-22 05:50:49 +00:00
|
|
|
|
* Functions from the extended socket API added by Ulrich Drepper.
|
1999-08-25 18:57:31 +00:00
|
|
|
|
|
1999-11-17 18:52:42 +00:00
|
|
|
|
* Functions feenableexcept and fedisableexcept to control the
|
|
|
|
|
behaviour of individual exceptions have been added by Andreas Jaeger.
|
|
|
|
|
|
1999-12-04 08:00:00 +00:00
|
|
|
|
* ldconfig program added by Andreas Jaeger and Jakub Jelinek.
|
|
|
|
|
|
2000-08-10 01:18:30 +00:00
|
|
|
|
* The resolver code has been updated from bind 8.2.3-T5B which supports
|
|
|
|
|
threads. The integration was done by Andreas Jaeger, Adam D. Bradley,
|
|
|
|
|
and Mark Kettenis.
|
2000-05-28 19:32:08 +00:00
|
|
|
|
|
|
|
|
|
This change could in some situations effect backward compatibility. Since
|
|
|
|
|
now `_res' is a thread-local instead of a global variable, modifying it
|
|
|
|
|
in one thread does not have any effect in other threads.
|
1999-12-30 08:09:32 +00:00
|
|
|
|
|
2000-08-14 08:11:15 +00:00
|
|
|
|
The resolver library was also extended to allow IPv6 as the transport
|
2000-08-10 01:18:30 +00:00
|
|
|
|
protocol for the requests. This work was done by Stig Venaas.
|
|
|
|
|
|
1999-12-31 19:29:52 +00:00
|
|
|
|
* Compatibility code for K&R C compilers has been removed from the
|
|
|
|
|
header files. A ISO C compiler is needed to use the library
|
|
|
|
|
(conforming to either C89 or C99 standard).
|
|
|
|
|
|
2000-01-22 05:50:49 +00:00
|
|
|
|
* Complete rewrite of the localedef program to support multibyte character
|
|
|
|
|
sets. Implement handling of ISO 14651 and ISO 14652. Rewrite strcoll,
|
|
|
|
|
strxfrm, wcscoll, and wcsxfrm functions. Make isw*() functions work.
|
|
|
|
|
Implemented by Ulrich Drepper.
|
|
|
|
|
|
2000-08-29 03:44:11 +00:00
|
|
|
|
Bruno Haible significantly improved the generation and use of the data
|
|
|
|
|
structures for the wide character tables.
|
|
|
|
|
|
2000-01-22 05:50:49 +00:00
|
|
|
|
* Plural handling in gettext implemented by Ulrich Drepper.
|
|
|
|
|
|
2000-04-19 02:40:21 +00:00
|
|
|
|
* The utmp daemon has been removed.
|
|
|
|
|
|
|
|
|
|
* The port to MIPS-Linux has been finished by Andreas Jaeger.
|
|
|
|
|
|
2000-06-12 23:07:15 +00:00
|
|
|
|
* A port to Hitachi SH3 and SH4 has been contributed by Kazumoto Kojima
|
|
|
|
|
and Yutaka Niibe.
|
|
|
|
|
|
2000-06-14 07:14:09 +00:00
|
|
|
|
* POSIX clocks and timers implemented by Kaz Kylheku and Ulrich Drepper.
|
|
|
|
|
|
2000-07-01 15:41:36 +00:00
|
|
|
|
* POSIX barriers implemented by Kaz Kylheku.
|
|
|
|
|
|
2000-06-14 07:14:09 +00:00
|
|
|
|
* POSIX spawn function family implemented by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* POSIX spinlocks are now available.
|
|
|
|
|
|
2000-07-01 15:41:36 +00:00
|
|
|
|
* Timed wait functions for mutex, rwlock, and semaphores are implemented.
|
|
|
|
|
|
2000-08-29 03:44:11 +00:00
|
|
|
|
* the configure option --enable-kernel=X.Y.Z allows to strip out
|
|
|
|
|
compatibility for kernel versions before X.Y.Z. This is currently only
|
|
|
|
|
implemented for Linux.
|
|
|
|
|
|
2000-09-29 16:45:44 +00:00
|
|
|
|
* the sockaddr_in6 structure changed. The IPv6 working group added a new
|
|
|
|
|
field sin6_scope_id. This means that all programs using IPv6 should be
|
|
|
|
|
recompiled. Don't expect binary compatibility with previous glibc
|
|
|
|
|
versions.
|
|
|
|
|
|
2000-11-04 03:29:28 +00:00
|
|
|
|
* various conversion modules for IBM character sets contributed by
|
|
|
|
|
Masahide Washizawa.
|
|
|
|
|
|
2000-08-29 03:44:11 +00:00
|
|
|
|
* IA-64 port by Jes Sorensen and HJ Lu.
|
2000-01-02 18:30:13 +00:00
|
|
|
|
|
|
|
|
|
Version 2.1.3
|
|
|
|
|
|
|
|
|
|
* bug fixes
|
|
|
|
|
|
1999-08-25 18:57:31 +00:00
|
|
|
|
|
|
|
|
|
Version 2.1.2
|
|
|
|
|
|
|
|
|
|
* bug fixes
|
|
|
|
|
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
1999-02-07 12:50:11 +00:00
|
|
|
|
Version 2.1.1
|
|
|
|
|
|
1999-04-12 23:00:37 +00:00
|
|
|
|
* New ISO C 9x function _Exit, imaxabs, and imaxdiv are added.
|
|
|
|
|
|
1999-04-29 12:18:08 +00:00
|
|
|
|
* New xdr functions are added; some rpc functions are now 64bit clean.
|
|
|
|
|
|
1999-05-18 10:00:20 +00:00
|
|
|
|
* Fixed a number of bugs and memory leaks (especially in NIS+ code).
|
1999-04-29 12:18:08 +00:00
|
|
|
|
|
|
|
|
|
* Fixed known incompatibilities with glibc 2.0.
|
|
|
|
|
|
1999-05-18 10:00:20 +00:00
|
|
|
|
* New functions lock64, strchrnul, rawmemchr, getutmp and getutmpx.
|
1999-04-29 12:18:08 +00:00
|
|
|
|
|
1999-05-18 10:00:20 +00:00
|
|
|
|
* Optimized a number of functions (especially the ELF dynamic loader).
|
1999-04-29 12:18:08 +00:00
|
|
|
|
|
|
|
|
|
* Update timezone data files.
|
1999-04-12 23:00:37 +00:00
|
|
|
|
|
1999-04-29 15:04:27 +00:00
|
|
|
|
* lots of charmaps corrections
|
|
|
|
|
|
|
|
|
|
* some new locale definitions and charmaps
|
|
|
|
|
|
1999-02-07 12:50:11 +00:00
|
|
|
|
|
1997-02-15 04:31:36 +00:00
|
|
|
|
Version 2.1
|
|
|
|
|
|
Update.
1998-02-10 23:57 Ulrich Drepper <drepper@happy.cygnus.com>
* misc/tst-efgcvt.c: Add more tests.
* misc/efgcvt_r.c: Correct result for above new tests.
1998-02-06 17:22 H.J. Lu <hjl@gnu.org>
* misc/efgcvt_r.c (fcvt_r, ecvt_r): Correctly handle
NDIGIT <= 0.
1998-02-10 16:48 Philip Blundell <pb@nexus.co.uk>
* Makerules (install-no-libc.a-nosubdir): Don't install-bin (etc)
if the programs weren't built.
1998-02-09 10:12 Philip Blundell <pb@nexus.co.uk>
* sysdeps/libm-ieee754/s_exp2.c (__ieee754_exp2): If we don't have
FE_TONEAREST, soldier on regardless and do the best we can.
* sysdeps/libm-ieee754/s_exp2f.c (__ieee754_exp2f): likewise.
1998-02-5 17:20 Philip Blundell <pb@nexus.co.uk>
* sysdeps/standalone/filedesc.h: Define __need_FOPEN_MAX, not
_STDIO_H, before including <bits/stdio_lim.h>.
* sysdeps/standalone/arm/bits/errno.h (EOVERFLOW): Added.
* io/fts.c (fts_build): Don't try to use d_type if it doesn't
exist.
* sysdeps/arm/sys/ucontext.h: New file.
1998-02-04 10:11 Philip Blundell <pb@nexus.co.uk>
* manual/stdio.texi (Formatted Output Functions): Explicitly say
that the return value from snprintf() does not count the
terminating NUL as a character.
1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
* manual/users.texi: Rewrite to describe correct POSIX behaviour,
add description for sete[ug]id and general cleanup.
Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (parent-clean): Don't remove makefile fragments here.
(postclean): New variable.
(clean): Remove makefile fragments here.
(realclean distclean): Likewise. Pass sysdep-subdirs to sub-make.
(generated): Add isomac and isomanc.out.
* Makeconfig ($(common-objpfx)soversions.mk): Don't generate if
avoid-generated is set.
(postclean-generated): Add soversion.mk.
($(common-objpfx)version.mk): Don't include if avoid-generated is
set.
* Makerules: Still need to include $(+sysdir_pfx)sysd-Makefile if
avoid-generated is set.
(common-generated): Add libc.so and libc.so$(libc.so-version).
(generated): Add versioned libraries.
(common-mostlyclean): Also remove %.so and %_pic.a.
* csu/Makefile (generated): Add abi-tag.h.
* db2/Makefile (extra-objs): Add getlong.o.
* elf/Makefile (generated): Add ld.so, ldd and
$(rtld-installed-name).
(others): Add ldconfig here instead of ldconfig.o to extra-objs.
* malloc/Makefile (generated): Add mtrace.
* po/Makefile: Don't include version.mk, not needed any more.
* sunrpc/Makefile (generated): Add rpc-proto.d and rpcgen.
* sysdeps/unix/Makefile: Fix local_lim.h -> bits/local_lim.h,
syscall.h -> sys/syscall.h.
(common-generated): Add s-proto.d.
(postclean-generated): Add sysd-syscalls.
* localedata/Makefile (test-output): Add all output files.
(generated): Add test-input and test-output.
(generated-dirs): Add all the dirs.
1998-01-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (test-output, generated, generated-dirs): New
variables.
1998-02-10 16:57 Ulrich Drepper <drepper@happy.cygnus.com>
* resolv/nss_dns/dns-host.c: Various code cleanups.
1998-02-09 08:10 H.J. Lu <hjl@gnu.org>
* resolv/gethnamaddr.c (getanswer): Fix the PTR/CNAME bug.
From Philip Blundell <pb@nexus.co.uk>.
* resolv/nss_dns/dns-host.c (getanswer_r): Ditto.
1998-02-08 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* libc.map: Add .rem, .div, .mul, .udiv, .umul, .urem for Sparc.
Suggested by debian/sparc porters.
1998-02-07 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* misc/tst-efgcvt.c: Totally rewritten, added a lot of new tests
for ecvt and fcvt.
1998-02-10 16:32 Ulrich Drepper <drepper@happy.cygnus.com>
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Use __xstat and
__fxstat instead of stat and fstat. Use namespace clean __stpcpy.
* signal/signal.h: Always define sigset_t if __need_sigset_t is
defined even if __USE_POSIX is not defined.
1998-02-02 20:51 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Correct last patch
to support obsolete tty major numbers correctly.
1998-02-02 08:47 H.J. Lu <hjl@gnu.org>
* login/Makefile ($(inst_libexecdir)/pt_chown): Make the target
directory first and ignore install error.
* sysdeps/unix/sysv/linux/ptsname.c (__ptsname_r): Substract
128 from ptyno and fix a typo for the BSD style pty.
1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/Makefile ($(common-objpfx)s-proto.d): Depend on all
syscalls.list's.
1998-02-01 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
getresuid and getresgid.
* sysdeps/unix/sysv/linux/getresuid.c: New file.
* sysdeps/unix/sysv/linux/getresgid.c: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Remove getres[ug]id, add
s_getres[ug]id.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Add getres[ug]id.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1998-02-02 08:11 H.J. Lu <hjl@gnu.org>
* nscd/grpcache.c: Include <stdlib.h>.
1998-02-01 16:01 H.J. Lu <hjl@gnu.org>
* stdlib/atoll.c: Fix comments.
* sysdeps/posix/ttyname.c: Ignore stdin/stdout/stderr.
* sysdeps/posix/ttyname_r.c: Ditto.
1998-02-03 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* io/sys/stat.h: Define S_IFLNK and S_IFSOCK if __USE_BSD or
__USE_MISC, independent of __USE_UNIX98.
1998-02-10 19:18 Ulrich Drepper <drepper@happy.cygnus.com>
* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_missing_rt_sigs):
Rename from __libc_have_rt_sigs and leave as COMMON data.
1998-02-04 11:58 Richard Henderson <rth@twiddle.rth.home>
* Makeconfig (CFLAGS-.os): Kill -fno-common.
* Makerules (libc.so): Prelink libc_pic.a, allocating commons.
* libc.map (GLIBC_2.1): Add Linux/Alpha tv64 symbols.
* elf/rtld.map: New file. Needed to define the GLIBC_2.*
version symbols.
* include/libc-symbols.h (symbol_version, default_symbol_version):
Provide asm versions and correct !DO_VERSIONING versions.
* sysdeps/unix/make-syscalls.sh: Recognize version symbols in
the weak symbol list.
* sysdeps/unix/sysv/linux/sigaction.c (__libc_missing_rt_sigs):
Rename from __libc_have_rt_sigs and leave as COMMON data.
* sysdeps/unix/sysv/linux/sigpending.c: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
1998-02-04 16:41 Zack Weinberg <zack@rabi.phys.columbia.edu>
* sunrpc/Makefile: Correct dependencies of rpcgen.
1998-02-10 03:00 Ulrich Drepper <drepper@happy.cygnus.com>
* nscd/Makefile: Fix test for available linuxthreads add-on.
Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1998-02-05 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/unix/sysv/linux/syscalls.list: Fix typo in lchown.
1998-02-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/gnu/Makefile: Respect with-cvs variable.
* manual/errno.texi (Error Messages): Correct description of
strerror_r. Pointed out by jonas@bagge.se.
1998-01-29 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* manual/socket.texi (Host Address Functions): Clarify description
of inet_network.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/grantpt.c (argv): Move const to toplevel.
(grantpt): Delete superfluous cast.
1998-02-06 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile ($(inst_slibdir)/libc-$(version).so): Depend on
elf/ldso_install instead of elf/subdir_install.
(elf/ldso_install): New target.
* elf/Makefile (ldso_install): New target.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/powerpc/socket.S: Really do the change
of 1998-01-06.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/bits/string2.h (strcmp): Use __string2_1bptr_p only for
constant expressions.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* nss/test-netdb.c: Include <unistd.h> for gethostname and "nss.h"
for __nss_configure_lookup.
(output_hostent): Remove unused variable.
1998-02-07 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* string/tst-inlcall.c: Fix format string.
1998-02-09 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* inet/netinet/in.h: Rename second parameter of bindresvport to
avoid buggy gcc warning. [PR libc/412]
1998-02-10 20:06:30 +00:00
|
|
|
|
* Richard Henderson corrected size of struct timeval on Linux/Alpha to
|
|
|
|
|
conform to POSIX member type requirements. Symbol versions have been
|
|
|
|
|
adjusted as needed within the library, and for direct use by applications,
|
|
|
|
|
but there is potential for problems if third-party libraries use
|
|
|
|
|
struct timeval as part of their interface. This does not present
|
|
|
|
|
a problem for X and other "essential" system libraries.
|
|
|
|
|
|
1997-02-15 04:31:36 +00:00
|
|
|
|
* An additional locale model to support C++ Standard Library locale
|
1997-02-19 04:43:53 +00:00
|
|
|
|
model and probably more was implemented by Ulrich Drepper.
|
1997-02-15 04:31:36 +00:00
|
|
|
|
|
1997-02-19 04:43:53 +00:00
|
|
|
|
* Eric Youngdale and Ulrich Drepper implemented versioning of objects on
|
1997-02-15 04:31:36 +00:00
|
|
|
|
symbol level.
|
|
|
|
|
|
|
|
|
|
* Miles Bader provided the `argp' function family to support hierachical
|
|
|
|
|
command line argument parsing, layered on top of getopt.
|
update from main archive 970304
1997-03-04 04:31 Ulrich Drepper <drepper@cygnus.com>
* Makerules: Add rules to handle versioning.
* config.h.in (DO_VERSIONING): New macro.
* config.make.in (versioning): New variable.
* configure.in: Add checks for .symver directive in gas and
--version-script option to ld. Define DO_VERSIONING and
versioning if appropriate.
* math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
s_fmin, and s_fdim.
* math/math.h: Define ISO C 9X constants, macros and functions.
* math/mathcalls.h: Likewise.
* sysdeps/libm-ieee754/s_fdim.c: New file.
* sysdeps/libm-ieee754/s_fdimf.c: New file.
* sysdeps/libm-ieee754/s_fdiml.c: New file.
* sysdeps/libm-ieee754/s_fmax.c: New file.
* sysdeps/libm-ieee754/s_fmaxf.c: New file.
* sysdeps/libm-ieee754/s_fmaxl.c: New file.
* sysdeps/libm-ieee754/s_fmin.c: New file.
* sysdeps/libm-ieee754/s_fminf.c: New file.
* sysdeps/libm-ieee754/s_fminl.c: New file.
* sysdeps/libm-ieee754/s_fpclassify.c: New file.
* sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
* sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
* sysdeps/libm-ieee754/s_signbit.c: New file.
* sysdeps/libm-ieee754/s_signbitf.c: New file.
* sysdeps/libm-ieee754/s_signbitl.c: New file.
* stdio-common/printf_fphex.c: Correct printing of decimal point
character.
Simplify conversion of mantissa to string.
* stdio-common/vfscanf.c: Handle %A format.
Optimize termination of floating-point scanning.
* stdio-common/tstscanf.c (main): Add new test to scanf to test
scanning float values with given width.
* stdlib/strtod.c: Add handling of floating-point numbers in
hexadecimal notation.
* stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
functions.
Pretty print #if directives.
* string/string.h: Pretty print #if directives.
* sysdeps/ieee754/dbl2mpn.c: Update copyright.
* sysdeps/ieee754/ldbl2mpn.c: Likewise.
* sysdeps/ieee754/mpn2dbl.c: Likewise.
* sysdeps/ieee754/mpn2flt.c: Likewise.
* sysdeps/ieee754/mpn2ldbl.c: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Implement poll function by
falling back to select-based implementation if syscall isn't
available.
* sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
* time/leapseconds: Update from tzdata1997b.
* time/zic.c: Update from tzcode1997b.
1997-03-01 15:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
depedencies between installed $(tzlinks) and $(tzbases) files.
1997-03-01 14:27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* math/math.h: Make compatible with traditional preprocessor;
requires carefull placement of whitespace in macro arguments.
Use __CONCAT instead of ##.
Declare long double functions only if __STDC__ or __GNUC__.
* math/mathcall.h: Avoid whitespace before argument of macro call
that is used as function name.
* sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
(__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
of __NO_M81_MATH_INLINES.
[!__LIBC_M81_MATH_INLINES]: Don't define internal functions
starting with __ieee754.
[!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
functions as inlines.
(__m81_defun): Put __attribute__ between return type and function
name.
* math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
is defined.
* sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
instead of __NO_M81_MATH_INLINES.
* sysdeps/m68k/fpu/e_fmod.c: Likewise.
* sysdeps/m68k/fpu/k_cos.c: Likewise.
* sysdeps/m68k/fpu/k_sin.c: Likewise.
* sysdeps/m68k/fpu/k_tan.c: Likewise.
* sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
* sysdeps/m68k/fpu/s_frexp.c: Likewise.
* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/m68k/fpu/s_modf.c: Likewise.
* sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1997-02-27 21:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (tests): Cope with $PATH not including the current
directory.
1997-02-27 18:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
$(common-objdir-compile).
($(common-objpfx)make-ioctls): Likewise.
(mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
($(common-objpfx)sys/param.h): Use $(make-target-directory).
($(addprefix $(common-objpfx),$(sys/param.h-includes))):
Likewise.
($(common-objpfx)sys/syscall.h): Likewise.
($(common-objpfx)local_lim.h): Let make deal with command
failure.
($(common-objpfx)param.h.dep): Use temporary file and update
target atomically.
($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
(include $(common-objpfx)param.h.dep): Ignore error.
* sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
$(common-objdir-compile).
(mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
$(shell pwd) instead of $$cwd.
* sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
$(common-objdir-compile).
($(objpfx)make_siglist): Use $(native-compile).
(make_siglist-CFLAGS): New variable.
* Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
the old name for the user to pass additional flags to the host
compiler. Fix reference to config header.
(native-compile, common-objdir-compile): Rewritten to make more
generally usable.
* sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
instead of BUILD_CFLAGS.
* sysvips/sys/ipc.h: Warn if needed feature select macro are not
defined.
1997-02-27 17:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
New rules to generate dependencies for the RPC service objects.
1997-02-27 16:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
supplied.
1997-02-28 03:27 Ulrich Drepper <drepper@cygnus.com>
* stdlib/strtod.c (STRTOF): Make sure return value is large enough
so that clearing second word is necessary.
* sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
header since it is wrong for 64 bit systems.
Patch by a sun <asun@zoology.washington.edu>.
1997-02-27 10:34:11 Richard Henderson <rth@tamu.edu>
* sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
and OSF/1 style brk syscalls. We may want to change Linux/Alpha
for the benefit of running foreign binaries.
1997-03-01 20:21 Miles Bader <miles@gnu.ai.mit.edu>
1997-02-25 19:42 Miles Bader <miles@gnu.ai.mit.edu>
1997-03-04 05:53:28 +00:00
|
|
|
|
|
Update.
1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig: Add shared-thread-library variable.
* math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
* sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
here.
* sysdeps/m68k/fpu/e_acos.c: Likewise.
* sysdeps/m68k/fpu/e_atan2.c: Likewise.
* sysdeps/m68k/fpu/e_fmod.c: Likewise.
* sysdeps/m68k/fpu/e_pow.c: Likewise.
* sysdeps/m68k/fpu/e_scalb.c: Likewise.
* sysdeps/m68k/fpu/k_cos.c: Likewise.
* sysdeps/m68k/fpu/k_sin.c: Likewise.
* sysdeps/m68k/fpu/k_tan.c: Likewise.
* sysdeps/m68k/fpu/s_atan.c: Likewise.
* sysdeps/m68k/fpu/s_ccos.c: Likewise.
* sysdeps/m68k/fpu/s_ccosh.c: Likewise.
* sysdeps/m68k/fpu/s_cexp.c: Likewise.
* sysdeps/m68k/fpu/s_csin.c: Likewise.
* sysdeps/m68k/fpu/s_csinh.c: Likewise.
* sysdeps/m68k/fpu/s_frexp.c: Likewise.
* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/m68k/fpu/s_llrint.c: Likewise.
* sysdeps/m68k/fpu/s_llrintf.c: Likewise.
* sysdeps/m68k/fpu/s_llrintl.c: Likewise.
* sysdeps/m68k/fpu/s_lrint.c: Likewise.
* sysdeps/m68k/fpu/s_modf.c: Likewise.
* sysdeps/m68k/fpu/s_remquo.c: Likewise.
* sysdeps/m68k/fpu/s_scalbn.c: Likewise.
* sysdeps/m68k/fpu/s_sincos.c: Likewise.
* libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
__libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
* signal/Makefile (headers): Add bits/siginfo.h.
(routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
(distribute): Add testrtsig.h.
* signal/allocrtsig.c: New file.
* signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
__libc_current_sigrtmax.
* sysdeps/generic/sigqueue.c: New file.
* sysdeps/generic/sigtimedwait.c: New file.
* sysdeps/generic/sigwaitinfo.c: New file.
* sysdeps/generic/testrtsig.h: New file.
* sysdeps/generic/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
old_kernel_sigaction and rename sa_handler member to k_sa_handler.
* sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
* sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
* sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
* sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
* sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
* sysdeps/unix/sysv/linux/sigpending.c: New file.
* sysdeps/unix/sysv/linux/sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/sigqueue.c: New file.
* sysdeps/unix/sysv/linux/sigreturn.c: New file.
* sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
* sysdeps/unix/sysv/linux/testrtsig.h: New file.
* sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
* sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
* sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
and _POSIX_REALTIME_SIGNALS.
* sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
* sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
update _NSIG.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
definitions.
* Makefile (subdirs): Add rt.
* shlib-versions: Add entry for librt.
* rt/Makefile: New file.
* rt/aio.h: New file.
* rt/aio_cancel.c: New file.
* rt/aio_error.c: New file.
* rt/aio_fsync.c: New file.
* rt/aio_misc.c: New file.
* rt/aio_misc.h: New file.
* rt/aio_read.c: New file.
* rt/aio_read64.c: New file.
* rt/aio_return.c: New file.
* rt/aio_suspend.c: New file.
* rt/aio_write.c: New file.
* rt/aio_write64.c: New file.
* rt/lio_listio.c: New file.
* rt/lio_listio64.c: New file.
* sysdeps/generic/aio_sigqueue.c: New file.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
* sysdeps/unix/sysv/linux/Dist: Add new files
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
(sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
rt_sigqueueinfo, rt_sigaction.
* posix/Makefile (headers): Add bits/environments.h.
* posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
and _CS_LFS_CFLAGS on 64bit platforms.
* posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
* sysdeps/generic/bits/confname.h: Define _SC_* constants for
compilation modules.
* sysdeps/wordsize-32/bits/environments.h: New file.
* sysdeps/wordsize-64/bits/environments.h: New file.
* posix/getopt.c: Remove declaration of getpid and __libc_pid.
* posix/getopt_init.c: Test for value 0xf00baa of uninitialized
__libc_pid.
* sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
0xf00baa.
* string/string.h: Add declaration of __strverscmp.
* string/strverscmp.c: Rename function ot __strverscmp and make old
name weak alias.
* sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
* sysdeps/generic/enbl-secure.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
* sysdeps/unix/sysv/linux/sys/pci.h: New file.
1997-12-03 Ulrich Drepper <drepper@cygnus.com>
* posix/sys/wait.h: Use __transparent_union__ instead of
transparent_union. Reported by Roland McGrath.
1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/inet_neta.c (inet_neta): Change type of first parameter
to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
[PR libc/366].
* resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
* inet/arpa/inet.h: Change types of inet_neta and inet_addr.
1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* grp/initgroups.c: Increase buffer if it is too small.
1997-12-03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
fields, this is no ISO C. Reported by Andreas Jaeger.
1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
_SYS_UTSNAME_H not _UTSNAME_H.
1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-profile.c (_dl_start_profile): Avoid overflow when
computing s_scale.
1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
* sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
* sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
* math/libm-test.c (csqrt_test): Add testcase.
1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
* sysdeps/unix/sysv/linux/sys/Dist: Add it.
* sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (acos_test): Add more tests.
(asin_test): Likewise.
(atan_test): Likewise.
(exp_test): Likewise.
(sin_test): Likewise.
(sqrt_test): Likewise.
(cpow_test): Likewise.
(csqrt_test): Likewise.
(cexp_test): Correct typo in gcc version test.
1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
* sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
<bits/setjmp.h>.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
* stdio/stdio.h: Add prototype for tmpfile64().
1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
* stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
prototype to keep in step with libio version.
* stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/Makefile: Don't try to use make_siglist if
cross-compiling.
1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
load GOT ptr before jumping to _exit.
Reported by Xavier Leroy.
1997-12-04 00:12:34 +00:00
|
|
|
|
* strtod accepts new hexadecimal floating-point format from ISO C 9X.
|
update from main archive 970304
1997-03-04 04:31 Ulrich Drepper <drepper@cygnus.com>
* Makerules: Add rules to handle versioning.
* config.h.in (DO_VERSIONING): New macro.
* config.make.in (versioning): New variable.
* configure.in: Add checks for .symver directive in gas and
--version-script option to ld. Define DO_VERSIONING and
versioning if appropriate.
* math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
s_fmin, and s_fdim.
* math/math.h: Define ISO C 9X constants, macros and functions.
* math/mathcalls.h: Likewise.
* sysdeps/libm-ieee754/s_fdim.c: New file.
* sysdeps/libm-ieee754/s_fdimf.c: New file.
* sysdeps/libm-ieee754/s_fdiml.c: New file.
* sysdeps/libm-ieee754/s_fmax.c: New file.
* sysdeps/libm-ieee754/s_fmaxf.c: New file.
* sysdeps/libm-ieee754/s_fmaxl.c: New file.
* sysdeps/libm-ieee754/s_fmin.c: New file.
* sysdeps/libm-ieee754/s_fminf.c: New file.
* sysdeps/libm-ieee754/s_fminl.c: New file.
* sysdeps/libm-ieee754/s_fpclassify.c: New file.
* sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
* sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
* sysdeps/libm-ieee754/s_signbit.c: New file.
* sysdeps/libm-ieee754/s_signbitf.c: New file.
* sysdeps/libm-ieee754/s_signbitl.c: New file.
* stdio-common/printf_fphex.c: Correct printing of decimal point
character.
Simplify conversion of mantissa to string.
* stdio-common/vfscanf.c: Handle %A format.
Optimize termination of floating-point scanning.
* stdio-common/tstscanf.c (main): Add new test to scanf to test
scanning float values with given width.
* stdlib/strtod.c: Add handling of floating-point numbers in
hexadecimal notation.
* stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
functions.
Pretty print #if directives.
* string/string.h: Pretty print #if directives.
* sysdeps/ieee754/dbl2mpn.c: Update copyright.
* sysdeps/ieee754/ldbl2mpn.c: Likewise.
* sysdeps/ieee754/mpn2dbl.c: Likewise.
* sysdeps/ieee754/mpn2flt.c: Likewise.
* sysdeps/ieee754/mpn2ldbl.c: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Implement poll function by
falling back to select-based implementation if syscall isn't
available.
* sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
* time/leapseconds: Update from tzdata1997b.
* time/zic.c: Update from tzcode1997b.
1997-03-01 15:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
depedencies between installed $(tzlinks) and $(tzbases) files.
1997-03-01 14:27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* math/math.h: Make compatible with traditional preprocessor;
requires carefull placement of whitespace in macro arguments.
Use __CONCAT instead of ##.
Declare long double functions only if __STDC__ or __GNUC__.
* math/mathcall.h: Avoid whitespace before argument of macro call
that is used as function name.
* sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
(__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
of __NO_M81_MATH_INLINES.
[!__LIBC_M81_MATH_INLINES]: Don't define internal functions
starting with __ieee754.
[!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
functions as inlines.
(__m81_defun): Put __attribute__ between return type and function
name.
* math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
is defined.
* sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
instead of __NO_M81_MATH_INLINES.
* sysdeps/m68k/fpu/e_fmod.c: Likewise.
* sysdeps/m68k/fpu/k_cos.c: Likewise.
* sysdeps/m68k/fpu/k_sin.c: Likewise.
* sysdeps/m68k/fpu/k_tan.c: Likewise.
* sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
* sysdeps/m68k/fpu/s_frexp.c: Likewise.
* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/m68k/fpu/s_modf.c: Likewise.
* sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1997-02-27 21:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (tests): Cope with $PATH not including the current
directory.
1997-02-27 18:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
$(common-objdir-compile).
($(common-objpfx)make-ioctls): Likewise.
(mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
($(common-objpfx)sys/param.h): Use $(make-target-directory).
($(addprefix $(common-objpfx),$(sys/param.h-includes))):
Likewise.
($(common-objpfx)sys/syscall.h): Likewise.
($(common-objpfx)local_lim.h): Let make deal with command
failure.
($(common-objpfx)param.h.dep): Use temporary file and update
target atomically.
($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
(include $(common-objpfx)param.h.dep): Ignore error.
* sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
$(common-objdir-compile).
(mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
$(shell pwd) instead of $$cwd.
* sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
$(common-objdir-compile).
($(objpfx)make_siglist): Use $(native-compile).
(make_siglist-CFLAGS): New variable.
* Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
the old name for the user to pass additional flags to the host
compiler. Fix reference to config header.
(native-compile, common-objdir-compile): Rewritten to make more
generally usable.
* sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
instead of BUILD_CFLAGS.
* sysvips/sys/ipc.h: Warn if needed feature select macro are not
defined.
1997-02-27 17:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
New rules to generate dependencies for the RPC service objects.
1997-02-27 16:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
supplied.
1997-02-28 03:27 Ulrich Drepper <drepper@cygnus.com>
* stdlib/strtod.c (STRTOF): Make sure return value is large enough
so that clearing second word is necessary.
* sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
header since it is wrong for 64 bit systems.
Patch by a sun <asun@zoology.washington.edu>.
1997-02-27 10:34:11 Richard Henderson <rth@tamu.edu>
* sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
and OSF/1 style brk syscalls. We may want to change Linux/Alpha
for the benefit of running foreign binaries.
1997-03-01 20:21 Miles Bader <miles@gnu.ai.mit.edu>
1997-02-25 19:42 Miles Bader <miles@gnu.ai.mit.edu>
1997-03-04 05:53:28 +00:00
|
|
|
|
|
|
|
|
|
* printf has two new specifiers %a and %A to print hexadecimal flaoting-point
|
Update.
1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig: Add shared-thread-library variable.
* math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
* sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
here.
* sysdeps/m68k/fpu/e_acos.c: Likewise.
* sysdeps/m68k/fpu/e_atan2.c: Likewise.
* sysdeps/m68k/fpu/e_fmod.c: Likewise.
* sysdeps/m68k/fpu/e_pow.c: Likewise.
* sysdeps/m68k/fpu/e_scalb.c: Likewise.
* sysdeps/m68k/fpu/k_cos.c: Likewise.
* sysdeps/m68k/fpu/k_sin.c: Likewise.
* sysdeps/m68k/fpu/k_tan.c: Likewise.
* sysdeps/m68k/fpu/s_atan.c: Likewise.
* sysdeps/m68k/fpu/s_ccos.c: Likewise.
* sysdeps/m68k/fpu/s_ccosh.c: Likewise.
* sysdeps/m68k/fpu/s_cexp.c: Likewise.
* sysdeps/m68k/fpu/s_csin.c: Likewise.
* sysdeps/m68k/fpu/s_csinh.c: Likewise.
* sysdeps/m68k/fpu/s_frexp.c: Likewise.
* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/m68k/fpu/s_llrint.c: Likewise.
* sysdeps/m68k/fpu/s_llrintf.c: Likewise.
* sysdeps/m68k/fpu/s_llrintl.c: Likewise.
* sysdeps/m68k/fpu/s_lrint.c: Likewise.
* sysdeps/m68k/fpu/s_modf.c: Likewise.
* sysdeps/m68k/fpu/s_remquo.c: Likewise.
* sysdeps/m68k/fpu/s_scalbn.c: Likewise.
* sysdeps/m68k/fpu/s_sincos.c: Likewise.
* libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
__libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
* signal/Makefile (headers): Add bits/siginfo.h.
(routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
(distribute): Add testrtsig.h.
* signal/allocrtsig.c: New file.
* signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
__libc_current_sigrtmax.
* sysdeps/generic/sigqueue.c: New file.
* sysdeps/generic/sigtimedwait.c: New file.
* sysdeps/generic/sigwaitinfo.c: New file.
* sysdeps/generic/testrtsig.h: New file.
* sysdeps/generic/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
old_kernel_sigaction and rename sa_handler member to k_sa_handler.
* sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
* sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
* sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
* sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
* sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
* sysdeps/unix/sysv/linux/sigpending.c: New file.
* sysdeps/unix/sysv/linux/sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/sigqueue.c: New file.
* sysdeps/unix/sysv/linux/sigreturn.c: New file.
* sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
* sysdeps/unix/sysv/linux/testrtsig.h: New file.
* sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
* sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
* sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
and _POSIX_REALTIME_SIGNALS.
* sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
* sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
update _NSIG.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
definitions.
* Makefile (subdirs): Add rt.
* shlib-versions: Add entry for librt.
* rt/Makefile: New file.
* rt/aio.h: New file.
* rt/aio_cancel.c: New file.
* rt/aio_error.c: New file.
* rt/aio_fsync.c: New file.
* rt/aio_misc.c: New file.
* rt/aio_misc.h: New file.
* rt/aio_read.c: New file.
* rt/aio_read64.c: New file.
* rt/aio_return.c: New file.
* rt/aio_suspend.c: New file.
* rt/aio_write.c: New file.
* rt/aio_write64.c: New file.
* rt/lio_listio.c: New file.
* rt/lio_listio64.c: New file.
* sysdeps/generic/aio_sigqueue.c: New file.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
* sysdeps/unix/sysv/linux/Dist: Add new files
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
(sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
rt_sigqueueinfo, rt_sigaction.
* posix/Makefile (headers): Add bits/environments.h.
* posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
and _CS_LFS_CFLAGS on 64bit platforms.
* posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
* sysdeps/generic/bits/confname.h: Define _SC_* constants for
compilation modules.
* sysdeps/wordsize-32/bits/environments.h: New file.
* sysdeps/wordsize-64/bits/environments.h: New file.
* posix/getopt.c: Remove declaration of getpid and __libc_pid.
* posix/getopt_init.c: Test for value 0xf00baa of uninitialized
__libc_pid.
* sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
0xf00baa.
* string/string.h: Add declaration of __strverscmp.
* string/strverscmp.c: Rename function ot __strverscmp and make old
name weak alias.
* sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
* sysdeps/generic/enbl-secure.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
* sysdeps/unix/sysv/linux/sys/pci.h: New file.
1997-12-03 Ulrich Drepper <drepper@cygnus.com>
* posix/sys/wait.h: Use __transparent_union__ instead of
transparent_union. Reported by Roland McGrath.
1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/inet_neta.c (inet_neta): Change type of first parameter
to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
[PR libc/366].
* resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
* inet/arpa/inet.h: Change types of inet_neta and inet_addr.
1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* grp/initgroups.c: Increase buffer if it is too small.
1997-12-03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
fields, this is no ISO C. Reported by Andreas Jaeger.
1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
_SYS_UTSNAME_H not _UTSNAME_H.
1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-profile.c (_dl_start_profile): Avoid overflow when
computing s_scale.
1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
* sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
* sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
* math/libm-test.c (csqrt_test): Add testcase.
1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
* sysdeps/unix/sysv/linux/sys/Dist: Add it.
* sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (acos_test): Add more tests.
(asin_test): Likewise.
(atan_test): Likewise.
(exp_test): Likewise.
(sin_test): Likewise.
(sqrt_test): Likewise.
(cpow_test): Likewise.
(csqrt_test): Likewise.
(cexp_test): Correct typo in gcc version test.
1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
* sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
<bits/setjmp.h>.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
* stdio/stdio.h: Add prototype for tmpfile64().
1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
* stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
prototype to keep in step with libio version.
* stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/Makefile: Don't try to use make_siglist if
cross-compiling.
1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
load GOT ptr before jumping to _exit.
Reported by Xavier Leroy.
1997-12-04 00:12:34 +00:00
|
|
|
|
numbers.
|
update from main archive 970304
1997-03-04 04:31 Ulrich Drepper <drepper@cygnus.com>
* Makerules: Add rules to handle versioning.
* config.h.in (DO_VERSIONING): New macro.
* config.make.in (versioning): New variable.
* configure.in: Add checks for .symver directive in gas and
--version-script option to ld. Define DO_VERSIONING and
versioning if appropriate.
* math/Makefile (routines): Add s_signbit, s_fpclassify, s_fmax,
s_fmin, and s_fdim.
* math/math.h: Define ISO C 9X constants, macros and functions.
* math/mathcalls.h: Likewise.
* sysdeps/libm-ieee754/s_fdim.c: New file.
* sysdeps/libm-ieee754/s_fdimf.c: New file.
* sysdeps/libm-ieee754/s_fdiml.c: New file.
* sysdeps/libm-ieee754/s_fmax.c: New file.
* sysdeps/libm-ieee754/s_fmaxf.c: New file.
* sysdeps/libm-ieee754/s_fmaxl.c: New file.
* sysdeps/libm-ieee754/s_fmin.c: New file.
* sysdeps/libm-ieee754/s_fminf.c: New file.
* sysdeps/libm-ieee754/s_fminl.c: New file.
* sysdeps/libm-ieee754/s_fpclassify.c: New file.
* sysdeps/libm-ieee754/s_fpclassifyf.c: New file.
* sysdeps/libm-ieee754/s_fpclassifyl.c: New file.
* sysdeps/libm-ieee754/s_signbit.c: New file.
* sysdeps/libm-ieee754/s_signbitf.c: New file.
* sysdeps/libm-ieee754/s_signbitl.c: New file.
* stdio-common/printf_fphex.c: Correct printing of decimal point
character.
Simplify conversion of mantissa to string.
* stdio-common/vfscanf.c: Handle %A format.
Optimize termination of floating-point scanning.
* stdio-common/tstscanf.c (main): Add new test to scanf to test
scanning float values with given width.
* stdlib/strtod.c: Add handling of floating-point numbers in
hexadecimal notation.
* stdlib/stdlib.h: Use __USE_ISOC9X feature macro for new long long
functions.
Pretty print #if directives.
* string/string.h: Pretty print #if directives.
* sysdeps/ieee754/dbl2mpn.c: Update copyright.
* sysdeps/ieee754/ldbl2mpn.c: Likewise.
* sysdeps/ieee754/mpn2dbl.c: Likewise.
* sysdeps/ieee754/mpn2flt.c: Likewise.
* sysdeps/ieee754/mpn2ldbl.c: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Implement poll function by
falling back to select-based implementation if syscall isn't
available.
* sysdeps/unix/sysv/linux/syscalls.list: Add s_poll.
* time/leapseconds: Update from tzdata1997b.
* time/zic.c: Update from tzcode1997b.
1997-03-01 15:08 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* time/Makefile $(tzfiles:%=$(objpfx)z.%): Remove unneeded
depedencies between installed $(tzlinks) and $(tzbases) files.
1997-03-01 14:27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* math/math.h: Make compatible with traditional preprocessor;
requires carefull placement of whitespace in macro arguments.
Use __CONCAT instead of ##.
Declare long double functions only if __STDC__ or __GNUC__.
* math/mathcall.h: Avoid whitespace before argument of macro call
that is used as function name.
* sysdeps/m68k/fpu/__math.h: Use __CONCAT instead of ##.
(__m81_u, __m81_inline): Depend on __LIBC_M81_MATH_INLINES instead
of __NO_M81_MATH_INLINES.
[!__LIBC_M81_MATH_INLINES]: Don't define internal functions
starting with __ieee754.
[!__NO_MATH_INLINES && __OPTIMIZE__]: Define user visible
functions as inlines.
(__m81_defun): Put __attribute__ between return type and function
name.
* math/math.h: Include <__math.h> also if __LIBC_M81_MATH_INLINES
is defined.
* sysdeps/m68k/fpu/e_acos.c: Define __LIBC_M81_MATH_INLINES
instead of __NO_M81_MATH_INLINES.
* sysdeps/m68k/fpu/e_fmod.c: Likewise.
* sysdeps/m68k/fpu/k_cos.c: Likewise.
* sysdeps/m68k/fpu/k_sin.c: Likewise.
* sysdeps/m68k/fpu/k_tan.c: Likewise.
* sysdeps/m68k/fpu/s_atan.c: Likewise. De-ANSI-declify.
* sysdeps/m68k/fpu/s_frexp.c: Likewise.
* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/m68k/fpu/s_modf.c: Likewise.
* sysdeps/m68k/fpu/s_scalbn.c: Likewise.
1997-02-27 21:51 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile (tests): Cope with $PATH not including the current
directory.
1997-02-27 18:04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/Makefile ($(common-objpfx)mk-local_lim): Use
$(common-objdir-compile).
($(common-objpfx)make-ioctls): Likewise.
(mk-local_lim-CFLAGS): Set this instead of local_lim-CFLAGS.
($(common-objpfx)sys/param.h): Use $(make-target-directory).
($(addprefix $(common-objpfx),$(sys/param.h-includes))):
Likewise.
($(common-objpfx)sys/syscall.h): Likewise.
($(common-objpfx)local_lim.h): Let make deal with command
failure.
($(common-objpfx)param.h.dep): Use temporary file and update
target atomically.
($(common-objpfx)errnos): Avoid the Useless Use of cat Award.
(include $(common-objpfx)param.h.dep): Ignore error.
* sysdeps/posix/Makefile ($(common-objpfx)mk-stdiolim): Use
$(common-objdir-compile).
(mk-stdiolim-CFLAGS): Renamed from cded-objdir-includes, use
$(shell pwd) instead of $$cwd.
* sysdeps/generic/Makefile ($(common-objpfx)det_endian): Use
$(common-objdir-compile).
($(objpfx)make_siglist): Use $(native-compile).
(make_siglist-CFLAGS): New variable.
* Makerules (ALL_BUILD_CFLAGS): Renamed from BUILD_CFLAGS, leaving
the old name for the user to pass additional flags to the host
compiler. Fix reference to config header.
(native-compile, common-objdir-compile): Rewritten to make more
generally usable.
* sysdeps/unix/sysv/sysv4/solaris2/Makefile: Set ALL_BUILD_CFLAGS
instead of BUILD_CFLAGS.
* sysvips/sys/ipc.h: Warn if needed feature select macro are not
defined.
1997-02-27 17:11 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sunrpc/Makefile ($(objpfx)rpc-proto.d, $(objpfx)rpc-proto.c):
New rules to generate dependencies for the RPC service objects.
1997-02-27 16:26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* argp/argp-parse.c (parser_finalize): Always set *END_INDEX if
supplied.
1997-02-28 03:27 Ulrich Drepper <drepper@cygnus.com>
* stdlib/strtod.c (STRTOF): Make sure return value is large enough
so that clearing second word is necessary.
* sysdeps/unix/sysv/linux/netinet/in_systm.h: Don't use kernel
header since it is wrong for 64 bit systems.
Patch by a sun <asun@zoology.washington.edu>.
1997-02-27 10:34:11 Richard Henderson <rth@tamu.edu>
* sysdeps/unix/sysv/linux/alpha/brk.S: Support both the Linux/i386
and OSF/1 style brk syscalls. We may want to change Linux/Alpha
for the benefit of running foreign binaries.
1997-03-01 20:21 Miles Bader <miles@gnu.ai.mit.edu>
1997-02-25 19:42 Miles Bader <miles@gnu.ai.mit.edu>
1997-03-04 05:53:28 +00:00
|
|
|
|
|
Update.
1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig: Add shared-thread-library variable.
* math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
* sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
here.
* sysdeps/m68k/fpu/e_acos.c: Likewise.
* sysdeps/m68k/fpu/e_atan2.c: Likewise.
* sysdeps/m68k/fpu/e_fmod.c: Likewise.
* sysdeps/m68k/fpu/e_pow.c: Likewise.
* sysdeps/m68k/fpu/e_scalb.c: Likewise.
* sysdeps/m68k/fpu/k_cos.c: Likewise.
* sysdeps/m68k/fpu/k_sin.c: Likewise.
* sysdeps/m68k/fpu/k_tan.c: Likewise.
* sysdeps/m68k/fpu/s_atan.c: Likewise.
* sysdeps/m68k/fpu/s_ccos.c: Likewise.
* sysdeps/m68k/fpu/s_ccosh.c: Likewise.
* sysdeps/m68k/fpu/s_cexp.c: Likewise.
* sysdeps/m68k/fpu/s_csin.c: Likewise.
* sysdeps/m68k/fpu/s_csinh.c: Likewise.
* sysdeps/m68k/fpu/s_frexp.c: Likewise.
* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/m68k/fpu/s_llrint.c: Likewise.
* sysdeps/m68k/fpu/s_llrintf.c: Likewise.
* sysdeps/m68k/fpu/s_llrintl.c: Likewise.
* sysdeps/m68k/fpu/s_lrint.c: Likewise.
* sysdeps/m68k/fpu/s_modf.c: Likewise.
* sysdeps/m68k/fpu/s_remquo.c: Likewise.
* sysdeps/m68k/fpu/s_scalbn.c: Likewise.
* sysdeps/m68k/fpu/s_sincos.c: Likewise.
* libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
__libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
* signal/Makefile (headers): Add bits/siginfo.h.
(routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
(distribute): Add testrtsig.h.
* signal/allocrtsig.c: New file.
* signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
__libc_current_sigrtmax.
* sysdeps/generic/sigqueue.c: New file.
* sysdeps/generic/sigtimedwait.c: New file.
* sysdeps/generic/sigwaitinfo.c: New file.
* sysdeps/generic/testrtsig.h: New file.
* sysdeps/generic/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
old_kernel_sigaction and rename sa_handler member to k_sa_handler.
* sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
* sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
* sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
* sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
* sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
* sysdeps/unix/sysv/linux/sigpending.c: New file.
* sysdeps/unix/sysv/linux/sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/sigqueue.c: New file.
* sysdeps/unix/sysv/linux/sigreturn.c: New file.
* sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
* sysdeps/unix/sysv/linux/testrtsig.h: New file.
* sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
* sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
* sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
and _POSIX_REALTIME_SIGNALS.
* sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
* sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
update _NSIG.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
definitions.
* Makefile (subdirs): Add rt.
* shlib-versions: Add entry for librt.
* rt/Makefile: New file.
* rt/aio.h: New file.
* rt/aio_cancel.c: New file.
* rt/aio_error.c: New file.
* rt/aio_fsync.c: New file.
* rt/aio_misc.c: New file.
* rt/aio_misc.h: New file.
* rt/aio_read.c: New file.
* rt/aio_read64.c: New file.
* rt/aio_return.c: New file.
* rt/aio_suspend.c: New file.
* rt/aio_write.c: New file.
* rt/aio_write64.c: New file.
* rt/lio_listio.c: New file.
* rt/lio_listio64.c: New file.
* sysdeps/generic/aio_sigqueue.c: New file.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
* sysdeps/unix/sysv/linux/Dist: Add new files
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
(sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
rt_sigqueueinfo, rt_sigaction.
* posix/Makefile (headers): Add bits/environments.h.
* posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
and _CS_LFS_CFLAGS on 64bit platforms.
* posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
* sysdeps/generic/bits/confname.h: Define _SC_* constants for
compilation modules.
* sysdeps/wordsize-32/bits/environments.h: New file.
* sysdeps/wordsize-64/bits/environments.h: New file.
* posix/getopt.c: Remove declaration of getpid and __libc_pid.
* posix/getopt_init.c: Test for value 0xf00baa of uninitialized
__libc_pid.
* sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
0xf00baa.
* string/string.h: Add declaration of __strverscmp.
* string/strverscmp.c: Rename function ot __strverscmp and make old
name weak alias.
* sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
* sysdeps/generic/enbl-secure.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
* sysdeps/unix/sysv/linux/sys/pci.h: New file.
1997-12-03 Ulrich Drepper <drepper@cygnus.com>
* posix/sys/wait.h: Use __transparent_union__ instead of
transparent_union. Reported by Roland McGrath.
1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/inet_neta.c (inet_neta): Change type of first parameter
to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
[PR libc/366].
* resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
* inet/arpa/inet.h: Change types of inet_neta and inet_addr.
1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* grp/initgroups.c: Increase buffer if it is too small.
1997-12-03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
fields, this is no ISO C. Reported by Andreas Jaeger.
1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
_SYS_UTSNAME_H not _UTSNAME_H.
1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-profile.c (_dl_start_profile): Avoid overflow when
computing s_scale.
1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
* sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
* sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
* math/libm-test.c (csqrt_test): Add testcase.
1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
* sysdeps/unix/sysv/linux/sys/Dist: Add it.
* sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (acos_test): Add more tests.
(asin_test): Likewise.
(atan_test): Likewise.
(exp_test): Likewise.
(sin_test): Likewise.
(sqrt_test): Likewise.
(cpow_test): Likewise.
(csqrt_test): Likewise.
(cexp_test): Correct typo in gcc version test.
1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
* sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
<bits/setjmp.h>.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
* stdio/stdio.h: Add prototype for tmpfile64().
1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
* stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
prototype to keep in step with libio version.
* stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/Makefile: Don't try to use make_siglist if
cross-compiling.
1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
load GOT ptr before jumping to _exit.
Reported by Xavier Leroy.
1997-12-04 00:12:34 +00:00
|
|
|
|
* scanf recognizes the %a and %A format for scanning floating point numbers.
|
Update.
1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/sco3.2.4/Dist: New file.
* sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
* sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
* sysdeps/unix/sysv/Dist: Add direct.h.
* sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
* Make-dist ($(tardir).tar): Prefer writing temporary file to
$TMPDIR is available. The default is /tmp.
* sysdeps/generic/ip.h: Move to...
* sysdeps/generic/netinet/ip.h: ...here.
* Makefile (tests): Quote $(CC) argument to isomac program.
Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
* sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
is placed in wrong place on the stack.
Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
* sysdeps/tst-setjmp.c: Add new test for above problem.
* sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
* sysdeps/libm-i387/e_powf.S: Likewise.
* sysdeps/libm-i387/e_powl.S: Likewise.
1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com>
* time/offtime.c (__offtime): Change type of `yg' to long int.
Reported by a sun <asun@zoology.washington.edu>.
1997-03-18 23:08 a sun <asun@zoology.washington.edu>
* sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
2.2.0 to prevent version mismatch.
1997-03-17 19:26 Andreas Jaeger <aj@arthur.pfalz.de>
* stdio-common/printf_fphex.c (MIN): Only define MIN if not
already defined.
1997-03-14 23:34 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
in ioctls.h.
* elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
loader first relocates itself.
* sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
jump slot relocation. Prefer relative branches (some PowerPC chips
don't predict absolute branches).
(elf_machine_runtime_setup): Simplify and correct expressions.
(RTLD_START): Fix bug changing _dl_starting_up.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
strange Linux/PPC padding of initial stack.
1997-03-11 04:14 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
for future expansion.
* sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
can't have a switch statement.
* sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
static.
* sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
confusing gcc's idea of the current section.
* sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
RTLD_START): Likewise.
1997-03-08 09:10 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/dl-machine.h (elf_machine_rela,
elf_machine_runtime_setup): Flush data & instruction caches when
necessary, for 603/604 support. Add better support for large PLTs.
(elf_machine_rela): Remove relocations that wouldn't work if
anyone ever used them. Use memcpy for copy reloc, it'll be safe.
Never target branch relocations at a PLT entry.
* sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
generating PIC.
* sysdeps/powerpc/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
* sysdeps/powerpc/elf/start.c: Clean up.
* sysdeps/powerpc/__longjmp.S: Return 'value' as result from
setjmp call.
* sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu>
* Make-dist (srcs): Add $(test-srcs).
* MakeTAGS (all-sources): Likewise.
* Makerules (depfiles, common-mostlyclean): Likewise.
* Rules (tests): Likewise.
1997-03-18 05:28 Roland McGrath <roland@frob.com>
* elf/dl-reloc.c (RESOLVE): Don't try to resolve ocal symbols.
1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org>
* nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
protocol=NULL to match any protocol rather than returning an
error.
1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org>
* nss/nss_files/files-service.c (servbyname): Match any protocol
if proto==NULL.
1997-03-18 05:17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
* sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
Proposed by Thomas Bushnell, n/BSG.
1997-03-18 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
the buffer for replacement.
1997-03-16 19:30 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
sys_lstat and sys_stat.
1997-03-17 12:43 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
Add NIS+ functions
* shlib-versions: Add libnss_nisplus.
* nis/Makefile: Add NIS+ source files.
* nis/nis_call.c: New file.
* nis/nis_clone.c: New file.
* nis/nis_error.c: New file.
* nis/nis_file.c: New file.
* nis/nis_free.c: New file.
* nis/nis_intern.c: New file.
* nis/nis_intern.h: New file.
* nis/nis_local_names.c: New file.
* nis/nis_names.c: New file.
* nis/nis_print.c: New file.
* nis/nis_server.c: New file.
* nis/nis_subr.c: New file.
* nis/nis_table.c: New file.
* nis/nis_xdr.c: New file.
* nis/nss-nisplus.h: New file.
* nis/nss_nisplus/nisplus-alias.c: New file.
* nis/nss_nisplus/nisplus-ethers.c: New file.
* nis/nss_nisplus/nisplus-grp.c: New file.
* nis/nss_nisplus/nisplus-hosts.c: New file.
* nis/nss_nisplus/nisplus-netgrp.c: New file.
* nis/nss_nisplus/nisplus-network.c: New file.
* nis/nss_nisplus/nisplus-proto.c: New file.
* nis/nss_nisplus/nisplus-publickey.c: New file.
* nis/nss_nisplus/nisplus-pwd.c: New file.
* nis/nss_nisplus/nisplus-rpc.c: New file.
* nis/nss_nisplus/nisplus-service.c: New file.
* nis/nss_nisplus/nisplus-spwd.c: New file.
* nis/rpcsvc/nis.h: New file.
* nis/rpcsvc/nis.x: New file.
* nis/rpcsvc/nis_object.x: New file.
* nis/rpcsvc/nis_tags.h: New file.
* nis/rpcsvc/nislib.h: New file.
1997-03-17 12:52 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* mach/devstream.c (output/write_some): Don't try and write more
than IO_INBAND_MAX in a single call to device_write_inband.
* sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
* sysdeps/libm-ieee754/w_atan2f.c: Likewise.
* sysdeps/libm-ieee754/w_atan2l.c: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
* stdlib/atoll.c: Undefine atoll, not atol.
1997-03-19 05:47:56 +00:00
|
|
|
|
|
1998-03-17 17:40:39 +00:00
|
|
|
|
* the new headers <stdint.h> and <inttypes.h> from ISO C 9X provides
|
|
|
|
|
information and interfaces for the available integer types.
|
Update.
1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/sco3.2.4/Dist: New file.
* sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
* sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
* sysdeps/unix/sysv/Dist: Add direct.h.
* sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
* Make-dist ($(tardir).tar): Prefer writing temporary file to
$TMPDIR is available. The default is /tmp.
* sysdeps/generic/ip.h: Move to...
* sysdeps/generic/netinet/ip.h: ...here.
* Makefile (tests): Quote $(CC) argument to isomac program.
Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
* sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
is placed in wrong place on the stack.
Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
* sysdeps/tst-setjmp.c: Add new test for above problem.
* sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
* sysdeps/libm-i387/e_powf.S: Likewise.
* sysdeps/libm-i387/e_powl.S: Likewise.
1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com>
* time/offtime.c (__offtime): Change type of `yg' to long int.
Reported by a sun <asun@zoology.washington.edu>.
1997-03-18 23:08 a sun <asun@zoology.washington.edu>
* sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
2.2.0 to prevent version mismatch.
1997-03-17 19:26 Andreas Jaeger <aj@arthur.pfalz.de>
* stdio-common/printf_fphex.c (MIN): Only define MIN if not
already defined.
1997-03-14 23:34 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
in ioctls.h.
* elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
loader first relocates itself.
* sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
jump slot relocation. Prefer relative branches (some PowerPC chips
don't predict absolute branches).
(elf_machine_runtime_setup): Simplify and correct expressions.
(RTLD_START): Fix bug changing _dl_starting_up.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
strange Linux/PPC padding of initial stack.
1997-03-11 04:14 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
for future expansion.
* sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
can't have a switch statement.
* sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
static.
* sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
confusing gcc's idea of the current section.
* sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
RTLD_START): Likewise.
1997-03-08 09:10 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/dl-machine.h (elf_machine_rela,
elf_machine_runtime_setup): Flush data & instruction caches when
necessary, for 603/604 support. Add better support for large PLTs.
(elf_machine_rela): Remove relocations that wouldn't work if
anyone ever used them. Use memcpy for copy reloc, it'll be safe.
Never target branch relocations at a PLT entry.
* sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
generating PIC.
* sysdeps/powerpc/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
* sysdeps/powerpc/elf/start.c: Clean up.
* sysdeps/powerpc/__longjmp.S: Return 'value' as result from
setjmp call.
* sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu>
* Make-dist (srcs): Add $(test-srcs).
* MakeTAGS (all-sources): Likewise.
* Makerules (depfiles, common-mostlyclean): Likewise.
* Rules (tests): Likewise.
1997-03-18 05:28 Roland McGrath <roland@frob.com>
* elf/dl-reloc.c (RESOLVE): Don't try to resolve ocal symbols.
1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org>
* nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
protocol=NULL to match any protocol rather than returning an
error.
1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org>
* nss/nss_files/files-service.c (servbyname): Match any protocol
if proto==NULL.
1997-03-18 05:17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
* sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
Proposed by Thomas Bushnell, n/BSG.
1997-03-18 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
the buffer for replacement.
1997-03-16 19:30 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
sys_lstat and sys_stat.
1997-03-17 12:43 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
Add NIS+ functions
* shlib-versions: Add libnss_nisplus.
* nis/Makefile: Add NIS+ source files.
* nis/nis_call.c: New file.
* nis/nis_clone.c: New file.
* nis/nis_error.c: New file.
* nis/nis_file.c: New file.
* nis/nis_free.c: New file.
* nis/nis_intern.c: New file.
* nis/nis_intern.h: New file.
* nis/nis_local_names.c: New file.
* nis/nis_names.c: New file.
* nis/nis_print.c: New file.
* nis/nis_server.c: New file.
* nis/nis_subr.c: New file.
* nis/nis_table.c: New file.
* nis/nis_xdr.c: New file.
* nis/nss-nisplus.h: New file.
* nis/nss_nisplus/nisplus-alias.c: New file.
* nis/nss_nisplus/nisplus-ethers.c: New file.
* nis/nss_nisplus/nisplus-grp.c: New file.
* nis/nss_nisplus/nisplus-hosts.c: New file.
* nis/nss_nisplus/nisplus-netgrp.c: New file.
* nis/nss_nisplus/nisplus-network.c: New file.
* nis/nss_nisplus/nisplus-proto.c: New file.
* nis/nss_nisplus/nisplus-publickey.c: New file.
* nis/nss_nisplus/nisplus-pwd.c: New file.
* nis/nss_nisplus/nisplus-rpc.c: New file.
* nis/nss_nisplus/nisplus-service.c: New file.
* nis/nss_nisplus/nisplus-spwd.c: New file.
* nis/rpcsvc/nis.h: New file.
* nis/rpcsvc/nis.x: New file.
* nis/rpcsvc/nis_object.x: New file.
* nis/rpcsvc/nis_tags.h: New file.
* nis/rpcsvc/nislib.h: New file.
1997-03-17 12:52 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* mach/devstream.c (output/write_some): Don't try and write more
than IO_INBAND_MAX in a single call to device_write_inband.
* sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
* sysdeps/libm-ieee754/w_atan2f.c: Likewise.
* sysdeps/libm-ieee754/w_atan2l.c: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
* stdlib/atoll.c: Undefine atoll, not atol.
1997-03-19 05:47:56 +00:00
|
|
|
|
|
1999-02-02 16:27:57 +00:00
|
|
|
|
* about 130 new math functions were added to implement the ISO C9x math
|
|
|
|
|
library.
|
|
|
|
|
|
Update.
1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/sco3.2.4/Dist: New file.
* sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
* sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
* sysdeps/unix/sysv/Dist: Add direct.h.
* sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
* Make-dist ($(tardir).tar): Prefer writing temporary file to
$TMPDIR is available. The default is /tmp.
* sysdeps/generic/ip.h: Move to...
* sysdeps/generic/netinet/ip.h: ...here.
* Makefile (tests): Quote $(CC) argument to isomac program.
Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
* sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
is placed in wrong place on the stack.
Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
* sysdeps/tst-setjmp.c: Add new test for above problem.
* sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
* sysdeps/libm-i387/e_powf.S: Likewise.
* sysdeps/libm-i387/e_powl.S: Likewise.
1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com>
* time/offtime.c (__offtime): Change type of `yg' to long int.
Reported by a sun <asun@zoology.washington.edu>.
1997-03-18 23:08 a sun <asun@zoology.washington.edu>
* sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
2.2.0 to prevent version mismatch.
1997-03-17 19:26 Andreas Jaeger <aj@arthur.pfalz.de>
* stdio-common/printf_fphex.c (MIN): Only define MIN if not
already defined.
1997-03-14 23:34 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
in ioctls.h.
* elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
loader first relocates itself.
* sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
jump slot relocation. Prefer relative branches (some PowerPC chips
don't predict absolute branches).
(elf_machine_runtime_setup): Simplify and correct expressions.
(RTLD_START): Fix bug changing _dl_starting_up.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
strange Linux/PPC padding of initial stack.
1997-03-11 04:14 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
for future expansion.
* sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
can't have a switch statement.
* sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
static.
* sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
confusing gcc's idea of the current section.
* sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
RTLD_START): Likewise.
1997-03-08 09:10 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/dl-machine.h (elf_machine_rela,
elf_machine_runtime_setup): Flush data & instruction caches when
necessary, for 603/604 support. Add better support for large PLTs.
(elf_machine_rela): Remove relocations that wouldn't work if
anyone ever used them. Use memcpy for copy reloc, it'll be safe.
Never target branch relocations at a PLT entry.
* sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
generating PIC.
* sysdeps/powerpc/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
* sysdeps/powerpc/elf/start.c: Clean up.
* sysdeps/powerpc/__longjmp.S: Return 'value' as result from
setjmp call.
* sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu>
* Make-dist (srcs): Add $(test-srcs).
* MakeTAGS (all-sources): Likewise.
* Makerules (depfiles, common-mostlyclean): Likewise.
* Rules (tests): Likewise.
1997-03-18 05:28 Roland McGrath <roland@frob.com>
* elf/dl-reloc.c (RESOLVE): Don't try to resolve ocal symbols.
1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org>
* nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
protocol=NULL to match any protocol rather than returning an
error.
1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org>
* nss/nss_files/files-service.c (servbyname): Match any protocol
if proto==NULL.
1997-03-18 05:17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
* sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
Proposed by Thomas Bushnell, n/BSG.
1997-03-18 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
the buffer for replacement.
1997-03-16 19:30 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
sys_lstat and sys_stat.
1997-03-17 12:43 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
Add NIS+ functions
* shlib-versions: Add libnss_nisplus.
* nis/Makefile: Add NIS+ source files.
* nis/nis_call.c: New file.
* nis/nis_clone.c: New file.
* nis/nis_error.c: New file.
* nis/nis_file.c: New file.
* nis/nis_free.c: New file.
* nis/nis_intern.c: New file.
* nis/nis_intern.h: New file.
* nis/nis_local_names.c: New file.
* nis/nis_names.c: New file.
* nis/nis_print.c: New file.
* nis/nis_server.c: New file.
* nis/nis_subr.c: New file.
* nis/nis_table.c: New file.
* nis/nis_xdr.c: New file.
* nis/nss-nisplus.h: New file.
* nis/nss_nisplus/nisplus-alias.c: New file.
* nis/nss_nisplus/nisplus-ethers.c: New file.
* nis/nss_nisplus/nisplus-grp.c: New file.
* nis/nss_nisplus/nisplus-hosts.c: New file.
* nis/nss_nisplus/nisplus-netgrp.c: New file.
* nis/nss_nisplus/nisplus-network.c: New file.
* nis/nss_nisplus/nisplus-proto.c: New file.
* nis/nss_nisplus/nisplus-publickey.c: New file.
* nis/nss_nisplus/nisplus-pwd.c: New file.
* nis/nss_nisplus/nisplus-rpc.c: New file.
* nis/nss_nisplus/nisplus-service.c: New file.
* nis/nss_nisplus/nisplus-spwd.c: New file.
* nis/rpcsvc/nis.h: New file.
* nis/rpcsvc/nis.x: New file.
* nis/rpcsvc/nis_object.x: New file.
* nis/rpcsvc/nis_tags.h: New file.
* nis/rpcsvc/nislib.h: New file.
1997-03-17 12:52 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* mach/devstream.c (output/write_some): Don't try and write more
than IO_INBAND_MAX in a single call to device_write_inband.
* sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
* sysdeps/libm-ieee754/w_atan2f.c: Likewise.
* sysdeps/libm-ieee754/w_atan2l.c: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
* stdlib/atoll.c: Undefine atoll, not atol.
1997-03-19 05:47:56 +00:00
|
|
|
|
* the new header <complex.h> contains definitions of the complex math
|
Update.
1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig: Add shared-thread-library variable.
* math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
* sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
here.
* sysdeps/m68k/fpu/e_acos.c: Likewise.
* sysdeps/m68k/fpu/e_atan2.c: Likewise.
* sysdeps/m68k/fpu/e_fmod.c: Likewise.
* sysdeps/m68k/fpu/e_pow.c: Likewise.
* sysdeps/m68k/fpu/e_scalb.c: Likewise.
* sysdeps/m68k/fpu/k_cos.c: Likewise.
* sysdeps/m68k/fpu/k_sin.c: Likewise.
* sysdeps/m68k/fpu/k_tan.c: Likewise.
* sysdeps/m68k/fpu/s_atan.c: Likewise.
* sysdeps/m68k/fpu/s_ccos.c: Likewise.
* sysdeps/m68k/fpu/s_ccosh.c: Likewise.
* sysdeps/m68k/fpu/s_cexp.c: Likewise.
* sysdeps/m68k/fpu/s_csin.c: Likewise.
* sysdeps/m68k/fpu/s_csinh.c: Likewise.
* sysdeps/m68k/fpu/s_frexp.c: Likewise.
* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/m68k/fpu/s_llrint.c: Likewise.
* sysdeps/m68k/fpu/s_llrintf.c: Likewise.
* sysdeps/m68k/fpu/s_llrintl.c: Likewise.
* sysdeps/m68k/fpu/s_lrint.c: Likewise.
* sysdeps/m68k/fpu/s_modf.c: Likewise.
* sysdeps/m68k/fpu/s_remquo.c: Likewise.
* sysdeps/m68k/fpu/s_scalbn.c: Likewise.
* sysdeps/m68k/fpu/s_sincos.c: Likewise.
* libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
__libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
* signal/Makefile (headers): Add bits/siginfo.h.
(routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
(distribute): Add testrtsig.h.
* signal/allocrtsig.c: New file.
* signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
__libc_current_sigrtmax.
* sysdeps/generic/sigqueue.c: New file.
* sysdeps/generic/sigtimedwait.c: New file.
* sysdeps/generic/sigwaitinfo.c: New file.
* sysdeps/generic/testrtsig.h: New file.
* sysdeps/generic/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
old_kernel_sigaction and rename sa_handler member to k_sa_handler.
* sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
* sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
* sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
* sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
* sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
* sysdeps/unix/sysv/linux/sigpending.c: New file.
* sysdeps/unix/sysv/linux/sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/sigqueue.c: New file.
* sysdeps/unix/sysv/linux/sigreturn.c: New file.
* sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
* sysdeps/unix/sysv/linux/testrtsig.h: New file.
* sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
* sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
* sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
and _POSIX_REALTIME_SIGNALS.
* sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
* sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
update _NSIG.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
definitions.
* Makefile (subdirs): Add rt.
* shlib-versions: Add entry for librt.
* rt/Makefile: New file.
* rt/aio.h: New file.
* rt/aio_cancel.c: New file.
* rt/aio_error.c: New file.
* rt/aio_fsync.c: New file.
* rt/aio_misc.c: New file.
* rt/aio_misc.h: New file.
* rt/aio_read.c: New file.
* rt/aio_read64.c: New file.
* rt/aio_return.c: New file.
* rt/aio_suspend.c: New file.
* rt/aio_write.c: New file.
* rt/aio_write64.c: New file.
* rt/lio_listio.c: New file.
* rt/lio_listio64.c: New file.
* sysdeps/generic/aio_sigqueue.c: New file.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
* sysdeps/unix/sysv/linux/Dist: Add new files
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
(sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
rt_sigqueueinfo, rt_sigaction.
* posix/Makefile (headers): Add bits/environments.h.
* posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
and _CS_LFS_CFLAGS on 64bit platforms.
* posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
* sysdeps/generic/bits/confname.h: Define _SC_* constants for
compilation modules.
* sysdeps/wordsize-32/bits/environments.h: New file.
* sysdeps/wordsize-64/bits/environments.h: New file.
* posix/getopt.c: Remove declaration of getpid and __libc_pid.
* posix/getopt_init.c: Test for value 0xf00baa of uninitialized
__libc_pid.
* sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
0xf00baa.
* string/string.h: Add declaration of __strverscmp.
* string/strverscmp.c: Rename function ot __strverscmp and make old
name weak alias.
* sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
* sysdeps/generic/enbl-secure.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
* sysdeps/unix/sysv/linux/sys/pci.h: New file.
1997-12-03 Ulrich Drepper <drepper@cygnus.com>
* posix/sys/wait.h: Use __transparent_union__ instead of
transparent_union. Reported by Roland McGrath.
1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/inet_neta.c (inet_neta): Change type of first parameter
to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
[PR libc/366].
* resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
* inet/arpa/inet.h: Change types of inet_neta and inet_addr.
1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* grp/initgroups.c: Increase buffer if it is too small.
1997-12-03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
fields, this is no ISO C. Reported by Andreas Jaeger.
1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
_SYS_UTSNAME_H not _UTSNAME_H.
1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-profile.c (_dl_start_profile): Avoid overflow when
computing s_scale.
1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
* sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
* sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
* math/libm-test.c (csqrt_test): Add testcase.
1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
* sysdeps/unix/sysv/linux/sys/Dist: Add it.
* sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (acos_test): Add more tests.
(asin_test): Likewise.
(atan_test): Likewise.
(exp_test): Likewise.
(sin_test): Likewise.
(sqrt_test): Likewise.
(cpow_test): Likewise.
(csqrt_test): Likewise.
(cexp_test): Correct typo in gcc version test.
1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
* sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
<bits/setjmp.h>.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
* stdio/stdio.h: Add prototype for tmpfile64().
1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
* stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
prototype to keep in step with libio version.
* stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/Makefile: Don't try to use make_siglist if
cross-compiling.
1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
load GOT ptr before jumping to _exit.
Reported by Xavier Leroy.
1997-12-04 00:12:34 +00:00
|
|
|
|
functions from ISO C 9X.
|
|
|
|
|
|
|
|
|
|
* the new header <tgmath.h> defines generic macros to use complex or
|
|
|
|
|
real valued functions.
|
Update.
1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/sco3.2.4/Dist: New file.
* sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
* sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
* sysdeps/unix/sysv/Dist: Add direct.h.
* sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
* Make-dist ($(tardir).tar): Prefer writing temporary file to
$TMPDIR is available. The default is /tmp.
* sysdeps/generic/ip.h: Move to...
* sysdeps/generic/netinet/ip.h: ...here.
* Makefile (tests): Quote $(CC) argument to isomac program.
Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
* sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
is placed in wrong place on the stack.
Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
* sysdeps/tst-setjmp.c: Add new test for above problem.
* sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
* sysdeps/libm-i387/e_powf.S: Likewise.
* sysdeps/libm-i387/e_powl.S: Likewise.
1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com>
* time/offtime.c (__offtime): Change type of `yg' to long int.
Reported by a sun <asun@zoology.washington.edu>.
1997-03-18 23:08 a sun <asun@zoology.washington.edu>
* sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
2.2.0 to prevent version mismatch.
1997-03-17 19:26 Andreas Jaeger <aj@arthur.pfalz.de>
* stdio-common/printf_fphex.c (MIN): Only define MIN if not
already defined.
1997-03-14 23:34 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
in ioctls.h.
* elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
loader first relocates itself.
* sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
jump slot relocation. Prefer relative branches (some PowerPC chips
don't predict absolute branches).
(elf_machine_runtime_setup): Simplify and correct expressions.
(RTLD_START): Fix bug changing _dl_starting_up.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
strange Linux/PPC padding of initial stack.
1997-03-11 04:14 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
for future expansion.
* sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
can't have a switch statement.
* sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
static.
* sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
confusing gcc's idea of the current section.
* sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
RTLD_START): Likewise.
1997-03-08 09:10 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/dl-machine.h (elf_machine_rela,
elf_machine_runtime_setup): Flush data & instruction caches when
necessary, for 603/604 support. Add better support for large PLTs.
(elf_machine_rela): Remove relocations that wouldn't work if
anyone ever used them. Use memcpy for copy reloc, it'll be safe.
Never target branch relocations at a PLT entry.
* sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
generating PIC.
* sysdeps/powerpc/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
* sysdeps/powerpc/elf/start.c: Clean up.
* sysdeps/powerpc/__longjmp.S: Return 'value' as result from
setjmp call.
* sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu>
* Make-dist (srcs): Add $(test-srcs).
* MakeTAGS (all-sources): Likewise.
* Makerules (depfiles, common-mostlyclean): Likewise.
* Rules (tests): Likewise.
1997-03-18 05:28 Roland McGrath <roland@frob.com>
* elf/dl-reloc.c (RESOLVE): Don't try to resolve ocal symbols.
1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org>
* nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
protocol=NULL to match any protocol rather than returning an
error.
1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org>
* nss/nss_files/files-service.c (servbyname): Match any protocol
if proto==NULL.
1997-03-18 05:17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
* sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
Proposed by Thomas Bushnell, n/BSG.
1997-03-18 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
the buffer for replacement.
1997-03-16 19:30 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
sys_lstat and sys_stat.
1997-03-17 12:43 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
Add NIS+ functions
* shlib-versions: Add libnss_nisplus.
* nis/Makefile: Add NIS+ source files.
* nis/nis_call.c: New file.
* nis/nis_clone.c: New file.
* nis/nis_error.c: New file.
* nis/nis_file.c: New file.
* nis/nis_free.c: New file.
* nis/nis_intern.c: New file.
* nis/nis_intern.h: New file.
* nis/nis_local_names.c: New file.
* nis/nis_names.c: New file.
* nis/nis_print.c: New file.
* nis/nis_server.c: New file.
* nis/nis_subr.c: New file.
* nis/nis_table.c: New file.
* nis/nis_xdr.c: New file.
* nis/nss-nisplus.h: New file.
* nis/nss_nisplus/nisplus-alias.c: New file.
* nis/nss_nisplus/nisplus-ethers.c: New file.
* nis/nss_nisplus/nisplus-grp.c: New file.
* nis/nss_nisplus/nisplus-hosts.c: New file.
* nis/nss_nisplus/nisplus-netgrp.c: New file.
* nis/nss_nisplus/nisplus-network.c: New file.
* nis/nss_nisplus/nisplus-proto.c: New file.
* nis/nss_nisplus/nisplus-publickey.c: New file.
* nis/nss_nisplus/nisplus-pwd.c: New file.
* nis/nss_nisplus/nisplus-rpc.c: New file.
* nis/nss_nisplus/nisplus-service.c: New file.
* nis/nss_nisplus/nisplus-spwd.c: New file.
* nis/rpcsvc/nis.h: New file.
* nis/rpcsvc/nis.x: New file.
* nis/rpcsvc/nis_object.x: New file.
* nis/rpcsvc/nis_tags.h: New file.
* nis/rpcsvc/nislib.h: New file.
1997-03-17 12:52 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* mach/devstream.c (output/write_some): Don't try and write more
than IO_INBAND_MAX in a single call to device_write_inband.
* sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
* sysdeps/libm-ieee754/w_atan2f.c: Likewise.
* sysdeps/libm-ieee754/w_atan2l.c: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
* stdlib/atoll.c: Undefine atoll, not atol.
1997-03-19 05:47:56 +00:00
|
|
|
|
|
Update.
1997-09-30 18:03 Ulrich Drepper <drepper@cygnus.com>
* Makerules: Undo last change.
* csu/Makefile: Define before-compile at the right place.
* aclocal.m4: Remove a.out file created by assembler test.
* set-init.c: Find set-hooks.h using <...>.
Update to db 2.3.10.
* db2/Makefile: Update.
* db2/db.h: Likewise.
* db2/db_185.h: Likewise.
* db2/db_int.h: Likewise.
* db2/btree/bt_close.c: Likewise.
* db2/btree/bt_conv.c: Likewise.
* db2/btree/bt_cursor.c: Likewise.
* db2/btree/bt_put.c: Likewise.
* db2/btree/bt_rec.c: Likewise.
* db2/btree/bt_recno.c: Likewise.
* db2/btree/btree.src: Likewise.
* db2/btree/btree_auto.c: Likewise.
* db2/clib/getlong.c: Likewise.
* db2/db/db.c: Likewise.
* db2/db/db_auto.c: Likewise.
* db2/db/db_conv.c: Likewise.
* db2/db/db_pr.c: Likewise.
* db2/db/db_ret.c: Likewise.
* db2/db/db_thread.c: Likewise.
* db2/hash/hash.c: Likewise.
* db2/hash/hash_auto.c: Likewise.
* db2/hash/hash_conv.c: Likewise.
* db2/hash/hash_dup.c: Likewise.
* db2/hash/hash_func.c: Likewise.
* db2/hash/hash_page.c: Likewise.
* db2/hash/hash_rec.c: Likewise.
* db2/include/btree.h: Likewise.
* db2/include/btree_ext.h: Likewise.
* db2/include/db.h.src: Likewise.
* db2/include/db_185.h.src: Likewise.
* db2/include/db_cxx.h: Likewise.
* db2/include/db_ext.h: Likewise.
* db2/include/db_int.h.src: Likewise.
* db2/include/db_page.h: Likewise.
* db2/include/db_shash.h: Likewise.
* db2/include/lock.h: Likewise.
* db2/include/log.h: Likewise.
* db2/include/log_ext.h: Likewise.
* db2/include/mp.h: Likewise.
* db2/include/shqueue.h: Likewise.
* db2/include/txn.h: Likewise.
* db2/lock/lock.c: Likewise.
* db2/lock/lock_deadlock.c: Likewise.
* db2/log/log.c: Likewise.
* db2/log/log_archive.c: Likewise.
* db2/log/log_auto.c: Likewise.
* db2/log/log_get.c: Likewise.
* db2/log/log_put.c: Likewise.
* db2/log/log_register.c: Likewise.
* db2/mp/mp_bh.c: Likewise.
* db2/mp/mp_fget.c: Likewise.
* db2/mp/mp_fopen.c: Likewise.
* db2/mp/mp_fput.c: Likewise.
* db2/mp/mp_fset.c: Likewise.
* db2/mp/mp_open.c: Likewise.
* db2/mutex/mutex.c: Likewise.
* db2/os/db_os_dir.c: Likewise.
* db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
* db2/progs/db_deadlock/db_deadlock.c: Likewise.
* db2/progs/db_dump185/db_dump185.c: Likewise.
* db2/progs/db_load/db_load.c: Likewise.
* db2/progs/db_recover/db_recover.c: Likewise.
* db2/txn/txn.c: Likewise.
* db2/txn/txn_auto.c: Likewise.
* elf/link.h: Define struct libname_list outside struct link_map
to not confuse C++ compilers.
* include/features.h: Recognize _XOPEN_SOURCE == 500 and set
__USE_UNIX98.
* manual/creature.texi: Explain this.
* libc.map: Add new functions.
* libio/Makefile (routines): Add fseeko and ftello.
* libio/ftello.c: New file.
* libio/fseeko.c: New file.
* libio/stdio.h: Add prototypes for new functions.
* manual/stdio.texi: Document fseeko and ftello.
* posix/Makefile (routines): Add pread and pwrite.
* sysdeps/posix/pread.c: New file.
* sysdeps/posix/pwrite.c: New file.
* sysdeps/stub/pread.c: New file.
* sysdeps/stub/pwrite.c: New file.
* posix/unistd.h: Add prototypes for pread and pwrite.
Pretty print header.
Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
Declare ctermid and cuserid if __USE_UNIX98.
(swab): Change to take void * arguments.
* string/swab.c: Change parameter to void *.
* posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
already happened.
* manual/llio.texi: Document pread and pwrite.
* string/strings.h: Don't simply include string.h. Define BSD
functions according to Unix98.
* stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
* sunrpc/clnt_simp.c: Likewise.
* malloc/Makefile (aux): Add set-freeres.
* malloc/mtrace.c: Define function release_libc_mem which calls the
__libc_subfreeres handler.
(mtrace): Register release_libc_mem.
* malloc/set-freeres.c: New file.
* intl/dcgettext.c: Define free_mem function and add to
__libc_subfreeres list.
* intl/finddomain.c: Likewise.
* intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
and mmap_size. Add prototype for _nl_unloaded_domain.
* intl/loadmsgcat.c: Define new function _nl_unload_domain.
(_nl_load_domain): Store informaiton about mmap use and file size.
* intl/localealias.c (read_alias_file): Optimize locale alias file
reading by avoid frequen mallocs.
Define free_mem function and add to __libc_subfreeres list.
* locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
undeletable.
Add prototype for _nl_unload_locale.
* locale/C-collate: Mark data as undeletable by using UNDELETABLE.
* locale/C-ctype: Likewise.
* locale/C-messages: Likewise.
* locale/C-monetary: Likewise.
* locale/C-numeric: Likewise.
* locale/C-time: Likewise.
* locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
MAX_USAGE_COUNT and UNDELETABLE.
(free_mem): New function. Add it to __libc_subfreeres list.
* locale/loadlocale.c: Define _nl_unload_locale function.
* misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
* stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
correctly
Define free_mem function and add to __libc_subfreeres list.
* locale/programs/localedef.c (options): short form os verbose is v.
Reported by Andreas Jaeger.
* misc/sys/select.h: Define pselect only is __USE_POSIX since this
header is used in some others as well for historical reasons.
* resolv/resolv.h: Include <netinet/in.h> to make self-contained.
* string/bits/string2.h: Add missing braces and optimize strcmp a
bit more.
* sysdeps/i386/i486/bits/string.h: Likewise.
* sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
Pretty print.
* sysdeps/mach/hurd/cthreads.c: Add copyright text.
* sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
* sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
* time/time.h: Pretty print.
1997-09-29 Paul Eggert <eggert@twinsun.com>
* time/strftime.c: Synchronize with GNU Emacs strftime.c.
(HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
(gmtime_r, localtime_r): Undef before defining.
(iso_week_days): Use __inline__, not inline.
1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
__ieee754_exp2{,l,f}.
* sysdeps/m68k/fpu/s_exp2.c: Likewise.
* sysdeps/m68k/fpu/s_exp2l.c: Likewise.
* sysdeps/m68k/fpu/s_exp2f.c: Likewise.
1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
section read-only, it contains relocations.
* elf/sofini.c (__FRAME_END__): Likewise.
1997-09-29 03:08 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
__strpbrk_cg, __strstr_cg): Optimize even more. No spill register
needed. Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nis_call.c (__do_niscall2): Fix return code, add missing
break in switch case.
* nis/nis_mkdir.c: Fix return codes to match Solaris version.
* nis/nis_rmdir.c: Likewise.
* nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
for C++.
1997-09-28 04:32 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Fix typo.
Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1997-09-25 20:14 Philip Blundell <Philip.Blundell@pobox.com>
* sysdeps/unix/sysv/linux/scsi/sg.h: New file.
* sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
1997-09-30 17:10:40 +00:00
|
|
|
|
* Thorsten Kukuk provided an implementation for NIS+, securelevel 0, 1 and 2.
|
Update.
1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/sco3.2.4/Dist: New file.
* sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
* sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
* sysdeps/unix/sysv/Dist: Add direct.h.
* sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
* Make-dist ($(tardir).tar): Prefer writing temporary file to
$TMPDIR is available. The default is /tmp.
* sysdeps/generic/ip.h: Move to...
* sysdeps/generic/netinet/ip.h: ...here.
* Makefile (tests): Quote $(CC) argument to isomac program.
Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
* sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
is placed in wrong place on the stack.
Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
* sysdeps/tst-setjmp.c: Add new test for above problem.
* sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
* sysdeps/libm-i387/e_powf.S: Likewise.
* sysdeps/libm-i387/e_powl.S: Likewise.
1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com>
* time/offtime.c (__offtime): Change type of `yg' to long int.
Reported by a sun <asun@zoology.washington.edu>.
1997-03-18 23:08 a sun <asun@zoology.washington.edu>
* sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
2.2.0 to prevent version mismatch.
1997-03-17 19:26 Andreas Jaeger <aj@arthur.pfalz.de>
* stdio-common/printf_fphex.c (MIN): Only define MIN if not
already defined.
1997-03-14 23:34 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
in ioctls.h.
* elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
loader first relocates itself.
* sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
jump slot relocation. Prefer relative branches (some PowerPC chips
don't predict absolute branches).
(elf_machine_runtime_setup): Simplify and correct expressions.
(RTLD_START): Fix bug changing _dl_starting_up.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
strange Linux/PPC padding of initial stack.
1997-03-11 04:14 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
for future expansion.
* sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
can't have a switch statement.
* sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
static.
* sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
confusing gcc's idea of the current section.
* sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
RTLD_START): Likewise.
1997-03-08 09:10 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/dl-machine.h (elf_machine_rela,
elf_machine_runtime_setup): Flush data & instruction caches when
necessary, for 603/604 support. Add better support for large PLTs.
(elf_machine_rela): Remove relocations that wouldn't work if
anyone ever used them. Use memcpy for copy reloc, it'll be safe.
Never target branch relocations at a PLT entry.
* sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
generating PIC.
* sysdeps/powerpc/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
* sysdeps/powerpc/elf/start.c: Clean up.
* sysdeps/powerpc/__longjmp.S: Return 'value' as result from
setjmp call.
* sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu>
* Make-dist (srcs): Add $(test-srcs).
* MakeTAGS (all-sources): Likewise.
* Makerules (depfiles, common-mostlyclean): Likewise.
* Rules (tests): Likewise.
1997-03-18 05:28 Roland McGrath <roland@frob.com>
* elf/dl-reloc.c (RESOLVE): Don't try to resolve ocal symbols.
1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org>
* nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
protocol=NULL to match any protocol rather than returning an
error.
1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org>
* nss/nss_files/files-service.c (servbyname): Match any protocol
if proto==NULL.
1997-03-18 05:17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
* sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
Proposed by Thomas Bushnell, n/BSG.
1997-03-18 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
the buffer for replacement.
1997-03-16 19:30 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
sys_lstat and sys_stat.
1997-03-17 12:43 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
Add NIS+ functions
* shlib-versions: Add libnss_nisplus.
* nis/Makefile: Add NIS+ source files.
* nis/nis_call.c: New file.
* nis/nis_clone.c: New file.
* nis/nis_error.c: New file.
* nis/nis_file.c: New file.
* nis/nis_free.c: New file.
* nis/nis_intern.c: New file.
* nis/nis_intern.h: New file.
* nis/nis_local_names.c: New file.
* nis/nis_names.c: New file.
* nis/nis_print.c: New file.
* nis/nis_server.c: New file.
* nis/nis_subr.c: New file.
* nis/nis_table.c: New file.
* nis/nis_xdr.c: New file.
* nis/nss-nisplus.h: New file.
* nis/nss_nisplus/nisplus-alias.c: New file.
* nis/nss_nisplus/nisplus-ethers.c: New file.
* nis/nss_nisplus/nisplus-grp.c: New file.
* nis/nss_nisplus/nisplus-hosts.c: New file.
* nis/nss_nisplus/nisplus-netgrp.c: New file.
* nis/nss_nisplus/nisplus-network.c: New file.
* nis/nss_nisplus/nisplus-proto.c: New file.
* nis/nss_nisplus/nisplus-publickey.c: New file.
* nis/nss_nisplus/nisplus-pwd.c: New file.
* nis/nss_nisplus/nisplus-rpc.c: New file.
* nis/nss_nisplus/nisplus-service.c: New file.
* nis/nss_nisplus/nisplus-spwd.c: New file.
* nis/rpcsvc/nis.h: New file.
* nis/rpcsvc/nis.x: New file.
* nis/rpcsvc/nis_object.x: New file.
* nis/rpcsvc/nis_tags.h: New file.
* nis/rpcsvc/nislib.h: New file.
1997-03-17 12:52 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* mach/devstream.c (output/write_some): Don't try and write more
than IO_INBAND_MAX in a single call to device_write_inband.
* sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
* sysdeps/libm-ieee754/w_atan2f.c: Likewise.
* sysdeps/libm-ieee754/w_atan2l.c: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
* stdlib/atoll.c: Undefine atoll, not atol.
1997-03-19 05:47:56 +00:00
|
|
|
|
|
Update.
1997-09-30 18:03 Ulrich Drepper <drepper@cygnus.com>
* Makerules: Undo last change.
* csu/Makefile: Define before-compile at the right place.
* aclocal.m4: Remove a.out file created by assembler test.
* set-init.c: Find set-hooks.h using <...>.
Update to db 2.3.10.
* db2/Makefile: Update.
* db2/db.h: Likewise.
* db2/db_185.h: Likewise.
* db2/db_int.h: Likewise.
* db2/btree/bt_close.c: Likewise.
* db2/btree/bt_conv.c: Likewise.
* db2/btree/bt_cursor.c: Likewise.
* db2/btree/bt_put.c: Likewise.
* db2/btree/bt_rec.c: Likewise.
* db2/btree/bt_recno.c: Likewise.
* db2/btree/btree.src: Likewise.
* db2/btree/btree_auto.c: Likewise.
* db2/clib/getlong.c: Likewise.
* db2/db/db.c: Likewise.
* db2/db/db_auto.c: Likewise.
* db2/db/db_conv.c: Likewise.
* db2/db/db_pr.c: Likewise.
* db2/db/db_ret.c: Likewise.
* db2/db/db_thread.c: Likewise.
* db2/hash/hash.c: Likewise.
* db2/hash/hash_auto.c: Likewise.
* db2/hash/hash_conv.c: Likewise.
* db2/hash/hash_dup.c: Likewise.
* db2/hash/hash_func.c: Likewise.
* db2/hash/hash_page.c: Likewise.
* db2/hash/hash_rec.c: Likewise.
* db2/include/btree.h: Likewise.
* db2/include/btree_ext.h: Likewise.
* db2/include/db.h.src: Likewise.
* db2/include/db_185.h.src: Likewise.
* db2/include/db_cxx.h: Likewise.
* db2/include/db_ext.h: Likewise.
* db2/include/db_int.h.src: Likewise.
* db2/include/db_page.h: Likewise.
* db2/include/db_shash.h: Likewise.
* db2/include/lock.h: Likewise.
* db2/include/log.h: Likewise.
* db2/include/log_ext.h: Likewise.
* db2/include/mp.h: Likewise.
* db2/include/shqueue.h: Likewise.
* db2/include/txn.h: Likewise.
* db2/lock/lock.c: Likewise.
* db2/lock/lock_deadlock.c: Likewise.
* db2/log/log.c: Likewise.
* db2/log/log_archive.c: Likewise.
* db2/log/log_auto.c: Likewise.
* db2/log/log_get.c: Likewise.
* db2/log/log_put.c: Likewise.
* db2/log/log_register.c: Likewise.
* db2/mp/mp_bh.c: Likewise.
* db2/mp/mp_fget.c: Likewise.
* db2/mp/mp_fopen.c: Likewise.
* db2/mp/mp_fput.c: Likewise.
* db2/mp/mp_fset.c: Likewise.
* db2/mp/mp_open.c: Likewise.
* db2/mutex/mutex.c: Likewise.
* db2/os/db_os_dir.c: Likewise.
* db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
* db2/progs/db_deadlock/db_deadlock.c: Likewise.
* db2/progs/db_dump185/db_dump185.c: Likewise.
* db2/progs/db_load/db_load.c: Likewise.
* db2/progs/db_recover/db_recover.c: Likewise.
* db2/txn/txn.c: Likewise.
* db2/txn/txn_auto.c: Likewise.
* elf/link.h: Define struct libname_list outside struct link_map
to not confuse C++ compilers.
* include/features.h: Recognize _XOPEN_SOURCE == 500 and set
__USE_UNIX98.
* manual/creature.texi: Explain this.
* libc.map: Add new functions.
* libio/Makefile (routines): Add fseeko and ftello.
* libio/ftello.c: New file.
* libio/fseeko.c: New file.
* libio/stdio.h: Add prototypes for new functions.
* manual/stdio.texi: Document fseeko and ftello.
* posix/Makefile (routines): Add pread and pwrite.
* sysdeps/posix/pread.c: New file.
* sysdeps/posix/pwrite.c: New file.
* sysdeps/stub/pread.c: New file.
* sysdeps/stub/pwrite.c: New file.
* posix/unistd.h: Add prototypes for pread and pwrite.
Pretty print header.
Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
Declare ctermid and cuserid if __USE_UNIX98.
(swab): Change to take void * arguments.
* string/swab.c: Change parameter to void *.
* posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
already happened.
* manual/llio.texi: Document pread and pwrite.
* string/strings.h: Don't simply include string.h. Define BSD
functions according to Unix98.
* stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
* sunrpc/clnt_simp.c: Likewise.
* malloc/Makefile (aux): Add set-freeres.
* malloc/mtrace.c: Define function release_libc_mem which calls the
__libc_subfreeres handler.
(mtrace): Register release_libc_mem.
* malloc/set-freeres.c: New file.
* intl/dcgettext.c: Define free_mem function and add to
__libc_subfreeres list.
* intl/finddomain.c: Likewise.
* intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
and mmap_size. Add prototype for _nl_unloaded_domain.
* intl/loadmsgcat.c: Define new function _nl_unload_domain.
(_nl_load_domain): Store informaiton about mmap use and file size.
* intl/localealias.c (read_alias_file): Optimize locale alias file
reading by avoid frequen mallocs.
Define free_mem function and add to __libc_subfreeres list.
* locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
undeletable.
Add prototype for _nl_unload_locale.
* locale/C-collate: Mark data as undeletable by using UNDELETABLE.
* locale/C-ctype: Likewise.
* locale/C-messages: Likewise.
* locale/C-monetary: Likewise.
* locale/C-numeric: Likewise.
* locale/C-time: Likewise.
* locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
MAX_USAGE_COUNT and UNDELETABLE.
(free_mem): New function. Add it to __libc_subfreeres list.
* locale/loadlocale.c: Define _nl_unload_locale function.
* misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
* stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
correctly
Define free_mem function and add to __libc_subfreeres list.
* locale/programs/localedef.c (options): short form os verbose is v.
Reported by Andreas Jaeger.
* misc/sys/select.h: Define pselect only is __USE_POSIX since this
header is used in some others as well for historical reasons.
* resolv/resolv.h: Include <netinet/in.h> to make self-contained.
* string/bits/string2.h: Add missing braces and optimize strcmp a
bit more.
* sysdeps/i386/i486/bits/string.h: Likewise.
* sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
Pretty print.
* sysdeps/mach/hurd/cthreads.c: Add copyright text.
* sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
* sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
* time/time.h: Pretty print.
1997-09-29 Paul Eggert <eggert@twinsun.com>
* time/strftime.c: Synchronize with GNU Emacs strftime.c.
(HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
(gmtime_r, localtime_r): Undef before defining.
(iso_week_days): Use __inline__, not inline.
1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
__ieee754_exp2{,l,f}.
* sysdeps/m68k/fpu/s_exp2.c: Likewise.
* sysdeps/m68k/fpu/s_exp2l.c: Likewise.
* sysdeps/m68k/fpu/s_exp2f.c: Likewise.
1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
section read-only, it contains relocations.
* elf/sofini.c (__FRAME_END__): Likewise.
1997-09-29 03:08 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
__strpbrk_cg, __strstr_cg): Optimize even more. No spill register
needed. Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nis_call.c (__do_niscall2): Fix return code, add missing
break in switch case.
* nis/nis_mkdir.c: Fix return codes to match Solaris version.
* nis/nis_rmdir.c: Likewise.
* nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
for C++.
1997-09-28 04:32 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Fix typo.
Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1997-09-25 20:14 Philip Blundell <Philip.Blundell@pobox.com>
* sysdeps/unix/sysv/linux/scsi/sg.h: New file.
* sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
1997-09-30 17:10:40 +00:00
|
|
|
|
* Andreas Jaeger provided a test suite for the math library.
|
|
|
|
|
|
|
|
|
|
* Mark Kettenis implemented the utmpx interface and an utmp daemon.
|
Update.
1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig: Add shared-thread-library variable.
* math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
* sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
here.
* sysdeps/m68k/fpu/e_acos.c: Likewise.
* sysdeps/m68k/fpu/e_atan2.c: Likewise.
* sysdeps/m68k/fpu/e_fmod.c: Likewise.
* sysdeps/m68k/fpu/e_pow.c: Likewise.
* sysdeps/m68k/fpu/e_scalb.c: Likewise.
* sysdeps/m68k/fpu/k_cos.c: Likewise.
* sysdeps/m68k/fpu/k_sin.c: Likewise.
* sysdeps/m68k/fpu/k_tan.c: Likewise.
* sysdeps/m68k/fpu/s_atan.c: Likewise.
* sysdeps/m68k/fpu/s_ccos.c: Likewise.
* sysdeps/m68k/fpu/s_ccosh.c: Likewise.
* sysdeps/m68k/fpu/s_cexp.c: Likewise.
* sysdeps/m68k/fpu/s_csin.c: Likewise.
* sysdeps/m68k/fpu/s_csinh.c: Likewise.
* sysdeps/m68k/fpu/s_frexp.c: Likewise.
* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/m68k/fpu/s_llrint.c: Likewise.
* sysdeps/m68k/fpu/s_llrintf.c: Likewise.
* sysdeps/m68k/fpu/s_llrintl.c: Likewise.
* sysdeps/m68k/fpu/s_lrint.c: Likewise.
* sysdeps/m68k/fpu/s_modf.c: Likewise.
* sysdeps/m68k/fpu/s_remquo.c: Likewise.
* sysdeps/m68k/fpu/s_scalbn.c: Likewise.
* sysdeps/m68k/fpu/s_sincos.c: Likewise.
* libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
__libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
* signal/Makefile (headers): Add bits/siginfo.h.
(routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
(distribute): Add testrtsig.h.
* signal/allocrtsig.c: New file.
* signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
__libc_current_sigrtmax.
* sysdeps/generic/sigqueue.c: New file.
* sysdeps/generic/sigtimedwait.c: New file.
* sysdeps/generic/sigwaitinfo.c: New file.
* sysdeps/generic/testrtsig.h: New file.
* sysdeps/generic/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
old_kernel_sigaction and rename sa_handler member to k_sa_handler.
* sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
* sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
* sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
* sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
* sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
* sysdeps/unix/sysv/linux/sigpending.c: New file.
* sysdeps/unix/sysv/linux/sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/sigqueue.c: New file.
* sysdeps/unix/sysv/linux/sigreturn.c: New file.
* sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
* sysdeps/unix/sysv/linux/testrtsig.h: New file.
* sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
* sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
* sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
and _POSIX_REALTIME_SIGNALS.
* sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
* sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
update _NSIG.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
definitions.
* Makefile (subdirs): Add rt.
* shlib-versions: Add entry for librt.
* rt/Makefile: New file.
* rt/aio.h: New file.
* rt/aio_cancel.c: New file.
* rt/aio_error.c: New file.
* rt/aio_fsync.c: New file.
* rt/aio_misc.c: New file.
* rt/aio_misc.h: New file.
* rt/aio_read.c: New file.
* rt/aio_read64.c: New file.
* rt/aio_return.c: New file.
* rt/aio_suspend.c: New file.
* rt/aio_write.c: New file.
* rt/aio_write64.c: New file.
* rt/lio_listio.c: New file.
* rt/lio_listio64.c: New file.
* sysdeps/generic/aio_sigqueue.c: New file.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
* sysdeps/unix/sysv/linux/Dist: Add new files
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
(sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
rt_sigqueueinfo, rt_sigaction.
* posix/Makefile (headers): Add bits/environments.h.
* posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
and _CS_LFS_CFLAGS on 64bit platforms.
* posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
* sysdeps/generic/bits/confname.h: Define _SC_* constants for
compilation modules.
* sysdeps/wordsize-32/bits/environments.h: New file.
* sysdeps/wordsize-64/bits/environments.h: New file.
* posix/getopt.c: Remove declaration of getpid and __libc_pid.
* posix/getopt_init.c: Test for value 0xf00baa of uninitialized
__libc_pid.
* sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
0xf00baa.
* string/string.h: Add declaration of __strverscmp.
* string/strverscmp.c: Rename function ot __strverscmp and make old
name weak alias.
* sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
* sysdeps/generic/enbl-secure.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
* sysdeps/unix/sysv/linux/sys/pci.h: New file.
1997-12-03 Ulrich Drepper <drepper@cygnus.com>
* posix/sys/wait.h: Use __transparent_union__ instead of
transparent_union. Reported by Roland McGrath.
1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/inet_neta.c (inet_neta): Change type of first parameter
to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
[PR libc/366].
* resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
* inet/arpa/inet.h: Change types of inet_neta and inet_addr.
1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* grp/initgroups.c: Increase buffer if it is too small.
1997-12-03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
fields, this is no ISO C. Reported by Andreas Jaeger.
1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
_SYS_UTSNAME_H not _UTSNAME_H.
1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-profile.c (_dl_start_profile): Avoid overflow when
computing s_scale.
1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
* sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
* sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
* math/libm-test.c (csqrt_test): Add testcase.
1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
* sysdeps/unix/sysv/linux/sys/Dist: Add it.
* sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (acos_test): Add more tests.
(asin_test): Likewise.
(atan_test): Likewise.
(exp_test): Likewise.
(sin_test): Likewise.
(sqrt_test): Likewise.
(cpow_test): Likewise.
(csqrt_test): Likewise.
(cexp_test): Correct typo in gcc version test.
1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
* sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
<bits/setjmp.h>.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
* stdio/stdio.h: Add prototype for tmpfile64().
1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
* stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
prototype to keep in step with libio version.
* stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/Makefile: Don't try to use make_siglist if
cross-compiling.
1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
load GOT ptr before jumping to _exit.
Reported by Xavier Leroy.
1997-12-04 00:12:34 +00:00
|
|
|
|
|
1999-01-24 10:17:23 +00:00
|
|
|
|
* Ulrich Drepper added character set conversion functions (iconv).
|
Update.
1997-12-03 23:50 Ulrich Drepper <drepper@cygnus.com>
* Makeconfig: Add shared-thread-library variable.
* math/Makfile (CPPFLAGS): Add -D__LIBC_INTERNAL_MATH_INLINES.
* sysdeps/i386/Makefile: Don't define ___LIBC_INTERNAL_MATH_INLINES
here.
* sysdeps/m68k/fpu/e_acos.c: Likewise.
* sysdeps/m68k/fpu/e_atan2.c: Likewise.
* sysdeps/m68k/fpu/e_fmod.c: Likewise.
* sysdeps/m68k/fpu/e_pow.c: Likewise.
* sysdeps/m68k/fpu/e_scalb.c: Likewise.
* sysdeps/m68k/fpu/k_cos.c: Likewise.
* sysdeps/m68k/fpu/k_sin.c: Likewise.
* sysdeps/m68k/fpu/k_tan.c: Likewise.
* sysdeps/m68k/fpu/s_atan.c: Likewise.
* sysdeps/m68k/fpu/s_ccos.c: Likewise.
* sysdeps/m68k/fpu/s_ccosh.c: Likewise.
* sysdeps/m68k/fpu/s_cexp.c: Likewise.
* sysdeps/m68k/fpu/s_csin.c: Likewise.
* sysdeps/m68k/fpu/s_csinh.c: Likewise.
* sysdeps/m68k/fpu/s_frexp.c: Likewise.
* sysdeps/m68k/fpu/s_ilogb.c: Likewise.
* sysdeps/m68k/fpu/s_isinf.c: Likewise.
* sysdeps/m68k/fpu/s_llrint.c: Likewise.
* sysdeps/m68k/fpu/s_llrintf.c: Likewise.
* sysdeps/m68k/fpu/s_llrintl.c: Likewise.
* sysdeps/m68k/fpu/s_lrint.c: Likewise.
* sysdeps/m68k/fpu/s_modf.c: Likewise.
* sysdeps/m68k/fpu/s_remquo.c: Likewise.
* sysdeps/m68k/fpu/s_scalbn.c: Likewise.
* sysdeps/m68k/fpu/s_sincos.c: Likewise.
* libc.map: Add __libc_current_sigrtmin, __libc_current_sigrtmax,
__libc_allocate_rtsig, sigqueue, sigtimedwait, sigwaitinfo.
* signal/Makefile (headers): Add bits/siginfo.h.
(routines): Add allocrtsig, sigtimedwait, sigwaitinfo, sigqueue.
(distribute): Add testrtsig.h.
* signal/allocrtsig.c: New file.
* signal/signal.h: Define `union sigval'. Include <bits/siginfo.h>.
Declare sigwaitinfo, sigtimedwait, sigqueue, __libc_current_sigrtmin,
__libc_current_sigrtmax.
* sysdeps/generic/sigqueue.c: New file.
* sysdeps/generic/sigtimedwait.c: New file.
* sysdeps/generic/sigwaitinfo.c: New file.
* sysdeps/generic/testrtsig.h: New file.
* sysdeps/generic/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/bits/siginfo.h: New file.
* sysdeps/unix/sysv/linux/kernel_sigaction.h: Define struct as
old_kernel_sigaction and rename sa_handler member to k_sa_handler.
* sysdeps/unix/sysv/linux/rt_sigaction.c: New file.
* sysdeps/unix/sysv/linux/rt_sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/rt_sigqueueinfo.c: New file.
* sysdeps/unix/sysv/linux/rt_sigreturn.c: New file.
* sysdeps/unix/sysv/linux/rt_sigsuspend.c: New file.
* sysdeps/unix/sysv/linux/rt_sigtimedwait.c: New file.
* sysdeps/unix/sysv/linux/sigpending.c: New file.
* sysdeps/unix/sysv/linux/sigprocmask.c: New file.
* sysdeps/unix/sysv/linux/sigqueue.c: New file.
* sysdeps/unix/sysv/linux/sigreturn.c: New file.
* sysdeps/unix/sysv/linux/sigtimedwait.c: New file.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: New file.
* sysdeps/unix/sysv/linux/testrtsig.h: New file.
* sysdeps/unix/sysv/linux/sigsuspend.c: Update for AIO.
* sysdeps/unix/sysv/linux/syscalls.list: Update for AIO.
* sysdeps/unix/sysv/linux/sigaction.c: Update for AIO.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define AIO_PRIO_DELTA_MAX.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _XOPEN_REALTIME
and _POSIX_REALTIME_SIGNALS.
* sysdeps/unix/sysv/linux/bits/sigaction.h: Update for AIO.
* sysdeps/unix/sysv/linux/bits/signum.h: Define SIGRTMIN/MAX and
update _NSIG.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Update for AIO.
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Linux/i386 specific
definitions.
* Makefile (subdirs): Add rt.
* shlib-versions: Add entry for librt.
* rt/Makefile: New file.
* rt/aio.h: New file.
* rt/aio_cancel.c: New file.
* rt/aio_error.c: New file.
* rt/aio_fsync.c: New file.
* rt/aio_misc.c: New file.
* rt/aio_misc.h: New file.
* rt/aio_read.c: New file.
* rt/aio_read64.c: New file.
* rt/aio_return.c: New file.
* rt/aio_suspend.c: New file.
* rt/aio_write.c: New file.
* rt/aio_write64.c: New file.
* rt/lio_listio.c: New file.
* rt/lio_listio64.c: New file.
* sysdeps/generic/aio_sigqueue.c: New file.
* sysdeps/unix/sysv/linux/aio_sigqueue.c: New file.
* sysdeps/unix/sysv/linux/Dist: Add new files
* sysdeps/unix/sysv/linux/Makefile [$(subdir)=signal]
(sysdep_routines): Add rt_sigsuspend, rt_sigprocmask, rt_sigtimedwait,
rt_sigqueueinfo, rt_sigaction.
* posix/Makefile (headers): Add bits/environments.h.
* posix/confstr.c: Correctly handle _CS_XBS5_ILP32_OFFBIG_CFLAGS
and _CS_LFS_CFLAGS on 64bit platforms.
* posix/unistd.h: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME
and _XOPEN_REALTIME_THREADS. Include bits/environments.h.
* sysdeps/generic/bits/confname.h: Define _SC_* constants for
compilation modules.
* sysdeps/wordsize-32/bits/environments.h: New file.
* sysdeps/wordsize-64/bits/environments.h: New file.
* posix/getopt.c: Remove declaration of getpid and __libc_pid.
* posix/getopt_init.c: Test for value 0xf00baa of uninitialized
__libc_pid.
* sysdeps/unix/sysv/linux/init-first.c: Initialize __libc_pid to
0xf00baa.
* string/string.h: Add declaration of __strverscmp.
* string/strverscmp.c: Rename function ot __strverscmp and make old
name weak alias.
* sysdeps/generic/dl-sysdep.c: Declare and define __libc_uid.
* sysdeps/generic/enbl-secure.c: Likewise.
* sysdeps/mach/hurd/dl-sysdep.c: Likewise.
* sysdeps/unix/sysv/linux/bits/sigset.h: Pretty print.
* sysdeps/unix/sysv/linux/sys/pci.h: New file.
1997-12-03 Ulrich Drepper <drepper@cygnus.com>
* posix/sys/wait.h: Use __transparent_union__ instead of
transparent_union. Reported by Roland McGrath.
1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* resolv/inet_neta.c (inet_neta): Change type of first parameter
to u_int32_t. Suggested by John Lavagnino <John_Lavagnino@Brown.edu>
[PR libc/366].
* resolv/inet_addr.c (inet_addr): Change return type to u_int32_t.
* inet/arpa/inet.h: Change types of inet_neta and inet_addr.
1997-12-03 20:40 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* grp/initgroups.c: Increase buffer if it is too small.
1997-12-03 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/netinet/ip.h: Don't use u_int8_t for bit
fields, this is no ISO C. Reported by Andreas Jaeger.
1997-12-03 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* sysdeps/i386/sys/ucontext.h (enum): Add missing commata.
1997-12-03 08:58 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/bits/utsname.h: <sys/utsname.h> defines
_SYS_UTSNAME_H not _UTSNAME_H.
1997-11-28 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/dl-profile.c (_dl_start_profile): Avoid overflow when
computing s_scale.
1997-11-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/libm-ieee754/s_csqrt.c: Use different formula for now.
* sysdeps/libm-ieee754/s_csqrtf.c: Likewise.
* sysdeps/libm-ieee754/s_csqrtl.c: Likewise.
* math/libm-test.c (csqrt_test): Add testcase.
1997-12-03 15:44 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/sys/ultrasound.h: New file.
* sysdeps/unix/sysv/linux/sys/Dist: Add it.
* sysdeps/unix/sysv/linux/sys/Makefile [$(subdir)=misc]: Likewise.
1997-11-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/unix/sysv/linux/sys/timex.h: Fix declaration.
1997-12-01 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* math/libm-test.c (acos_test): Add more tests.
(asin_test): Likewise.
(atan_test): Likewise.
(exp_test): Likewise.
(sin_test): Likewise.
(sqrt_test): Likewise.
(cpow_test): Likewise.
(csqrt_test): Likewise.
(cexp_test): Correct typo in gcc version test.
1997-12-02 17:14 Philip Blundell <pb@nexus.co.uk>
* sysdeps/arm/__longjmp.S: Define _SETJMP_H before including
<bits/setjmp.h>.
* sysdeps/arm/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/arm/bits/mman.h: New file.
1997-12-02 18:07 Philip Blundell <pb@nexus.co.uk>
* stdio/stdio.h: Add prototype for tmpfile64().
1997-12-02 17:47 Philip Blundell <pb@nexus.co.uk>
* stdio/stdio.h (__stdio_gen_tempname): Add extra argument to
prototype to keep in step with libio version.
* stdio-common/tmpfile64.c: Include <errno.h> for ENOSYS.
1997-12-02 17:41 Philip Blundell <pb@nexus.co.uk>
* sysdeps/generic/Makefile: Don't try to use make_siglist if
cross-compiling.
1997-12-02 01:18 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/i386/clone.S: When cloned process returns
load GOT ptr before jumping to _exit.
Reported by Xavier Leroy.
1997-12-04 00:12:34 +00:00
|
|
|
|
|
|
|
|
|
* Optimized string functions have been added.
|
|
|
|
|
|
|
|
|
|
* The localedata addon is now part of glibc.
|
1998-03-04 17:14:36 +00:00
|
|
|
|
|
|
|
|
|
* An implementation of profiling shared libraries was added by Ulrich Drepper.
|
1998-03-05 14:03:24 +00:00
|
|
|
|
|
1998-10-20 21:18:11 +00:00
|
|
|
|
* Thorsten Kukuk and Ulrich Drepper provided an implementation for a caching
|
|
|
|
|
daemon for NSS (nscd).
|
|
|
|
|
|
|
|
|
|
Missing a better place here are some numbers on improvements. Under
|
|
|
|
|
Linux 2.1.125 un-tar-ing the kernel sources takes
|
|
|
|
|
|
1998-10-21 15:29:52 +00:00
|
|
|
|
user system wall
|
1998-10-20 21:18:11 +00:00
|
|
|
|
|
1998-10-21 15:29:52 +00:00
|
|
|
|
using local files 12.19s 6.88s 22.91s
|
1998-10-20 21:18:11 +00:00
|
|
|
|
|
1998-10-21 15:29:52 +00:00
|
|
|
|
using NIS 13.92s 8.91s 26.34s
|
1998-10-20 21:18:11 +00:00
|
|
|
|
|
1998-10-21 15:29:52 +00:00
|
|
|
|
using NIS & nscd 10.37s 7.34s 25.30s
|
1998-10-20 21:18:11 +00:00
|
|
|
|
|
1998-10-21 15:29:52 +00:00
|
|
|
|
using NIS+ 27.57s 30.37s 640.46s
|
|
|
|
|
|
|
|
|
|
using NIS+ & nscd 10.25s 7.83s 26.51s
|
|
|
|
|
|
|
|
|
|
using NIS & old nscd [1] 13.83s 8.32s 29.60s
|
1998-10-20 21:18:11 +00:00
|
|
|
|
|
|
|
|
|
Keep in mind that non-namelookup related operations dominate above times.
|
|
|
|
|
It was just a common complain that using NIS+ unpacking the kernel is
|
1998-10-21 15:29:52 +00:00
|
|
|
|
horribly slow.
|
1998-10-20 21:18:11 +00:00
|
|
|
|
|
1998-10-21 15:29:52 +00:00
|
|
|
|
[1] The old nscd implementation is not available anymore since it was
|
|
|
|
|
distributed with glibc up to version 2.0.98 and thus is now replaced.
|
1998-03-05 14:03:24 +00:00
|
|
|
|
|
|
|
|
|
* Tim Waugh provided an implementation of the POSIX.2 wordexp function family.
|
1998-03-17 17:40:39 +00:00
|
|
|
|
|
|
|
|
|
* Mark Kettenis provided a Hesiod NSS module.
|
1998-09-02 16:35:38 +00:00
|
|
|
|
|
|
|
|
|
* The ELF dynamic loader knows how to process dynamic string tokens ($ORIGIN
|
|
|
|
|
and $PLATFORM) in RPATHs and similar strings (Ulrich Drepper).
|
|
|
|
|
|
|
|
|
|
* rcmd can now handle netgroups (Dick Streefland).
|
1998-10-20 21:18:11 +00:00
|
|
|
|
|
1998-12-01 16:11:17 +00:00
|
|
|
|
* A port to the ARM was contributed by Phil Blundell, Pat Beirne and Scott
|
|
|
|
|
Bambrough.
|
|
|
|
|
|
|
|
|
|
* Support for the IPv6 protocol has been added to the socket API, as per the
|
|
|
|
|
latest draft standards.
|
|
|
|
|
|
1999-01-24 10:41:37 +00:00
|
|
|
|
* Support for Linux 2.2 has been added.
|
|
|
|
|
|
1998-10-20 21:18:11 +00:00
|
|
|
|
* Interface changes relative to the latest 2.0.x release:
|
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
1998-12-01 16:11:17 +00:00
|
|
|
|
addseverity NEW: Unix98
|
1998-10-20 21:18:11 +00:00
|
|
|
|
alphasort64 NEW: LFS
|
1998-12-01 16:11:17 +00:00
|
|
|
|
argp_err_exit_status NEW: argp, GNU ext
|
|
|
|
|
argp_error NEW: argp, GNU ext
|
|
|
|
|
argp_failure NEW: argp, GNU ext
|
|
|
|
|
argp_help NEW: argp, GNU ext
|
|
|
|
|
argp_parse NEW: argp, GNU ext
|
|
|
|
|
argp_program_bug_address NEW: argp, GNU ext
|
|
|
|
|
argp_program_version NEW: argp, GNU ext
|
|
|
|
|
argp_program_version_hook NEW: argp, GNU ext
|
|
|
|
|
argp_state_help NEW: argp, GNU ext
|
|
|
|
|
argp_usage NEW: argp, GNU ext
|
1998-10-30 14:37:19 +00:00
|
|
|
|
authdes_create NEW: Secure RPC
|
|
|
|
|
authdes_getucred NEW: Secure RPC
|
|
|
|
|
authdes_pk_create NEW: Secure RPC
|
1998-10-20 21:18:11 +00:00
|
|
|
|
backtrace NEW: GNU ext.
|
|
|
|
|
backtrace_symbols NEW: GNU ext.
|
|
|
|
|
backtrace_symbols_fd NEW: GNU ext.
|
|
|
|
|
cacos NEW: ISO C 9x
|
|
|
|
|
cacosf NEW: ISO C 9x
|
|
|
|
|
cacosh NEW: ISO C 9x
|
|
|
|
|
cacoshf NEW: ISO C 9x
|
|
|
|
|
cacoshl NEW: ISO C 9x
|
|
|
|
|
cacosl NEW: ISO C 9x
|
|
|
|
|
capget NEW: kernel
|
|
|
|
|
capset NEW: kernel
|
|
|
|
|
carg NEW: ISO C 9x
|
|
|
|
|
cargf NEW: ISO C 9x
|
|
|
|
|
cargl NEW: ISO C 9x
|
|
|
|
|
casin NEW: ISO C 9x
|
|
|
|
|
casinf NEW: ISO C 9x
|
|
|
|
|
casinh NEW: ISO C 9x
|
|
|
|
|
casinhf NEW: ISO C 9x
|
|
|
|
|
casinhl NEW: ISO C 9x
|
|
|
|
|
casinl NEW: ISO C 9x
|
|
|
|
|
catan NEW: ISO C 9x
|
|
|
|
|
catanf NEW: ISO C 9x
|
|
|
|
|
catanh NEW: ISO C 9x
|
|
|
|
|
catanhf NEW: ISO C 9x
|
|
|
|
|
catanhl NEW: ISO C 9x
|
|
|
|
|
catanl NEW: ISO C 9x
|
1998-10-30 14:37:19 +00:00
|
|
|
|
cbc_crypt NEW: Secure RPC
|
1998-10-20 21:18:11 +00:00
|
|
|
|
ccos NEW: ISO C 9x
|
|
|
|
|
ccosf NEW: ISO C 9x
|
|
|
|
|
ccosh NEW: ISO C 9x
|
|
|
|
|
ccoshf NEW: ISO C 9x
|
|
|
|
|
ccoshl NEW: ISO C 9x
|
|
|
|
|
ccosl NEW: ISO C 9x
|
|
|
|
|
cexp NEW: ISO C 9x
|
|
|
|
|
cexpf NEW: ISO C 9x
|
|
|
|
|
cexpl NEW: ISO C 9x
|
|
|
|
|
cimag NEW: ISO C 9x
|
|
|
|
|
cimagf NEW: ISO C 9x
|
|
|
|
|
cimagl NEW: ISO C 9x
|
|
|
|
|
clearerr_locked REMOVED
|
|
|
|
|
clntunix_create NEW: sunrpc ext
|
|
|
|
|
clog NEW: ISO C 9x
|
|
|
|
|
clog10 NEW: ISO C 9x
|
|
|
|
|
clog10f NEW: ISO C 9x
|
|
|
|
|
clog10l NEW: ISO C 9x
|
|
|
|
|
clogf NEW: ISO C 9x
|
|
|
|
|
clogl NEW: ISO C 9x
|
|
|
|
|
conj NEW: ISO C 9x
|
|
|
|
|
conjf NEW: ISO C 9x
|
|
|
|
|
conjl NEW: ISO C 9x
|
|
|
|
|
cpow NEW: ISO C 9x
|
|
|
|
|
cpowf NEW: ISO C 9x
|
|
|
|
|
cpowl NEW: ISO C 9x
|
|
|
|
|
cproj NEW: ISO C 9x
|
|
|
|
|
cprojf NEW: ISO C 9x
|
|
|
|
|
cprojl NEW: ISO C 9x
|
|
|
|
|
creal NEW: ISO C 9x
|
|
|
|
|
crealf NEW: ISO C 9x
|
|
|
|
|
creall NEW: ISO C 9x
|
|
|
|
|
creat64 NEW: LFS
|
|
|
|
|
csin NEW: ISO C 9x
|
|
|
|
|
csinf NEW: ISO C 9x
|
|
|
|
|
csinh NEW: ISO C 9x
|
|
|
|
|
csinhf NEW: ISO C 9x
|
|
|
|
|
csinhl NEW: ISO C 9x
|
|
|
|
|
csinl NEW: ISO C 9x
|
|
|
|
|
csqrt NEW: ISO C 9x
|
|
|
|
|
csqrtf NEW: ISO C 9x
|
|
|
|
|
csqrtl NEW: ISO C 9x
|
|
|
|
|
ctan NEW: ISO C 9x
|
|
|
|
|
ctanf NEW: ISO C 9x
|
|
|
|
|
ctanh NEW: ISO C 9x
|
|
|
|
|
ctanhf NEW: ISO C 9x
|
|
|
|
|
ctanhl NEW: ISO C 9x
|
|
|
|
|
ctanl NEW: ISO C 9x
|
1998-10-30 14:37:19 +00:00
|
|
|
|
des_setparity NEW: Secure RPC
|
|
|
|
|
ecb_crypt NEW: Secure RPC
|
1998-12-01 16:11:17 +00:00
|
|
|
|
endutxent NEW: Unix98
|
1998-10-20 21:18:11 +00:00
|
|
|
|
exp10 NEW: ISO C 9x
|
|
|
|
|
exp10f NEW: ISO C 9x
|
|
|
|
|
exp10l NEW: ISO C 9x
|
|
|
|
|
exp2 NEW: ISO C 9x
|
|
|
|
|
exp2f NEW: ISO C 9x
|
|
|
|
|
exp2l NEW: ISO C 9x
|
|
|
|
|
fattach NEW: STREAMS
|
|
|
|
|
fdetach NEW: STREAMS
|
|
|
|
|
fdim NEW: ISO C 9x
|
|
|
|
|
fdimf NEW: ISO C 9x
|
|
|
|
|
fdiml NEW: ISO C 9x
|
|
|
|
|
feclearexcept NEW: ISO C 9x
|
|
|
|
|
fegetenv NEW: ISO C 9x
|
|
|
|
|
fegetexceptflag NEW: ISO C 9x
|
|
|
|
|
fegetround NEW: ISO C 9x
|
|
|
|
|
feholdexcept NEW: ISO C 9x
|
|
|
|
|
feof_locked REMOVED
|
|
|
|
|
feraiseexcept NEW: ISO C 9x
|
|
|
|
|
ferror_locked REMOVED
|
|
|
|
|
fesetenv NEW: ISO C 9x
|
|
|
|
|
fesetexceptflag NEW: ISO C 9x
|
|
|
|
|
fesetround NEW: ISO C 9x
|
|
|
|
|
fetestexcept NEW: ISO C 9x
|
|
|
|
|
feupdateenv NEW: ISO C 9x
|
|
|
|
|
fflush_locked REMOVED
|
|
|
|
|
ffsl NEW: GNU ext.
|
|
|
|
|
ffsll NEW: GNU ext.
|
|
|
|
|
fgetpos64 NEW: LFS
|
|
|
|
|
fgets_unlocked NEW: GNU ext.
|
|
|
|
|
fileno_locked REMOVED
|
|
|
|
|
fma NEW: ISO C 9x
|
|
|
|
|
fmaf NEW: ISO C 9x
|
|
|
|
|
fmal NEW: ISO C 9x
|
|
|
|
|
fmax NEW: ISO C 9x
|
|
|
|
|
fmaxf NEW: ISO C 9x
|
|
|
|
|
fmaxl NEW: ISO C 9x
|
|
|
|
|
fmin NEW: ISO C 9x
|
|
|
|
|
fminf NEW: ISO C 9x
|
|
|
|
|
fminl NEW: ISO C 9x
|
1998-12-01 16:11:17 +00:00
|
|
|
|
fmtmsg NEW: Unix98
|
1998-10-20 21:18:11 +00:00
|
|
|
|
fopen64 NEW: LFS
|
|
|
|
|
fputc_locked REMOVED
|
|
|
|
|
fputs_unlocked NEW: GNU ext.
|
|
|
|
|
fread_unlocked NEW: GNU ext.
|
|
|
|
|
freopen64 NEW: LFS
|
|
|
|
|
fseeko NEW: Unix98
|
|
|
|
|
fsetpos64 NEW: LFS
|
|
|
|
|
fstatfs64 NEW: LFS
|
|
|
|
|
fstatvfs NEW: Unix98
|
|
|
|
|
fstatvfs64 NEW: LFS
|
|
|
|
|
ftello NEW: Unix98
|
|
|
|
|
ftello64 NEW: LFS
|
|
|
|
|
ftruncate64 NEW: LFS
|
|
|
|
|
ftw64 NEW: LFS
|
|
|
|
|
fwrite_unlocked NEW: GNU ext.
|
|
|
|
|
gai_strerror NEW: IPv6
|
|
|
|
|
gamma_r REMOVED
|
|
|
|
|
gammaf_r REMOVED
|
|
|
|
|
gammal_r REMOVED
|
|
|
|
|
getchar_locked REMOVED
|
|
|
|
|
getdate NEW: Unix98
|
|
|
|
|
getdate_err NEW: Unix98
|
|
|
|
|
getdate_r NEW: GNU ext.
|
|
|
|
|
getmsg NEW: STREAMS
|
|
|
|
|
getnameinfo NEW: IPv6
|
1998-10-30 14:37:19 +00:00
|
|
|
|
getnetname NEW: Secure RPC
|
1998-10-20 21:18:11 +00:00
|
|
|
|
getpmsg NEW: STREAMS
|
|
|
|
|
getpt NEW: Unix98 PTY
|
|
|
|
|
getrlimit64 NEW: LFS
|
1998-12-01 16:11:17 +00:00
|
|
|
|
getutxent NEW: Unix98
|
|
|
|
|
getutxid NEW: Unix98
|
|
|
|
|
getutxline NEW: Unix98
|
1998-10-20 21:18:11 +00:00
|
|
|
|
glob64 NEW: GNU ext.
|
|
|
|
|
globfree64 NEW: GNU ext.
|
|
|
|
|
gnu_get_libc_release NEW: GNU ext.
|
|
|
|
|
gnu_get_libc_version NEW: GNU ext.
|
|
|
|
|
grantpt NEW: Unix98 PTY
|
1998-10-30 14:37:19 +00:00
|
|
|
|
host2netname NEW: Secure RPC
|
1998-10-20 21:18:11 +00:00
|
|
|
|
iconv NEW: iconv
|
|
|
|
|
iconv_close NEW: iconv
|
|
|
|
|
iconv_open NEW: iconv
|
|
|
|
|
if_freenameindex NEW: IPv6
|
|
|
|
|
if_indextoname NEW: IPv6
|
|
|
|
|
if_nameindex NEW: IPv6
|
|
|
|
|
if_nametoindex NEW: IPv6
|
|
|
|
|
in6addr_any NEW: IPv6
|
|
|
|
|
in6addr_loopback NEW: IPv6
|
|
|
|
|
inet6_isipv4mapped NEW: IPv6
|
|
|
|
|
isastream NEW: STREAMS
|
|
|
|
|
iswblank NEW: GNU ext.
|
1998-10-30 14:37:19 +00:00
|
|
|
|
key_decryptsession NEW: Secure RPC
|
|
|
|
|
key_decryptsession_pk NEW: Secure RPC
|
|
|
|
|
key_encryptsession NEW: Secure RPC
|
|
|
|
|
key_encryptsession_pk NEW: Secure RPC
|
|
|
|
|
key_gendes NEW: Secure RPC
|
|
|
|
|
key_get_conv NEW: Secure RPC
|
|
|
|
|
key_secretkey_is_set NEW: Secure RPC
|
|
|
|
|
key_setnet NEW: Secure RPC
|
|
|
|
|
key_setsecret NEW: Secure RPC
|
1998-10-20 21:18:11 +00:00
|
|
|
|
llrint NEW: ISO C 9x
|
|
|
|
|
llrintf NEW: ISO C 9x
|
|
|
|
|
llrintl NEW: ISO C 9x
|
|
|
|
|
llround NEW: ISO C 9x
|
|
|
|
|
llroundf NEW: ISO C 9x
|
|
|
|
|
llroundl NEW: ISO C 9x
|
|
|
|
|
log2 NEW: ISO C 9x
|
|
|
|
|
log2f NEW: ISO C 9x
|
|
|
|
|
log2l NEW: ISO C 9x
|
|
|
|
|
lrint NEW: ISO C 9x
|
|
|
|
|
lrintf NEW: ISO C 9x
|
|
|
|
|
lrintl NEW: ISO C 9x
|
|
|
|
|
lround NEW: ISO C 9x
|
|
|
|
|
lroundf NEW: ISO C 9x
|
|
|
|
|
lroundl NEW: ISO C 9x
|
|
|
|
|
lseek64 NEW: LFS
|
|
|
|
|
makecontext NEW: Unix98
|
|
|
|
|
mempcpy NEW: GNU ext.
|
|
|
|
|
mmap64 NEW: LFS
|
|
|
|
|
moncontrol REMOVED
|
|
|
|
|
modify_ldt NEW: kernel
|
|
|
|
|
nan NEW: ISO C 9x
|
|
|
|
|
nanf NEW: ISO C 9x
|
|
|
|
|
nanl NEW: ISO C 9x
|
|
|
|
|
nearbyint NEW: ISO C 9x
|
|
|
|
|
nearbyintf NEW: ISO C 9x
|
|
|
|
|
nearbyintl NEW: ISO C 9x
|
1998-10-30 14:37:19 +00:00
|
|
|
|
netname2host NEW: Secure RPC
|
|
|
|
|
netname2user NEW: Secure RPC
|
1999-01-19 12:54:50 +00:00
|
|
|
|
nexttoward NEW: ISO C 9x
|
|
|
|
|
nexttowardf NEW: ISO C 9x
|
|
|
|
|
nexttowardl NEW: ISO C 9x
|
1998-10-20 21:18:11 +00:00
|
|
|
|
nftw NEW: Unix98
|
|
|
|
|
nftw64 NEW: LFS
|
|
|
|
|
open64 NEW: LFS
|
1998-10-30 14:37:19 +00:00
|
|
|
|
passwd2des NEW: Secure RPC
|
1998-10-20 21:18:11 +00:00
|
|
|
|
pow10 NEW: GNU ext.
|
|
|
|
|
pow10f NEW: GNU ext.
|
|
|
|
|
pow10l NEW: GNU ext.
|
|
|
|
|
pread NEW: Unix98
|
|
|
|
|
pread64 NEW: LFS
|
|
|
|
|
printf_size NEW: GNU ext.
|
|
|
|
|
printf_size_info NEW: GNU ext.
|
|
|
|
|
profil_counter REMOVED
|
|
|
|
|
pthread_mutexattr_getkind_np REPLACED
|
|
|
|
|
pthread_mutexattr_setkind_np REPLACED
|
|
|
|
|
ptsname NEW: Unix98 PTY
|
|
|
|
|
ptsname_r NEW: Unix98 PTY
|
|
|
|
|
putc_locked REMOVED
|
|
|
|
|
putchar_locked REMOVED
|
|
|
|
|
putgrent NEW: GNU ext.
|
|
|
|
|
putmsg NEW: STREAMS
|
|
|
|
|
putpmsg NEW: STREAMS
|
1998-12-01 16:11:17 +00:00
|
|
|
|
pututxline NEW: Unix98
|
1998-10-20 21:18:11 +00:00
|
|
|
|
pwrite NEW: Unix98
|
|
|
|
|
pwrite64 NEW: LFS
|
|
|
|
|
readdir64 NEW: LFS
|
|
|
|
|
readdir64_r NEW: LFS
|
|
|
|
|
remquo NEW: ISO C 9x
|
|
|
|
|
remquof NEW: ISO C 9x
|
|
|
|
|
remquol NEW: ISO C 9x
|
|
|
|
|
round NEW: ISO C 9x
|
|
|
|
|
roundf NEW: ISO C 9x
|
|
|
|
|
roundl NEW: ISO C 9x
|
|
|
|
|
rtime NEW: GNU ext.
|
|
|
|
|
scalbln NEW: ISO C 9x
|
|
|
|
|
scalblnf NEW: ISO C 9x
|
|
|
|
|
scalblnl NEW: ISO C 9x
|
|
|
|
|
scandir64 NEW: LFS
|
|
|
|
|
sendfile NEW: kernel
|
|
|
|
|
setcontext NEW: Unix98
|
|
|
|
|
setrlimit64 NEW: LFS
|
1998-12-01 16:11:17 +00:00
|
|
|
|
setutxent NEW: Unix98
|
1998-10-20 21:18:11 +00:00
|
|
|
|
sighold NEW: Unix98
|
|
|
|
|
sigignore NEW: Unix98
|
|
|
|
|
sigqueue NEW: POSIX.1b
|
|
|
|
|
sigrelse NEW: Unix98
|
|
|
|
|
sigset NEW: POSIX.1b
|
|
|
|
|
sigtimedwait NEW: POSIX.1b
|
|
|
|
|
sigwaitinfo NEW: POSIX.1b
|
|
|
|
|
sincos NEW: GNU ext.
|
|
|
|
|
sincosf NEW: GNU ext.
|
|
|
|
|
sincosl NEW: GNU ext.
|
|
|
|
|
statfs64 NEW: LFS
|
|
|
|
|
statvfs NEW: Unix98
|
|
|
|
|
statvfs64 NEW: LFS
|
|
|
|
|
strcasestr NEW: GNU ext.
|
|
|
|
|
strtoimax NEW: ISO C 9x
|
|
|
|
|
strtoumax NEW: ISO C 9x
|
|
|
|
|
strverscmp NEW: GNU ext.
|
1998-10-30 14:37:19 +00:00
|
|
|
|
svcauthdes_stats NEW: Secure RPC
|
1998-10-20 21:18:11 +00:00
|
|
|
|
svcunix_create NEW: sunrpc etx
|
|
|
|
|
svcunixfd_create NEW: sunrpc ext
|
|
|
|
|
swapcontext NEW: Unix98
|
|
|
|
|
tcgetsid NEW: Unix98 PTY
|
|
|
|
|
tdestroy NEW: GNU ext.
|
|
|
|
|
tgamma NEW: ISO C 9x
|
|
|
|
|
tgammaf NEW: ISO C 9x
|
|
|
|
|
tgammal NEW: ISO C 9x
|
|
|
|
|
tmpfile64 NEW: LFS
|
|
|
|
|
trunc NEW: ISO C 9x
|
|
|
|
|
truncate64 NEW: LFS
|
|
|
|
|
truncf NEW: ISO C 9x
|
|
|
|
|
truncl NEW: ISO C 9x
|
|
|
|
|
umount2 NEW: kernel
|
|
|
|
|
unlockpt NEW: Unix98 PTY
|
1998-12-01 16:11:17 +00:00
|
|
|
|
updwtmpx NEW: Unix98
|
1998-10-30 14:37:19 +00:00
|
|
|
|
user2netname NEW: Secure RPC
|
1998-12-01 16:11:17 +00:00
|
|
|
|
utmpxname NEW: Unix98
|
1998-10-20 21:18:11 +00:00
|
|
|
|
versionsort NEW: GNU ext.
|
1999-01-19 14:38:48 +00:00
|
|
|
|
versionsort64 NEW: GNU ext.
|
1998-10-20 21:18:11 +00:00
|
|
|
|
waitid NEW: Unix98
|
|
|
|
|
wcscasecmp NEW: GNU ext.
|
|
|
|
|
wcsncasecmp NEW: GNU ext.
|
|
|
|
|
wcsnlen NEW: GNU ext.
|
|
|
|
|
wcstoimax NEW: ISO C 9x
|
|
|
|
|
wcstoll NEW: ISO C 9x
|
|
|
|
|
wcstoull NEW: ISO C 9x
|
|
|
|
|
wcstoumax NEW: ISO C 9x
|
|
|
|
|
wcswcs NEW: Unix98
|
|
|
|
|
wordexp NEW: POSIX.2
|
|
|
|
|
wordfree NEW: POSIX.2
|
|
|
|
|
write_profiling REMOVED
|
1998-10-30 14:37:19 +00:00
|
|
|
|
xdecrypt NEW: Secure RPC
|
|
|
|
|
xdr_authdes_cred NEW: Secure RPC
|
|
|
|
|
xdr_authdes_verf NEW: Secure RPC
|
|
|
|
|
xdr_cryptkeyarg NEW: Secure RPC
|
|
|
|
|
xdr_cryptkeyarg2 NEW: Secure RPC
|
|
|
|
|
xdr_cryptkeyres NEW: Secure RPC
|
|
|
|
|
xdr_getcredres NEW: Secure RPC
|
|
|
|
|
xdr_key_netstarg NEW: Secure RPC
|
|
|
|
|
xdr_key_netstres NEW: Secure RPC
|
|
|
|
|
xdr_keybuf NEW: Secure RPC
|
|
|
|
|
xdr_keystatus NEW: Secure RPC
|
|
|
|
|
xdr_netnamestr NEW: Secure RPC
|
|
|
|
|
xdr_sizeof NEW: Secure RPC
|
1998-10-20 21:18:11 +00:00
|
|
|
|
xdr_unixcred NEW: sunrpc ext
|
1998-10-30 14:37:19 +00:00
|
|
|
|
xencrypt NEW: Secure RPC
|
1998-10-20 21:18:11 +00:00
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
1999-01-24 10:41:37 +00:00
|
|
|
|
|
|
|
|
|
Version 2.0.6
|
|
|
|
|
|
|
|
|
|
* more bug fixes
|
|
|
|
|
|
Update.
1997-09-30 18:03 Ulrich Drepper <drepper@cygnus.com>
* Makerules: Undo last change.
* csu/Makefile: Define before-compile at the right place.
* aclocal.m4: Remove a.out file created by assembler test.
* set-init.c: Find set-hooks.h using <...>.
Update to db 2.3.10.
* db2/Makefile: Update.
* db2/db.h: Likewise.
* db2/db_185.h: Likewise.
* db2/db_int.h: Likewise.
* db2/btree/bt_close.c: Likewise.
* db2/btree/bt_conv.c: Likewise.
* db2/btree/bt_cursor.c: Likewise.
* db2/btree/bt_put.c: Likewise.
* db2/btree/bt_rec.c: Likewise.
* db2/btree/bt_recno.c: Likewise.
* db2/btree/btree.src: Likewise.
* db2/btree/btree_auto.c: Likewise.
* db2/clib/getlong.c: Likewise.
* db2/db/db.c: Likewise.
* db2/db/db_auto.c: Likewise.
* db2/db/db_conv.c: Likewise.
* db2/db/db_pr.c: Likewise.
* db2/db/db_ret.c: Likewise.
* db2/db/db_thread.c: Likewise.
* db2/hash/hash.c: Likewise.
* db2/hash/hash_auto.c: Likewise.
* db2/hash/hash_conv.c: Likewise.
* db2/hash/hash_dup.c: Likewise.
* db2/hash/hash_func.c: Likewise.
* db2/hash/hash_page.c: Likewise.
* db2/hash/hash_rec.c: Likewise.
* db2/include/btree.h: Likewise.
* db2/include/btree_ext.h: Likewise.
* db2/include/db.h.src: Likewise.
* db2/include/db_185.h.src: Likewise.
* db2/include/db_cxx.h: Likewise.
* db2/include/db_ext.h: Likewise.
* db2/include/db_int.h.src: Likewise.
* db2/include/db_page.h: Likewise.
* db2/include/db_shash.h: Likewise.
* db2/include/lock.h: Likewise.
* db2/include/log.h: Likewise.
* db2/include/log_ext.h: Likewise.
* db2/include/mp.h: Likewise.
* db2/include/shqueue.h: Likewise.
* db2/include/txn.h: Likewise.
* db2/lock/lock.c: Likewise.
* db2/lock/lock_deadlock.c: Likewise.
* db2/log/log.c: Likewise.
* db2/log/log_archive.c: Likewise.
* db2/log/log_auto.c: Likewise.
* db2/log/log_get.c: Likewise.
* db2/log/log_put.c: Likewise.
* db2/log/log_register.c: Likewise.
* db2/mp/mp_bh.c: Likewise.
* db2/mp/mp_fget.c: Likewise.
* db2/mp/mp_fopen.c: Likewise.
* db2/mp/mp_fput.c: Likewise.
* db2/mp/mp_fset.c: Likewise.
* db2/mp/mp_open.c: Likewise.
* db2/mutex/mutex.c: Likewise.
* db2/os/db_os_dir.c: Likewise.
* db2/progs/db_checkpoint/db_checkpoint.c: Likewise.
* db2/progs/db_deadlock/db_deadlock.c: Likewise.
* db2/progs/db_dump185/db_dump185.c: Likewise.
* db2/progs/db_load/db_load.c: Likewise.
* db2/progs/db_recover/db_recover.c: Likewise.
* db2/txn/txn.c: Likewise.
* db2/txn/txn_auto.c: Likewise.
* elf/link.h: Define struct libname_list outside struct link_map
to not confuse C++ compilers.
* include/features.h: Recognize _XOPEN_SOURCE == 500 and set
__USE_UNIX98.
* manual/creature.texi: Explain this.
* libc.map: Add new functions.
* libio/Makefile (routines): Add fseeko and ftello.
* libio/ftello.c: New file.
* libio/fseeko.c: New file.
* libio/stdio.h: Add prototypes for new functions.
* manual/stdio.texi: Document fseeko and ftello.
* posix/Makefile (routines): Add pread and pwrite.
* sysdeps/posix/pread.c: New file.
* sysdeps/posix/pwrite.c: New file.
* sysdeps/stub/pread.c: New file.
* sysdeps/stub/pwrite.c: New file.
* posix/unistd.h: Add prototypes for pread and pwrite.
Pretty print header.
Define gid_t, uid_t, off_t, pid_t if __USE_UNIX98.
Declare ctermid and cuserid if __USE_UNIX98.
(swab): Change to take void * arguments.
* string/swab.c: Change parameter to void *.
* posix/sys/types: Define gid_t, uid_t, off_t, pid_t only if not
already happened.
* manual/llio.texi: Document pread and pwrite.
* string/strings.h: Don't simply include string.h. Define BSD
functions according to Unix98.
* stdlib/tst-strtol.c: Include <string.h> not <strings.h>.
* sunrpc/clnt_simp.c: Likewise.
* malloc/Makefile (aux): Add set-freeres.
* malloc/mtrace.c: Define function release_libc_mem which calls the
__libc_subfreeres handler.
(mtrace): Register release_libc_mem.
* malloc/set-freeres.c: New file.
* intl/dcgettext.c: Define free_mem function and add to
__libc_subfreeres list.
* intl/finddomain.c: Likewise.
* intl/gettextP.h (struct loaded_domain): Add new fields use_mmap
and mmap_size. Add prototype for _nl_unloaded_domain.
* intl/loadmsgcat.c: Define new function _nl_unload_domain.
(_nl_load_domain): Store informaiton about mmap use and file size.
* intl/localealias.c (read_alias_file): Optimize locale alias file
reading by avoid frequen mallocs.
Define free_mem function and add to __libc_subfreeres list.
* locale/localeinfo.h: Make a difference between MAX_USAGE_COUNT and
undeletable.
Add prototype for _nl_unload_locale.
* locale/C-collate: Mark data as undeletable by using UNDELETABLE.
* locale/C-ctype: Likewise.
* locale/C-messages: Likewise.
* locale/C-monetary: Likewise.
* locale/C-numeric: Likewise.
* locale/C-time: Likewise.
* locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Handle
MAX_USAGE_COUNT and UNDELETABLE.
(free_mem): New function. Add it to __libc_subfreeres list.
* locale/loadlocale.c: Define _nl_unload_locale function.
* misc/hsearch.c: Register hdestroy in __libc_subfreeres list.
* stdlib/fmtmsg.c (addseverity): Handle illegal severity arguments
correctly
Define free_mem function and add to __libc_subfreeres list.
* locale/programs/localedef.c (options): short form os verbose is v.
Reported by Andreas Jaeger.
* misc/sys/select.h: Define pselect only is __USE_POSIX since this
header is used in some others as well for historical reasons.
* resolv/resolv.h: Include <netinet/in.h> to make self-contained.
* string/bits/string2.h: Add missing braces and optimize strcmp a
bit more.
* sysdeps/i386/i486/bits/string.h: Likewise.
* sunrpc/rpc/auth_des.h: Include rpc/auth.h to be self-contained.
Pretty print.
* sysdeps/mach/hurd/cthreads.c: Add copyright text.
* sysdeps/unix/sysv/linux/syscalls.list: Correct prctl entry.
* sysdeps/unix/sysv/linux/sys/mman.h: Get definition of size_t.
* time/time.h: Pretty print.
1997-09-29 Paul Eggert <eggert@twinsun.com>
* time/strftime.c: Synchronize with GNU Emacs strftime.c.
(HAVE_MEMCPY): Define if emacs is defined and HAVE_BCOPY isn't.
(gmtime_r, localtime_r): Undef before defining.
(iso_week_days): Use __inline__, not inline.
1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* sysdeps/m68k/fpu/bits/mathinline.h: Rename exp2{,l,f} to
__ieee754_exp2{,l,f}.
* sysdeps/m68k/fpu/s_exp2.c: Likewise.
* sysdeps/m68k/fpu/s_exp2l.c: Likewise.
* sysdeps/m68k/fpu/s_exp2f.c: Likewise.
1997-09-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elf/soinit.c (__EH_FRAME_BEGIN__): Don't make the .eh_frame
section read-only, it contains relocations.
* elf/sofini.c (__FRAME_END__): Likewise.
1997-09-29 03:08 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/i386/i486/bits/string.h [__PIC__] (__strspn_cg, __strcspn_cg,
__strpbrk_cg, __strstr_cg): Optimize even more. No spill register
needed. Patch by NIIBE Yutaka <gniibe@mri.co.jp>.
1997-09-28 08:27 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
* nis/nis_call.c (__do_niscall2): Fix return code, add missing
break in switch case.
* nis/nis_mkdir.c: Fix return codes to match Solaris version.
* nis/nis_rmdir.c: Likewise.
* nis/rpcsvc/yp_prot.h: Rename struct keydat to struct keydat_t
for C++.
1997-09-28 04:32 Ulrich Drepper <drepper@cygnus.com>
* configure.in: Fix typo.
Patch by Zack Weinberg <zack@rabi.phys.columbia.edu>.
1997-09-25 20:14 Philip Blundell <Philip.Blundell@pobox.com>
* sysdeps/unix/sysv/linux/scsi/sg.h: New file.
* sysdeps/unix/sysv/linux/Makefile: Install <scsi/sg.h>.
1997-09-30 17:10:40 +00:00
|
|
|
|
|
|
|
|
|
Version 2.0.5
|
|
|
|
|
|
|
|
|
|
* more bug fixes
|
|
|
|
|
|
|
|
|
|
* inet_ntoa is thread-safe
|
|
|
|
|
|
|
|
|
|
* updwtmp is moved from libutil to libc
|
|
|
|
|
|
|
|
|
|
* rewrite of cbrt function
|
|
|
|
|
|
|
|
|
|
* update of timezone data
|
|
|
|
|
|
|
|
|
|
Version 2.0.4
|
|
|
|
|
|
|
|
|
|
* more bug fixes
|
|
|
|
|
|
|
|
|
|
Version 2.0.3
|
|
|
|
|
|
|
|
|
|
* more bug fixes
|
1997-02-15 04:31:36 +00:00
|
|
|
|
|
1997-02-13 05:10:35 +00:00
|
|
|
|
Version 2.0.2
|
|
|
|
|
|
|
|
|
|
* more bug fixes
|
|
|
|
|
|
|
|
|
|
* add atoll function
|
|
|
|
|
|
|
|
|
|
* fix complex problems in Berkeley DB code
|
Update.
1997-03-19 01:40 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/sco3.2.4/Dist: New file.
* sysdeps/unix/sysv/sysv4/Dist: Add __getpgid.c and __setpgid.c.
* sysdeps/unix/bsd/Dist: Add bsdstat.h, setrgid.c, and setruid.c.
* sysdeps/unix/sysv/Dist: Add direct.h.
* sysdeps/unix/sysv/linux/Dist: Add netinet/tcp.h.
* Make-dist ($(tardir).tar): Prefer writing temporary file to
$TMPDIR is available. The default is /tmp.
* sysdeps/generic/ip.h: Move to...
* sysdeps/generic/netinet/ip.h: ...here.
* Makefile (tests): Quote $(CC) argument to isomac program.
Patch by H.J. Lu <hjl@gnu.ai.mit.edu>.
* sysdeps/i386/setjmp.S (__setjmp): Fix fatal bug where 0 argument
is placed in wrong place on the stack.
Reported by Marc Lehmann <mlehmann@hildesheim.sgh-net.de>.
* sysdeps/tst-setjmp.c: Add new test for above problem.
* sysdeps/libm-i387/e_pow.S: Compute PIC addres early.
* sysdeps/libm-i387/e_powf.S: Likewise.
* sysdeps/libm-i387/e_powl.S: Likewise.
1997-03-18 23:18 Ulrich Drepper <drepper@cygnus.com>
* time/offtime.c (__offtime): Change type of `yg' to long int.
Reported by a sun <asun@zoology.washington.edu>.
1997-03-18 23:08 a sun <asun@zoology.washington.edu>
* sysdeps/unix/sysv/linux/net/if_ppp.h (PPP_VERSION): Define to
2.2.0 to prevent version mismatch.
1997-03-17 19:26 Andreas Jaeger <aj@arthur.pfalz.de>
* stdio-common/printf_fphex.c (MIN): Only define MIN if not
already defined.
1997-03-14 23:34 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Leave ioctl numbers
in ioctls.h.
* elf/rtld.c (_dl_start): Call elf_machine_runtime_setup when the
loader first relocates itself.
* sysdeps/powerpc/elf/start.c (__start1): Fix bug for static objects.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Fix bugs in
jump slot relocation. Prefer relative branches (some PowerPC chips
don't predict absolute branches).
(elf_machine_runtime_setup): Simplify and correct expressions.
(RTLD_START): Fix bug changing _dl_starting_up.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Added. Deal with
strange Linux/PPC padding of initial stack.
1997-03-11 04:14 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/unix/sysv/linux/powerpc/termbits.h: Increase NCCS to 39,
for future expansion.
* sysdeps/unix/sysv/linux/powerpc/sys/kernel_termios.h: Added.
* sysdeps/powerpc/dl-machine.h (elf_machine_rela): Explain why it
can't have a switch statement.
* sysdeps/powerpc/elf/start.c (__start1): Explain why it can't be
static.
* sysdeps/powerpc/elf/start.c (_start): Use .previous to avoid
confusing gcc's idea of the current section.
* sysdeps/powerpc/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE,
RTLD_START): Likewise.
1997-03-08 09:10 Geoff Keating <geoffk@ozemail.com.au>
* sysdeps/powerpc/dl-machine.h (elf_machine_rela,
elf_machine_runtime_setup): Flush data & instruction caches when
necessary, for 603/604 support. Add better support for large PLTs.
(elf_machine_rela): Remove relocations that wouldn't work if
anyone ever used them. Use memcpy for copy reloc, it'll be safe.
Never target branch relocations at a PLT entry.
* sysdeps/powerpc/bsd-setjmp.S: Make jump to PLT entry if we are
generating PIC.
* sysdeps/powerpc/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/clone.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/socket.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/syscall.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/sysdep.h: Likewise.
* sysdeps/powerpc/elf/start.c: Clean up.
* sysdeps/powerpc/__longjmp.S: Return 'value' as result from
setjmp call.
* sysdeps/unix/sysv/linux/powerpc/statbuf.h: New file.
1997-03-09 12:36 H.J. Lu <hjl@gnu.ai.mit.edu>
* Make-dist (srcs): Add $(test-srcs).
* MakeTAGS (all-sources): Likewise.
* Makerules (depfiles, common-mostlyclean): Likewise.
* Rules (tests): Likewise.
1997-03-18 05:28 Roland McGrath <roland@frob.com>
* elf/dl-reloc.c (RESOLVE): Don't try to resolve ocal symbols.
1997-03-17 21:39 Philip Blundell <phil@london.uk.eu.org>
* nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Allow
protocol=NULL to match any protocol rather than returning an
error.
1997-03-17 19:00 Philip Blundell <phil@london.uk.eu.org>
* nss/nss_files/files-service.c (servbyname): Match any protocol
if proto==NULL.
1997-03-18 05:17 Ulrich Drepper <drepper@cygnus.com>
* sysdeps/unix/sysv/linux/alpha/fcntlbits.h: Don't define O_NORW.
* sysdeps/unix/sysv/linux/fcntlbits.h: Likewise.
Proposed by Thomas Bushnell, n/BSG.
1997-03-18 07:53 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/generic/setenv.c (setenv): Don't copy name when we reuse
the buffer for replacement.
1997-03-16 19:30 H.J. Lu <hjl@gnu.ai.mit.edu>
* sysdeps/unix/sysv/linux/syscalls.list: Add sys_fstat,
sys_lstat and sys_stat.
1997-03-17 12:43 Thorsten Kukuk <kukuk@vt.uni-paderborn.de>
Add NIS+ functions
* shlib-versions: Add libnss_nisplus.
* nis/Makefile: Add NIS+ source files.
* nis/nis_call.c: New file.
* nis/nis_clone.c: New file.
* nis/nis_error.c: New file.
* nis/nis_file.c: New file.
* nis/nis_free.c: New file.
* nis/nis_intern.c: New file.
* nis/nis_intern.h: New file.
* nis/nis_local_names.c: New file.
* nis/nis_names.c: New file.
* nis/nis_print.c: New file.
* nis/nis_server.c: New file.
* nis/nis_subr.c: New file.
* nis/nis_table.c: New file.
* nis/nis_xdr.c: New file.
* nis/nss-nisplus.h: New file.
* nis/nss_nisplus/nisplus-alias.c: New file.
* nis/nss_nisplus/nisplus-ethers.c: New file.
* nis/nss_nisplus/nisplus-grp.c: New file.
* nis/nss_nisplus/nisplus-hosts.c: New file.
* nis/nss_nisplus/nisplus-netgrp.c: New file.
* nis/nss_nisplus/nisplus-network.c: New file.
* nis/nss_nisplus/nisplus-proto.c: New file.
* nis/nss_nisplus/nisplus-publickey.c: New file.
* nis/nss_nisplus/nisplus-pwd.c: New file.
* nis/nss_nisplus/nisplus-rpc.c: New file.
* nis/nss_nisplus/nisplus-service.c: New file.
* nis/nss_nisplus/nisplus-spwd.c: New file.
* nis/rpcsvc/nis.h: New file.
* nis/rpcsvc/nis.x: New file.
* nis/rpcsvc/nis_object.x: New file.
* nis/rpcsvc/nis_tags.h: New file.
* nis/rpcsvc/nislib.h: New file.
1997-03-17 12:52 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* mach/devstream.c (output/write_some): Don't try and write more
than IO_INBAND_MAX in a single call to device_write_inband.
* sysdeps/libm-ieee754/w_atan2.c: Don't ignore exception if library
* sysdeps/libm-ieee754/w_atan2f.c: Likewise.
* sysdeps/libm-ieee754/w_atan2l.c: Likewise.
* sysdeps/unix/sysv/linux/sys/mman.h (msync): Add description for
* stdlib/atoll.c: Undefine atoll, not atol.
1997-03-19 05:47:56 +00:00
|
|
|
|
|
|
|
|
|
* fix math functions
|
1997-02-13 05:10:35 +00:00
|
|
|
|
|
|
|
|
|
Version 2.0.1
|
|
|
|
|
|
|
|
|
|
* fixed lots of header problems (especially Linux/GNU specific)
|
|
|
|
|
|
|
|
|
|
* dynamic loader preserves all registers
|
|
|
|
|
|
|
|
|
|
* Roland McGrath provided support for handling of auxiliary objects in
|
|
|
|
|
the ELF dynamic loader.
|
|
|
|
|
|
|
|
|
|
* support for parallel builds is improved
|
|
|
|
|
|
1996-06-22 21:14:17 +00:00
|
|
|
|
Version 2.0
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
1996-03-19 21:59:41 +00:00
|
|
|
|
* GNU extensions are no longer declared by default. To enable them you
|
|
|
|
|
must define the macro `_GNU_SOURCE' in your program or compile with
|
|
|
|
|
`-D_GNU_SOURCE'.
|
|
|
|
|
|
1995-02-18 01:27:10 +00:00
|
|
|
|
* The library has changed from using GNU ld symbol aliases to using weak
|
|
|
|
|
symbols where available. The ELF object file format supports weak
|
|
|
|
|
symbols; GNU ld also supports weak symbols in the a.out format. (There
|
|
|
|
|
is also now support for other GNU ld extensions in ELF. Use the
|
1995-02-21 06:17:59 +00:00
|
|
|
|
`--with-elf' option to configure to indicate you have ELF, and
|
|
|
|
|
`--with-gnu-ld' if using GNU ld.) This change resulted in the deletion
|
1995-02-18 01:27:10 +00:00
|
|
|
|
of many files which contained only symbol aliases, reducing the size of
|
|
|
|
|
the source and the compiled library; many other files were renamed to
|
|
|
|
|
less cryptic names previously occupied by the symbol alias files.
|
1996-08-26 10:28:45 +00:00
|
|
|
|
There is a new header file <elf.h> for programs which operate on
|
|
|
|
|
files in the ELF format.
|
1995-03-21 07:58:50 +00:00
|
|
|
|
|
|
|
|
|
* Converted to Autoconf version 2, so `configure' has more options.
|
|
|
|
|
Run `configure --help' to see the details.
|
|
|
|
|
|
|
|
|
|
* The library can now be configured to build profiling, highly-optimized
|
1995-08-07 21:45:04 +00:00
|
|
|
|
(but undebuggable), and/or shared libraries (ELF with GNU ld only). The
|
|
|
|
|
`--enable-profile', `--enable-omitfp', and `--enable-shared' options to
|
|
|
|
|
`configure' enable building these extra libraries. The shared library is
|
|
|
|
|
built by default when using both ELF and GNU ld. When shared libraries
|
|
|
|
|
are enabled, the new library `-ldl' is available for arbitrary run-time
|
|
|
|
|
loading of shared objects; its interface is defined in <dlfcn.h>. The
|
|
|
|
|
new header file <link.h> gives access to the internals of the run-time
|
1997-01-26 05:33:35 +00:00
|
|
|
|
dynamic linker, `ld.so'. The shell script `ldd' is similar to the
|
|
|
|
|
application of same name on other systems and it provides information
|
|
|
|
|
about dynamically linked binaries.
|
1995-03-21 07:58:50 +00:00
|
|
|
|
|
1996-01-02 08:57:42 +00:00
|
|
|
|
* The C library now provides the run-time support code for profiling
|
|
|
|
|
executables compiled with `-pg'. Programs can control the profiling code
|
1996-03-19 21:59:41 +00:00
|
|
|
|
through the interface in <sys/gmon.h>. The `gmon.out' files written by
|
|
|
|
|
the GNU C library can be read only by GNU `gprof' (from GNU binutils);
|
|
|
|
|
the support for this file format was contributed by David Mosberger-Tang.
|
1996-01-02 08:57:42 +00:00
|
|
|
|
|
1996-03-05 21:41:30 +00:00
|
|
|
|
* The math code has been replaced with a math library based on fdlibm from
|
1997-01-26 05:33:35 +00:00
|
|
|
|
Sun, and modified by JT Conklin and Ulrich Drepper with i387 support, by
|
|
|
|
|
Ian Taylor with `float' functions and by Ulrich Drepper with `long double'
|
|
|
|
|
functions. The math functions now reside in a separate library, so
|
|
|
|
|
programs using them will need to use `-lm' their linking commands.
|
|
|
|
|
|
|
|
|
|
* John C. Bowman contributed optimized ix87 assembler inline functions.
|
1996-03-05 21:41:30 +00:00
|
|
|
|
|
Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
* malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
* malloc/malloc-size.c: New file.
* malloc/malloc-walk.c: New file.
* malloc/malloc-find.c (malloc_find_object_address): Return null if
PTR is outside the heap.
* elf/dl-load.c (_dl_map_object): If the requested name matches the
soname of a loaded object, use that object.
Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* Makefile (subdirs): Add nss.
* inet/Makefile (routines): Add getrpcent, getrpcbyname,
getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
* inet/getrpcbynumber_r.c: New file.
* inet/getrpcbynumber.c: New file.
* inet/getrpcbyname.c: New file.
* inet/getrpcbyname_r.c: New file.
* inet/getrpcent_r.c: New file.
* inet/getrpcent.c: New file.
* nss/rpc-lookup.c: New file.
* nss/nss_files/files-rpc.c: New file.
* nss/Makefile (routines): Add rpc-lookup.
(libnss_files-routines): Add files-rpc.
* sunrpc/Makefile (routines): Remove getrpcent.
* sunrpc/getrpcent.c: File removed.
* nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
non-null on entry.
* Makeconfig (rpath-link): Add $(nssobjdir).
(nssobjdir): New variable.
* Makerules: Move shared library building before objects rules, so
versions are known before extra-lib.mk gets included.
* extra-lib.mk (lib-noranlib): Depend on the shared object too.
* pwd/getpwuid.c: Rewritten using nss.
* pwd/getpwnam.c: Likewise.
* pwd/getpwent.c: Likewise.
* grp/getgrnam.c: Likewise.
* grp/getgrgid.c: Likewise.
* grp/getgrent.c: Likewise.
* pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
* pwd/getpwent_r.c: New file.
* pwd/getpwnam_r.c: New file.
* pwd/getpwuid_r.c: New file.
* grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
* grp/getgrnam_r.c: New file.
* grp/getgrgid_r.c: New file.
* grp/getgrent_r.c: New file.
* grp/Makefile (routines): Remove grpopen, grpread.
* pwd/Makefile (routines): Remove pwdopen, pwdread.
* grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
* pwd/fgetpwent.c: Rewritten using files-parse.c.
* grp/fgetgrent.c: Likewise.
* nss/Makefile (routines): Add grp-lookup and pwd-lookup.
* nss/pwd-lookup.c, nss/grp-lookup.c: New files.
* nss/nss_files/files-grp.c: New file.
* nss/nss_files/files-pwd.c: New file.
* nss/Makefile (subdir-dirs): New variable; use it in vpath.
* nss/nss_files/files-parse.c: New file.
* nss/nss_files/files-XXX.c: New file.
* nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
nss/nss_files/files-service.c, nss/nss_files/files-network.c:
Rewritten using them.
* nss/Makefile (libnss_files-routines): Remove files-host.
Add files-hosts, files-grp, files-pwd.
* nss/nss_dns/dns-network.c: Don't include <pthread.h>.
Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
* sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
A .plt entry now loads the .rela.plt offset directly rather
than making us calculate it.
Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* time/Makefile ($(installed-localtime-file) rule): Do
$(make-target-directory) first.
* resolv.h: Fix wrapper for resolv/resolv.h.
* configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
Compile dummy file and pass -nostdlib -nostartfiles so as not to
require installed libraries.
* shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
libnss_dns=1.
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
* inet/herrno.c: New file.
* resolv/res_init.c: Remove res_hconf calls.
* nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
nss/service-lookup.c: New files. Implementation of name
service switch, following the approach in Solaris.
Interface specification and general structure inspired by Peter
Eriksson <pen@lysator.liu.se>.
* nss/nss_files/files-host.c, nss/nss_files/files-network.c,
nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
Implementation of libnss_files.so module for file based databases
in NSS service.
* nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
if libnss_dns.so module for DNS name lookup in NSS service.
* inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
Changed to serve as interface to NSS.
* inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
interfaces to NSS, including reentrant functions.
* resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
resolv/sethostent.c: Removed: Obsoleted by NSS.
* resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
gethnamaddr.c. These private functions are now used in more
than one file.
* resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* rpm/Makefile ($(config)): Make sure the word list in the for
loop is syntactically non-empty.
1996-06-25 08:56:57 +00:00
|
|
|
|
* Ulrich Drepper has contributed support for an `/etc/nsswitch.conf'
|
|
|
|
|
mechanism similar to that found in Solaris 2. This is now used for the
|
1997-01-26 05:33:35 +00:00
|
|
|
|
group, passwd, hosts, networks, services, protocols, rpc, ethers,
|
|
|
|
|
shadow, netgroup, publickey, and alias databases. The `nsswitch.conf'
|
|
|
|
|
file controls what services are used for each individual database. This
|
|
|
|
|
works by loading shared libraries with names specified in `nsswitch.conf',
|
|
|
|
|
so service modules can be changed or added at any time without even
|
|
|
|
|
relinking any program. Currently there are the file, db, and NIS based
|
|
|
|
|
NSS services available.
|
Tue Jun 25 02:59:11 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* malloc/malloc.h: Declare malloc_object_allocated_size, malloc_walk.
* malloc/Makefile (dist-routines): Add malloc-size, malloc-walk.
* malloc/malloc-size.c: New file.
* malloc/malloc-walk.c: New file.
* malloc/malloc-find.c (malloc_find_object_address): Return null if
PTR is outside the heap.
* elf/dl-load.c (_dl_map_object): If the requested name matches the
soname of a loaded object, use that object.
Mon Jun 24 19:57:01 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* Makefile (subdirs): Add nss.
* inet/Makefile (routines): Add getrpcent, getrpcbyname,
getrpcbynumber, getrpcent_r, getrpcbyname_r, getrpcbynumber_r.
* inet/getrpcbynumber_r.c: New file.
* inet/getrpcbynumber.c: New file.
* inet/getrpcbyname.c: New file.
* inet/getrpcbyname_r.c: New file.
* inet/getrpcent_r.c: New file.
* inet/getrpcent.c: New file.
* nss/rpc-lookup.c: New file.
* nss/nss_files/files-rpc.c: New file.
* nss/Makefile (routines): Add rpc-lookup.
(libnss_files-routines): Add files-rpc.
* sunrpc/Makefile (routines): Remove getrpcent.
* sunrpc/getrpcent.c: File removed.
* nss/getXXent_r.c (REENTRANT_GETNAME): Clear NO_MORE when NIP is
non-null on entry.
* Makeconfig (rpath-link): Add $(nssobjdir).
(nssobjdir): New variable.
* Makerules: Move shared library building before objects rules, so
versions are known before extra-lib.mk gets included.
* extra-lib.mk (lib-noranlib): Depend on the shared object too.
* pwd/getpwuid.c: Rewritten using nss.
* pwd/getpwnam.c: Likewise.
* pwd/getpwent.c: Likewise.
* grp/getgrnam.c: Likewise.
* grp/getgrgid.c: Likewise.
* grp/getgrent.c: Likewise.
* pwd/Makefile (routines): Add getpwent_r, getpwnam_r, getpwuid_r.
* pwd/getpwent_r.c: New file.
* pwd/getpwnam_r.c: New file.
* pwd/getpwuid_r.c: New file.
* grp/Makefile (routines): Add getgrent_r, getgrgid_r, getgrnam_r.
* grp/getgrnam_r.c: New file.
* grp/getgrgid_r.c: New file.
* grp/getgrent_r.c: New file.
* grp/Makefile (routines): Remove grpopen, grpread.
* pwd/Makefile (routines): Remove pwdopen, pwdread.
* grp/grpopen.c, grp/grpread.c, pwd/pwdopen.c, pwd/pwdread.c: Removed.
* pwd/fgetpwent.c: Rewritten using files-parse.c.
* grp/fgetgrent.c: Likewise.
* nss/Makefile (routines): Add grp-lookup and pwd-lookup.
* nss/pwd-lookup.c, nss/grp-lookup.c: New files.
* nss/nss_files/files-grp.c: New file.
* nss/nss_files/files-pwd.c: New file.
* nss/Makefile (subdir-dirs): New variable; use it in vpath.
* nss/nss_files/files-parse.c: New file.
* nss/nss_files/files-XXX.c: New file.
* nss/nss_files/files-hosts.c, nss/nss_files/files-proto.c,
nss/nss_files/files-service.c, nss/nss_files/files-network.c:
Rewritten using them.
* nss/Makefile (libnss_files-routines): Remove files-host.
Add files-hosts, files-grp, files-pwd.
* nss/nss_dns/dns-network.c: Don't include <pthread.h>.
Mon Jun 24 22:39:12 1996 Richard Henderson <rth@tamu.edu>
* sysdeps/alpha/dl-machine.h (ELF_MACHINE_RUNTIME_TRAMPOLINE):
A .plt entry now loads the .rela.plt offset directly rather
than making us calculate it.
Sun Jun 23 15:24:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* time/Makefile ($(installed-localtime-file) rule): Do
$(make-target-directory) first.
* resolv.h: Fix wrapper for resolv/resolv.h.
* configure.in (ld --no-whole-archive check): Use AC_TRY_COMMAND.
Compile dummy file and pass -nostdlib -nostartfiles so as not to
require installed libraries.
* shlib-versions (*-*-*): Set libresolv=2, libnss_files=1,
libnss_dns=1.
Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
* resolv/netdb.h (_PATH_NSSWITCH_CONF): New macro.
* inet/herrno.c: New file.
* resolv/res_init.c: Remove res_hconf calls.
* nss/Makefile, nss/XXX-lookup.c, nss/file-lookup.c,
nss/getXXbyYY.c, nss/getXXbyYY_r.c, nss/getXXent.c,
nss/getXXent_r.c, nss/host-lookup.c, nss/network-lookup.c,
nss/nsswitch.c, nss/nsswitch.h, nss/proto-lookup.c,
nss/service-lookup.c: New files. Implementation of name
service switch, following the approach in Solaris.
Interface specification and general structure inspired by Peter
Eriksson <pen@lysator.liu.se>.
* nss/nss_files/files-host.c, nss/nss_files/files-network.c,
nss/nss_files/files-proto.c, nss/nss_files/files-service.c:
Implementation of libnss_files.so module for file based databases
in NSS service.
* nss/nss_dns/dns-host.c, nss/nss_dns/dns-network.c: Implementation
if libnss_dns.so module for DNS name lookup in NSS service.
* inet/getproto.c, inet/getprtent.c, inet/getprtname.c,
inet/getservent.c, inet/getsrvbynm.c, inet/getsrvbypt.c:
Changed to serve as interface to NSS.
* inet/gethstbyad.c, inet/gethstbyad_r.c, inet/gethstbynm.c,
inet/gethstbynm2.c, inet/gethstbynm2_r.c, inet/gethstbynm_r.c,
inet/gethstent.c, inet/gethstent_r.c, inet/getnetbynm.c,
inet/getnetbynm_r.c, inet/getnetbypt.c, inet/getnetbypt_r.c,
inet/getnetent.c, inet/getnetent_r.c, inet/getproto_r.c,
inet/getprtent_r.c, inet/getprtname_r.c, inet/getservent_r.c,
inet/getsrvbynm_r.c, inet/getsrvbypt_r.c: New files. Implement
interfaces to NSS, including reentrant functions.
* resolv/getnetbyaddr.c, resolv/getnetbyname.c, resolv/getnetent.c,
resolv/sethostent.c: Removed: Obsoleted by NSS.
* resolv/mapv4v6addr.h, resolv/mapv4v6hostent.h: Extracted from
gethnamaddr.c. These private functions are now used in more
than one file.
* resolv/inet_pton.c, resolv/gethnamaddr.c: Updated to bind-4.9.4-T5B.
Sat Jun 22 16:49:47 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* rpm/Makefile ($(config)): Make sure the word list in the for
loop is syntactically non-empty.
1996-06-25 08:56:57 +00:00
|
|
|
|
|
1995-03-21 07:58:50 +00:00
|
|
|
|
* The new functions `strtoq' and `strtouq' parse integer values from
|
|
|
|
|
strings, like `strtol' and `strtoul', but they return `long long int' and
|
|
|
|
|
`unsigned long long int' values, respectively (64-bit quantities).
|
|
|
|
|
|
|
|
|
|
* The new functions `strtof' and `strtold' parse floating-point values from
|
|
|
|
|
strings, like `strtod', but they return `float' and `long double' values,
|
|
|
|
|
respectively (on some machines `double' and `long double' are the same).
|
|
|
|
|
|
|
|
|
|
* Ulrich Drepper has contributed new implementations of the floating-point
|
|
|
|
|
printing and reading code used in the `printf' family of functions and
|
|
|
|
|
`strtod', `strtof', and `strtold'. These new functions are perfectly
|
|
|
|
|
accurate, and much faster than the old ones.
|
|
|
|
|
|
1997-01-26 05:33:35 +00:00
|
|
|
|
* The implementation of the POSIX locale model was completely rewritten by
|
|
|
|
|
Ulrich Drepper. This includes the new programs `localedef' and `locale'
|
|
|
|
|
to compile the POSIX locale definition.
|
|
|
|
|
|
|
|
|
|
* The former dummy implementations of the strcoll and strxfrm function are
|
|
|
|
|
now replaced by fully functional code contributed by Ulrich Drepper. The
|
|
|
|
|
collation information comes from the POSIX locale definitions.
|
|
|
|
|
|
1995-03-21 07:58:50 +00:00
|
|
|
|
* The new header <langinfo.h> defines an interface for accessing
|
|
|
|
|
various locale-dependent data (using the locale chosen with `setlocale').
|
|
|
|
|
|
1996-03-05 21:41:30 +00:00
|
|
|
|
* Ulrich Drepper has contributed a new suite of functions for operation on
|
1997-01-26 05:33:35 +00:00
|
|
|
|
wide-character and multibyte-character strings, in <wchar.h>;
|
1996-03-29 01:04:20 +00:00
|
|
|
|
and classification and case conversion of wide characters, in <wctype.h>.
|
1997-01-26 05:33:35 +00:00
|
|
|
|
These new functions are conforming to the ISO C, Amendement 1 specification.
|
|
|
|
|
|
|
|
|
|
* There is now a second implementation of the standard I/O library available.
|
|
|
|
|
It comes from GNU libg++ as was written by Per Bothner, heavily modified
|
|
|
|
|
by Hongjiu Lu and made thread safe by Ulrich Drepper.
|
1996-03-05 21:41:30 +00:00
|
|
|
|
|
1996-01-02 08:57:42 +00:00
|
|
|
|
* You can now use positional parameter specifications in format strings
|
1995-03-21 07:58:50 +00:00
|
|
|
|
for the `printf' and `scanf' families of functions. For example,
|
|
|
|
|
`printf ("Number %2$d, Mr %1$s\n", "Jones", 6);'' prints
|
|
|
|
|
``Number 6, Mr Jones''. This is mainly useful when providing different
|
1995-03-24 07:59:23 +00:00
|
|
|
|
format strings for different languages, whose grammars may dictate
|
|
|
|
|
different orderings of the values being printed. To support this
|
1995-03-21 07:58:50 +00:00
|
|
|
|
feature, the interface for `register_printf_handler' has changed; see
|
1995-03-24 07:59:23 +00:00
|
|
|
|
the header file <printf.h> for details.
|
1995-03-21 07:58:50 +00:00
|
|
|
|
|
|
|
|
|
* The `printf' and `scanf' families of functions now understand a new
|
|
|
|
|
formatting flag for numeric conversions: the ' flag (e.g. %'d or %'f) says
|
|
|
|
|
to group numbers as indicated by the locale; for `scanf' and friends, this
|
|
|
|
|
says to accept as valid only a number with all the proper grouping
|
|
|
|
|
separators in the right places. In the default "C" locale, numbers are
|
|
|
|
|
not grouped; but locales for specific countries will define the usual
|
|
|
|
|
conventions (i.e. separate thousands with `,' in the US locale).
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
|
|
* The pgrp functions have been regularized, slightly incompatibly but much
|
|
|
|
|
less confusingly. The core functions are now `getpgid' and `setpgid',
|
|
|
|
|
which take arguments for the PID to operate on; the POSIX.1 `getpgrp' (no
|
|
|
|
|
argument) and BSD `setpgrp' (identical to `setpgid') functions are
|
|
|
|
|
provided for compatibility. There is no longer an incompatible `getpgrp'
|
|
|
|
|
with an argument declared under _BSD_SOURCE; no BSD code uses it.
|
|
|
|
|
|
|
|
|
|
* The new header file <fts.h> and suite of functions simplify programs that
|
|
|
|
|
operate on directory trees. This code comes from 4.4 BSD.
|
|
|
|
|
|
1997-01-26 05:33:35 +00:00
|
|
|
|
* The resolver code has been updated from the BIND 4.9.5-P1 release.
|
|
|
|
|
Parts of the code were heavily modified by Ulrich Drepper to fit in the
|
|
|
|
|
NSS scheme used in glibc.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
|
|
* There is a new malloc debugging hook `__memalign_hook'.
|
|
|
|
|
|
|
|
|
|
* There are new typedefs `ushort' for `unsigned short int' and `uint' for
|
|
|
|
|
`unsigned int' in <sys/types.h>. These are for compatibility only and
|
|
|
|
|
their use is discouraged.
|
|
|
|
|
|
|
|
|
|
* The `-lmcheck' library to enable standard malloc debugging hooks is now
|
|
|
|
|
done differently, so that it works even without GNU ld.
|
1995-02-21 06:17:59 +00:00
|
|
|
|
|
1995-02-25 01:23:32 +00:00
|
|
|
|
* New function `euidaccess' checks allowed access to a file like `access',
|
|
|
|
|
but using the effective IDs instead of the real IDs.
|
1995-03-21 07:58:50 +00:00
|
|
|
|
|
|
|
|
|
* The time zone data files have been updated for the latest and greatest
|
|
|
|
|
local time conventions of the countries of the world.
|
|
|
|
|
|
|
|
|
|
* The new function `dirfd' extracts the file descriptor used by a DIR stream;
|
|
|
|
|
see <dirent.h>.
|
|
|
|
|
|
|
|
|
|
* The new functions `ecvt', `fcvt', and `gcvt' provide an obsolete interface
|
|
|
|
|
for formatting floating-point numbers. They are provided only for
|
1997-01-26 05:33:35 +00:00
|
|
|
|
compatibility; new programs should use `sprintf' instead. There are
|
|
|
|
|
also equivalent function for the `long double' floating-point type and
|
|
|
|
|
all functions also exist in a reentrant form.
|
1995-03-27 10:24:00 +00:00
|
|
|
|
|
|
|
|
|
* The new auxiliary library `-lutil' from 4.4 BSD contains various
|
|
|
|
|
functions for maintaining the login-record files (primarily of use to
|
|
|
|
|
system programs such as `login'), and convenient functions for
|
|
|
|
|
allocating and initializing a pseudo-terminal (pty) device.
|
1995-09-27 02:50:10 +00:00
|
|
|
|
|
|
|
|
|
* Ulrich Drepper has contributed new support for System V style
|
|
|
|
|
shared memory and IPC on systems that support it.
|
|
|
|
|
|
|
|
|
|
* Ulrich Drepper has contributed several miscellaneous new functions found
|
|
|
|
|
in System V: The `hsearch' family of functions provide an effective
|
|
|
|
|
implementation of hash tables; `a64l' and `l64a' provide a very simple
|
|
|
|
|
binary to ASCII mapping; `drand48' and friends provide a 48-bit random
|
|
|
|
|
number generator.
|
|
|
|
|
|
|
|
|
|
* Ulrich Drepper has contributed new reentrant counterparts for the
|
|
|
|
|
`random' and `hsearch' families of functions; `random_r', `hsearch_r', etc.
|
|
|
|
|
|
|
|
|
|
* Ulrich Drepper has contributed new, highly-optimized versions of several
|
|
|
|
|
string functions for the i486/Pentium family of processors.
|
|
|
|
|
|
1996-01-02 08:57:42 +00:00
|
|
|
|
* Ulrich Drepper has updated the Linux-specific code, based largely
|
1995-09-27 02:50:10 +00:00
|
|
|
|
on work done in Hongjiu Lu's version of GNU libc for Linux.
|
1997-01-26 05:33:35 +00:00
|
|
|
|
The GNU library now supports Linux versions 2.0.10 and later,
|
|
|
|
|
using the ELF object file format (i[3456]86-*-linux).
|
1995-09-27 02:50:10 +00:00
|
|
|
|
|
1996-03-19 21:59:41 +00:00
|
|
|
|
* Andreas Schwab has ported the C library to Linux/m68k (m68k-*-linux).
|
|
|
|
|
|
1997-01-26 05:33:35 +00:00
|
|
|
|
* David Mosberger-Tang and Richard Henderson have ported the C library
|
|
|
|
|
to Linux/Alpha (alpha-*-linux). Richard Henderson contributed the
|
|
|
|
|
dynamic linking support for ELF/Alpha.
|
|
|
|
|
|
|
|
|
|
* Richard Henderson contributed several Alpha optimized assembler function
|
|
|
|
|
for arithmetic and string handling.
|
1996-03-19 21:59:41 +00:00
|
|
|
|
|
1995-09-27 02:50:10 +00:00
|
|
|
|
* Ulrich Drepper has contributed a new set of message catalog functions to
|
1996-06-22 21:14:17 +00:00
|
|
|
|
support multiple languages using the <libintl.h> interface, for use with
|
|
|
|
|
his new package GNU gettext. Translation volunteers have contributed
|
|
|
|
|
catalogs of the library's messages in Spanish, German, and Korean.
|
|
|
|
|
|
|
|
|
|
* For compatibility with XPG4, Ulrich Drepper has contributed the `gencat'
|
|
|
|
|
program and the `catgets' function for reading the catalog files it
|
|
|
|
|
creates. (The <libintl.h> interface is preferred; we include the
|
|
|
|
|
<nl_types.h> interface using `catgets' only for source compatibility with
|
|
|
|
|
programs already written to use it.)
|
1996-01-02 08:57:42 +00:00
|
|
|
|
|
|
|
|
|
* New header file <values.h> gives SVID-compatible names for <limits.h>
|
|
|
|
|
constants.
|
|
|
|
|
|
|
|
|
|
* Various new macros, declarations, and small header files for compatibility
|
|
|
|
|
with 4.4 BSD.
|
|
|
|
|
|
|
|
|
|
* New function `group_member' is a convenient way to check if a process has
|
|
|
|
|
a given effective group ID.
|
|
|
|
|
|
|
|
|
|
* When using GCC 2.7 and later, the socket functions are now declared in a
|
|
|
|
|
special way so that passing an argument of type `struct sockaddr_in *',
|
|
|
|
|
`struct sockaddr_ns *', or `struct sockaddr_un *' instead of the generic
|
|
|
|
|
`struct sockaddr *' type, does not generate a type-clash warning.
|
|
|
|
|
|
|
|
|
|
* New function `error' declared in header file <error.h> is a convenient
|
1996-12-20 01:39:50 +00:00
|
|
|
|
function for printing error messages and optionally exiting; this is the
|
1996-01-02 08:57:42 +00:00
|
|
|
|
canonical function used in GNU programs. The new functions `err', `warn',
|
|
|
|
|
and friends in header file <err.h> are the canonical 4.4 BSD interface for
|
|
|
|
|
doing the same thing.
|
|
|
|
|
|
|
|
|
|
* The <glob.h> interface has several new flags from 4.4 BSD that extend the
|
|
|
|
|
POSIX.2 `glob' function to do ~ and {...} expansion.
|
|
|
|
|
|
|
|
|
|
* New function `unsetenv' complements `setenv' for compatibility with 4.4 BSD.
|
1997-01-26 05:33:35 +00:00
|
|
|
|
`clearenv' which is used in POSIX.9 is also available.
|
1996-01-02 08:57:42 +00:00
|
|
|
|
|
|
|
|
|
* New function `getsid' returns session ID number on systems that support it.
|
|
|
|
|
|
1996-03-05 21:41:30 +00:00
|
|
|
|
* We have incorporated the 4.4 BSD `db' library (version 1.85). New header
|
|
|
|
|
files <db.h> and <mpool.h> provide a rich set of functions for several
|
|
|
|
|
types of simple databases stored in memory and in files, and <ndbm.h> is
|
1996-12-20 01:39:50 +00:00
|
|
|
|
an old `ndbm'-compatible interface using the `db' functions. Link with
|
1996-07-08 17:45:03 +00:00
|
|
|
|
`-ldb' to get these functions.
|
1996-03-05 21:41:30 +00:00
|
|
|
|
|
|
|
|
|
* New macro `strdupa' copies a string like `strdup', but uses local stack
|
|
|
|
|
space from `alloca' instead of dynamic heap space from `malloc'.
|
1996-03-14 11:20:03 +00:00
|
|
|
|
|
|
|
|
|
* New function `strnlen' is like `strlen' but searches only a given maximum
|
1997-01-26 05:33:35 +00:00
|
|
|
|
number of characters for the null terminator. `stpncpy', `strndup' and
|
|
|
|
|
`strndupa' are similar variants for the `stpcpy', `strdup' and `strdupa'
|
|
|
|
|
function.
|
1996-06-22 21:14:17 +00:00
|
|
|
|
|
|
|
|
|
* New function `statfs' in header <sys/statfs.h>.
|
|
|
|
|
|
|
|
|
|
* The new <argz.h> and <envz.h> interfaces contributed by Miles Bader
|
|
|
|
|
provide convenient functions for operating on blocks of null-terminated
|
|
|
|
|
strings.
|
|
|
|
|
|
|
|
|
|
* A new suite of functions in <utmp.h> handle all the details of reading
|
|
|
|
|
and writing the utmp file.
|
1997-01-26 05:33:35 +00:00
|
|
|
|
|
|
|
|
|
* An implementation of the NIS/YP(tm) based NSS service was contributed by
|
|
|
|
|
Thorsten Kukuk.
|
|
|
|
|
|
|
|
|
|
* Paul Eggert and Ulrich Drepper modified the `strftime' function to be
|
|
|
|
|
completely POSIX compliant and also implemented the extended functionality
|
|
|
|
|
to handle alternate digit representation and alternate era date formats.
|
|
|
|
|
|
|
|
|
|
* Ulrich Drepper provided an implementation of the `strptime' function
|
|
|
|
|
defined in XPG4.2 which transforms a string into a `struct tm' value.
|
|
|
|
|
|
|
|
|
|
* Paul Eggert provided the tzselect shell script as part of the timezone
|
|
|
|
|
code. The shell script makes it easy to select the correct timezone
|
|
|
|
|
specification.
|
|
|
|
|
|
|
|
|
|
* The implementation of the malloc family of functions is completely replaced
|
|
|
|
|
by a new implementation by Doug Lea with many improvements by Wolfram Gloger.
|
|
|
|
|
The implementation uses the mmap function (if available) and it is
|
|
|
|
|
optimized for the use in multi threaded programs.
|
|
|
|
|
|
|
|
|
|
* Ulrich Drepper contributed a MD5 "encryption" for the crypt family of
|
|
|
|
|
functions. This new functionality is usable by specifying a special
|
|
|
|
|
salt string and it is compatible with implementation on *BSD systems.
|
|
|
|
|
|
|
|
|
|
* Lots of functions from the XPG4.2 standard were added by Ulrich Drepper:
|
|
|
|
|
`getsubopt' to handle second level command line options, `bsd_signal'
|
|
|
|
|
to access BSD style `signal' functionality, the obsolete `regexp' style
|
|
|
|
|
expression matcher.
|
|
|
|
|
|
|
|
|
|
* the `lchown' function is available on system which support this
|
|
|
|
|
functionality.
|
|
|
|
|
|
|
|
|
|
* The implementation of the shadow password handling function was contributed
|
|
|
|
|
by Ulrich Drepper.
|
|
|
|
|
|
|
|
|
|
* David Mosberger-Tang changed the SunRPC implementation to be 64bit safe.
|
|
|
|
|
|
|
|
|
|
* POSIX.1g support was added. The <sys/select.h> header is available,
|
|
|
|
|
`isfdtype' and `pselect' are implemented. Craig Metz contributed an
|
|
|
|
|
implementation of `getaddrinfo'.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
|
|
Version 1.09
|
|
|
|
|
|
|
|
|
|
* For cross-compilation you should now set `BUILD_CC' instead of `HOST_CC'.
|
|
|
|
|
|
|
|
|
|
* New header file <fstab.h> and new functions `getfsspec', `getfsent' and
|
|
|
|
|
friends, for parsing /etc/fstab. This code comes from 4.4 BSD.
|
|
|
|
|
|
|
|
|
|
* The new function `daemon' from 4.4 BSD is useful for server programs that
|
|
|
|
|
want to put themselves in the background.
|
|
|
|
|
|
|
|
|
|
* Joel Sherrill has contributed support for several standalone boards that
|
|
|
|
|
run without an operating system.
|
|
|
|
|
|
|
|
|
|
* `printf', `scanf' and friends now accept a `q' type modifier for long
|
|
|
|
|
long int as well as `ll'. Formats using these might be `%qu' or `%lld'.
|
|
|
|
|
|
|
|
|
|
* All of the code taken from BSD (notably most of the math and networking
|
|
|
|
|
routines) has been updated from the BSD 4.4-Lite release.
|
|
|
|
|
|
|
|
|
|
* The resolver code has been updated from the BIND-4.9.3-BETA9 release.
|
|
|
|
|
|
|
|
|
|
* The new functions `getdomainname' and `setdomainname' fetch or change the
|
|
|
|
|
YP/NIS domain name. These are system calls which exist on systems which
|
|
|
|
|
have YP (aka NIS).
|
|
|
|
|
|
|
|
|
|
* The time zone data files have been updated for the latest international
|
|
|
|
|
conventions.
|
|
|
|
|
|
|
|
|
|
* The SunRPC programs `portmap' and `rpcinfo' are now installed in
|
|
|
|
|
$(sbindir) (usually /usr/local/sbin) instead of $(bindir).
|
|
|
|
|
|
|
|
|
|
Version 1.08
|
|
|
|
|
|
|
|
|
|
* The C library now includes support for Sun RPC, from Sun's free
|
|
|
|
|
RPCSRC-4.0 distribution. The `portmap', `rpcinfo', and `rpcgen' programs
|
|
|
|
|
are included. (There is still no support for YP.)
|
|
|
|
|
|
|
|
|
|
* Tom Quinn has contributed a port of the C library to SGI machines running
|
|
|
|
|
Irix 4 (mips-sgi-irix4).
|
|
|
|
|
|
|
|
|
|
* The new `lockf' function is a simplified interface to the locking
|
|
|
|
|
facilities of `fcntl', included for compatibility.
|
|
|
|
|
|
|
|
|
|
* New time functions `timegm', `timelocal', and `dysize' for compatibility.
|
|
|
|
|
|
|
|
|
|
* New header file <sys/timeb.h> and new function `ftime' for compatibility.
|
|
|
|
|
|
|
|
|
|
* New header files <poll.h> and <sys/poll.h> and new function `poll' for
|
|
|
|
|
compatibility.
|
|
|
|
|
|
|
|
|
|
* The error message printed by `assert' for a failed assertion now includes
|
|
|
|
|
the name of the program (if using GNU ld) and the name of the calling
|
|
|
|
|
function (with versions of GCC that support this).
|
|
|
|
|
|
|
|
|
|
* The `psignal' function is now declared in <signal.h>, not <stdio.h>.
|
|
|
|
|
|
|
|
|
|
* The library now includes the <sys/mman.h> header file and memory
|
|
|
|
|
management functions `mmap', `munmap', `mprotect', `msync', and
|
|
|
|
|
`madvise', on systems that support those facilities.
|
|
|
|
|
|
|
|
|
|
* The interface for `mcheck' has changed slightly: the function called to
|
|
|
|
|
abort the program when an allocation inconsistency is detected now takes
|
|
|
|
|
an argument that indicates the type of failure. The new function
|
|
|
|
|
`mprobe' lets you request a consistency check for a particular block at
|
|
|
|
|
any time (checks are normally done only when you call `free' or `realloc'
|
|
|
|
|
on a block).
|
|
|
|
|
|
|
|
|
|
* It is now possible to easily cross-compile the C library, building on one
|
|
|
|
|
system a library to run on another machine and/or operating system. All
|
|
|
|
|
you need to do is set the variable `HOST_CC' in `configparms' to the
|
|
|
|
|
native compiler for programs to run on the machine you are building on (a
|
|
|
|
|
few generator programs are used on Unix systems); set `CC' to the
|
|
|
|
|
cross-compiler.
|
|
|
|
|
|
|
|
|
|
* The new function `fexecve' (only implemented on the GNU system) executes
|
|
|
|
|
a program file given a file descriptor already open on the file.
|
|
|
|
|
|
|
|
|
|
Version 1.07
|
|
|
|
|
|
|
|
|
|
* Brendan Kehoe has contributed most of a port to the DEC Alpha
|
|
|
|
|
running OSF/1 (alpha-dec-osf1). He says it is 75% complete.
|
|
|
|
|
|
|
|
|
|
* You can set the variable `libprefix' in `configparms' to specify a prefix
|
|
|
|
|
to be prepended to installed library files; this makes it easy to install
|
|
|
|
|
the GNU C library to be linked as `-lgnuc' or whatever.
|
|
|
|
|
|
|
|
|
|
* The new `stpncpy' is a cross between `stpcpy' and `strncpy': It
|
|
|
|
|
copies a limited number of characters from a string, and returns the
|
|
|
|
|
address of the last character written.
|
|
|
|
|
|
|
|
|
|
* You no longer need to check for whether the installed `stddef.h' is
|
|
|
|
|
compatible with the GNU C library. configure now checks for you.
|
|
|
|
|
|
|
|
|
|
* You can now define a per-stream `fileno' function to convert the
|
|
|
|
|
stream's cookie into an integral file descriptor.
|
|
|
|
|
|
|
|
|
|
* ``malloc (0)'' no longer returns a null pointer. Instead, it
|
|
|
|
|
allocates zero bytes of storage, and returns a unique pointer which
|
|
|
|
|
you can pass to `realloc' or `free'. The behavior is undefined if
|
|
|
|
|
you dereference this pointer.
|
|
|
|
|
|
|
|
|
|
* The C library now runs on Sony NEWS m68k machines running either
|
|
|
|
|
NewsOS 3 or NewsOS 4.
|
|
|
|
|
|
|
|
|
|
* The new `syscall' function is a system-dependent primitive function
|
|
|
|
|
for invoking system calls. It has the canonical behavior on Unix
|
|
|
|
|
systems, including unreliable return values for some calls (such as
|
|
|
|
|
`pipe', `fork' and `getppid').
|
|
|
|
|
|
|
|
|
|
* The error code `EWOULDBLOCK' is now obsolete; it is always defined
|
|
|
|
|
to `EAGAIN', which is the preferred name. On systems whose kernels
|
|
|
|
|
use two distinct codes, the C library now translates EWOULDBLOCK to
|
|
|
|
|
EAGAIN in every system call function.
|
|
|
|
|
|
|
|
|
|
Version 1.06
|
|
|
|
|
|
|
|
|
|
* The GNU C Library Reference Manual is now distributed with the library.
|
|
|
|
|
`make dvi' will produce a DVI file of the printed manual.
|
|
|
|
|
`make info' will produce Info files that you can read on line using C-h i
|
|
|
|
|
in Emacs or the `info' program.
|
1998-03-05 14:03:24 +00:00
|
|
|
|
Please send comments on the manual to bug-glibc-manual@gnu.org.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
|
|
* The library now supports SVR4 on i386s (i386-unknown-sysv4).
|
|
|
|
|
|
|
|
|
|
* Brendan Kehoe has contributed a port to Sun SPARCs running Solaris 2.
|
|
|
|
|
|
|
|
|
|
* Jason Merrill has contributed a port to the Sequent Symmetry running
|
|
|
|
|
Dynix version 3 (i386-sequent-dynix).
|
|
|
|
|
|
|
|
|
|
* The library has been ported to i386s running SCO 3.2.4 (also known as SCO
|
|
|
|
|
ODT 2.0; i386-unknown-sco3.2.4) or SCO 3.2 (i386-unknown-sco3.2).
|
|
|
|
|
|
|
|
|
|
* New function `memory_warnings' lets you arrange to get warnings when
|
|
|
|
|
malloc is running out of memory to allocate, like Emacs gives you.
|
|
|
|
|
|
|
|
|
|
* The C library now contains the relocating allocator used in Emacs 19 for
|
|
|
|
|
its editing buffers. This allocator (ralloc) minimizes allocation
|
|
|
|
|
overhead and fragmentation by moving allocated regions around whenever it
|
|
|
|
|
needs to. You always refer to a ralloc'd region with a "handle" (a
|
|
|
|
|
pointer to a pointer--an object of type `void **').
|
|
|
|
|
|
|
|
|
|
* There is a new `printf' format: `%m' gives you the string corresponding
|
|
|
|
|
to the error code in `errno'.
|
|
|
|
|
|
|
|
|
|
* In `scanf' formats, you can now use `%as' or `%a[' to do the normal `%s'
|
|
|
|
|
or `%[' conversion, but instead of filling in a fixed-sized buffer you
|
|
|
|
|
pass, the `a' modifier says to fill in a `char **' you pass with a
|
|
|
|
|
malloc'd string.
|
|
|
|
|
|
|
|
|
|
* The `fnmatch' function supports the new flag bits `FNM_LEADING_DIR' and
|
|
|
|
|
`FNM_CASEFOLD'. `FNM_LEADING_DIR' lets a pattern like `foo*' match a
|
|
|
|
|
name like `foo/bar'. `FNM_CASEFOLD' says to ignore case in matching.
|
|
|
|
|
|
|
|
|
|
* `mkstemp' is a traditional Unix function to atomically create and open a
|
|
|
|
|
uniquely-named temporary file.
|
|
|
|
|
|
|
|
|
|
Version 1.05
|
|
|
|
|
|
|
|
|
|
* The standard location for the file that says what the local timezone is
|
|
|
|
|
has changed again. It is now `/usr/local/etc/localtime' (or more
|
|
|
|
|
precisely, `${prefix}/etc/localtime') rather than `/etc/localtime'.
|
|
|
|
|
|
|
|
|
|
* The distribution no longer contains any files with names longer than 14
|
|
|
|
|
characters.
|
|
|
|
|
|
|
|
|
|
* `struct ttyent' has two new flag bits: TTY_TRUSTED and TTY_CONSOLE.
|
|
|
|
|
These are set by the new `trusted' and `console' keywords in `/etc/ttys'.
|
|
|
|
|
|
|
|
|
|
* New functions `ttyslot' and `syslog' from 4.4 BSD.
|
|
|
|
|
|
|
|
|
|
Version 1.04
|
|
|
|
|
|
|
|
|
|
* The configuration process has changed quite a bit. The `configure'
|
|
|
|
|
script is now used just like the configuration scripts for other GNU
|
|
|
|
|
packages. The `sysdeps' directory hierarchy is much rearranged.
|
|
|
|
|
The file `INSTALL' explains the new scheme in detail.
|
|
|
|
|
|
|
|
|
|
* The header files no longer need to be processed into ANSI C and
|
|
|
|
|
traditional C versions. There is just one set of files to install, and
|
|
|
|
|
it will work with ANSI or old C compilers (including `gcc -traditional').
|
|
|
|
|
|
|
|
|
|
* Brendan Kehoe and Ian Lance Taylor have ported the library to the
|
|
|
|
|
MIPS DECStation running Ultrix 4.
|
|
|
|
|
|
|
|
|
|
* The Sun 4 startup code (crt0) can now properly load SunOS 4 shared libraries.
|
|
|
|
|
Tom Quinn contributed the initial code. The GNU C library can NOT yet be
|
|
|
|
|
made itself into a shared library.
|
|
|
|
|
|
|
|
|
|
* Yet further improved support for the i386, running 4.3 BSD-like systems
|
|
|
|
|
(such as Mach 3 with the Unix single-server), or System V.
|
|
|
|
|
|
|
|
|
|
* New function `strncasecmp' to do case-insensitive string comparison
|
|
|
|
|
with limited length.
|
|
|
|
|
|
|
|
|
|
* New function `strsep' is a reentrant alternative to `strtok'.
|
|
|
|
|
|
|
|
|
|
* New functions `scandir' and `alphasort' for searching directories.
|
|
|
|
|
|
|
|
|
|
* New function `setenv' is a better interface to `putenv'.
|
|
|
|
|
|
|
|
|
|
* Ian Lance Taylor has contributed an implementation of the SVID `ftw'
|
|
|
|
|
function for traversing a directory tree.
|
|
|
|
|
|
|
|
|
|
* The GNU obstack package is now also part of the C library.
|
|
|
|
|
The new function `open_obstack_stream' creates a stdio stream that
|
|
|
|
|
writes onto an obstack; `obstack_printf' and `obstack_vprintf' do
|
|
|
|
|
formatted output directly to an obstack.
|
|
|
|
|
|
|
|
|
|
* Miscellaneous new functions: reboot, nice, sigaltstack (4.4 BSD only),
|
|
|
|
|
cfmakeraw, getusershell, getpass, swab, getttyent, seteuid, setegid.
|
|
|
|
|
|
|
|
|
|
* `FNM_FILE_NAME' is another name for `FNM_PATHNAME', used with `fnmatch'.
|
|
|
|
|
|
|
|
|
|
* The new functions `strfry' and `memfrob' do mysterious and wonderful
|
|
|
|
|
things to your strings.
|
|
|
|
|
|
|
|
|
|
* There are some new test programs: test-fseek, testmb, and testrand.
|
|
|
|
|
|
|
|
|
|
* Some work has been done to begin porting the library to 4.4 BSD and Linux.
|
|
|
|
|
These ports are not finished, but are a good starting place for really
|
|
|
|
|
supporting those systems.
|
|
|
|
|
|
|
|
|
|
* `/etc/localtime' is now the standard location for the file that says what
|
|
|
|
|
the local timezone is, rather than `/usr/local/lib/zoneinfo/localtime'.
|
|
|
|
|
This follows the general principle that `/etc' is the place for all local
|
|
|
|
|
configuration files.
|
|
|
|
|
|
|
|
|
|
* The C library header files now use `extern "C"' when used by the C++
|
|
|
|
|
compiler, so the C library should now work with C++ code.
|
|
|
|
|
|
|
|
|
|
* The header file <bstring.h> is gone. <string.h> now declares bcopy,
|
Update.
2000-08-11 Ulrich Drepper <drepper@redhat.com>
* rt/aio_cancel.c: If canceling a specific request which is running
*really* do nothing.
* rt/aio_misc.h: Add `done' to states of a request.
* rt/aio_misc.c: Add several tests for the correct state.
Simplify request table memory handling.
2000-08-10 Jakub Jelinek <jakub@redhat.com>
* dirent/scandir.c: Use it for scandir64 and old_scandir64 as well.
* dirent/scandir64.c: Move...
* sysdeps/generic/scandir64.c: ...here.
* dirent/alphasort64.c: Move...
* sysdeps/generic/alphasort64.c: ...here.
* dirent/versionsort64.c: Move...
* sysdeps/generic/versionsort64.c: ...here.
* sysdeps/unix/sysv/linux/i386/dirent/Versions (alphasort64,
getdirentries64, readdir64, readdir64_r, scandir64, versionsort64):
Export symbols at GLIBC_2.2.
* sysdeps/unix/sysv/linux/powerpc/dirent/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/dirent/Versions: Likewise.
* include/dirent.h (__readdir64_r, __scandir64, __alphasort64,
__versionsort64): Add prototypes.
* io/Versions (__xstat64, __fxstat64, __lxstat64): Export at GLIBC_2.2.
* sysdeps/unix/sysv/linux/alpha/kernel_stat.h (__xstat_conv): Remove
unused prototype.
* sysdeps/unix/sysv/linux/alpha/readdir.c: Export at both GLIBC_2.1
and GLIBC_2.2.
* sysdeps/unix/sysv/linux/alpha/readdir_r.c: Likewise.
* sysdeps/unix/sysv/linux/alpha/getdents.c: New.
* sysdeps/unix/sysv/linux/alpha/getdents64.c: New.
* sysdeps/unix/sysv/linux/bits/types.h (__ino64_t): Change to
__u_quad_t.
* sysdeps/unix/sysv/linux/bits/stat.h (struct stat, struct stat64):
Adjust for kernel-2.4.0-test6 layout.
* sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat64): Export at both
GLIBC_2.1 and GLIBC_2.2.
* sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat64): Likewise.
* sysdeps/unix/sysv/linux/i386/xstat.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/i386/getdents64.c: New.
* sysdeps/unix/sysv/linux/i386/olddirent.h: New.
* sysdeps/unix/sysv/linux/i386/readdir64.c: New.
* sysdeps/unix/sysv/linux/i386/readdir64_r.c: New.
* sysdeps/unix/sysv/linux/i386/scandir64.c: New.
* sysdeps/unix/sysv/linux/i386/alphasort64.c: New.
* sysdeps/unix/sysv/linux/i386/versionsort64.c: New.
* sysdeps/unix/sysv/linux/ia64/getdents.c: New.
* sysdeps/unix/sysv/linux/ia64/getdents64.c: New.
* sysdeps/unix/sysv/linux/ia64/readdir.c: Include alpha/readdir.c.
* sysdeps/unix/sysv/linux/ia64/readdir_r.c: Include alpha/readdir_r.c.
* sysdeps/unix/sysv/linux/mips/bits/types.h (__ino64_t): Change to
__u_quad_t.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: New.
* sysdeps/unix/sysv/linux/powerpc/kernel_stat.h (_HAVE_STAT*): Define.
* sysdeps/unix/sysv/linux/powerpc/scandir64.c: New.
* sysdeps/unix/sysv/linux/powerpc/getdents64.c: New.
* sysdeps/unix/sysv/linux/powerpc/readdir64.c: New.
* sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: New.
* sysdeps/unix/sysv/linux/sparc/bits/types.h (__ino64_t): Change to
__u_quad_t.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: New.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h (_HAVE_STAT*):
Define.
* sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h (_HAVE_STAT*):
Define.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Include
alpha/readdir.c.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Include
alpha/readdir_r.c
* sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: New.
* sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: New.
* sysdeps/unix/sysv/linux/fxstat64.c (__fxstat64): If
_HAVE_STAT64___ST_INO and __st_ino != (uint32_t)st_ino, set
st_ino from __st_ino.
* sysdeps/unix/sysv/linux/lxstat64.c (__lxstat64): Likewise.
* sysdeps/unix/sysv/linux/xstat64.c (__xstat64): Likewise.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv, xstat64_conv,
xstat32_conv): Use _HAVE_STAT* macros. If _HAVE_STAT64___ST_INO,
set __st_ino in addition to st_ino.
* sysdeps/unix/sysv/linux/kernel_stat.h (_HAVE_STAT*): Define.
* sysdeps/unix/sysv/linux/getdents.c: Use it for __getdents64 and
__old_getdents64 as well.
* sysdeps/unix/sysv/linux/getdirentries.c: Use it for
getdirentries64 and old_getdirentries64 as well.
* sysdeps/unix/sysv/linux/getdirentries64.c (GETDIRENTRIES,
__GETDENTS): Define.
(GETDENTS64): Remove.
* sysdeps/unix/sysv/linux/getdents64.c (__GETDENTS, DIRENT_TYPE):
Define.
(GETDENTS64): Remove.
* sysdeps/unix/sysv/linux/readdir64.c: Use sysdeps/unix/readdir.c.
* sysdeps/unix/sysv/linux/readdir64_r.c: Use sysdeps/unix/readdir_r.c.
* sysdeps/unix/readdir.c: Use it for readdir64 and __old_readdir64
as well.
* sysdeps/unix/readdir_r.c: Use it for readdir64_r and
__old_readdir64_r as well.
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_ST_INO_64_bit for kernel 2.4.1 and up.
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Add SI_KERNEL define.
2000-08-12 05:14:52 +00:00
|
|
|
|
bcmp, bzero, and ffs. (Update: nowadays these functions are declared
|
|
|
|
|
in <strings.h>.)
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
|
|
* Mike Haertel (of GNU e?grep and malloc fame) has written a new sorting
|
|
|
|
|
function which uses the `merge sort' algorithm, and is said to be
|
|
|
|
|
significantly faster than the old GNU `qsort' function. Merge sort is
|
|
|
|
|
now the standard `qsort' function. The new algorithm can require a lot
|
|
|
|
|
of temporary storage; so, the old sorting function is called when the
|
|
|
|
|
required storage is not available.
|
|
|
|
|
|
|
|
|
|
* The C library now includes Michael Glad's Ultra Fast Crypt, which
|
|
|
|
|
provides the Unix `crypt' function, plus some other entry points.
|
|
|
|
|
|
|
|
|
|
* The code and header files taken from 4.4 BSD have been updated with the
|
|
|
|
|
latest files released from Berkeley.
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
Copyright information:
|
|
|
|
|
|
2017-01-01 00:26:24 +00:00
|
|
|
|
Copyright (C) 1992-2017 Free Software Foundation, Inc.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
|
|
|
|
|
Permission is granted to anyone to make or distribute verbatim copies
|
|
|
|
|
of this document as received, in any medium, provided that the
|
|
|
|
|
copyright notice and this permission notice are preserved,
|
|
|
|
|
thus giving the recipient permission to redistribute in turn.
|
|
|
|
|
|
|
|
|
|
Permission is granted to distribute modified versions
|
|
|
|
|
of this document, or of portions of it,
|
|
|
|
|
under the above conditions, provided also that they
|
|
|
|
|
carry prominent notices stating who last changed them.
|
|
|
|
|
|
|
|
|
|
Local variables:
|
|
|
|
|
version-control: never
|
2011-01-13 17:42:06 +00:00
|
|
|
|
fill-column: 76
|
2001-10-31 09:32:37 +00:00
|
|
|
|
End:
|