2012-06-30 15:27:06 +00:00
|
|
|
|
GNU C Library NEWS -- history of user-visible changes.
|
2021-01-02 19:32:25 +00:00
|
|
|
|
Copyright (C) 1992-2021 Free Software Foundation, Inc.
|
1995-02-18 01:27:10 +00:00
|
|
|
|
See the end for copying conditions.
|
|
|
|
|
|
2017-11-16 06:19:26 +00:00
|
|
|
|
Please send GNU C library bug reports via <https://sourceware.org/bugzilla/>
|
2004-06-07 21:53:43 +00:00
|
|
|
|
using `glibc' in the "product" field.
|
2021-08-02 01:54:40 +00:00
|
|
|
|
|
|
|
|
|
Version 2.35
|
|
|
|
|
|
|
|
|
|
Major new features:
|
|
|
|
|
|
2021-09-27 13:27:36 +00:00
|
|
|
|
* Unicode 14.0.0 Support: Character encoding, character type info, and
|
|
|
|
|
transliteration tables are all updated to Unicode 14.0.0, using
|
|
|
|
|
generator scripts contributed by Mike FABIAN (Red Hat).
|
|
|
|
|
|
2021-08-18 02:35:48 +00:00
|
|
|
|
* Bump r_version in the debugger interface to 2 and add a new field,
|
|
|
|
|
r_next, support multiple namespaces.
|
|
|
|
|
|
Add generic C.UTF-8 locale (Bug 17318)
We add a new C.UTF-8 locale. This locale is not builtin to glibc, but
is provided as a distinct locale. The locale provides full support for
UTF-8 and this includes full code point sorting via STRCMP-based
collation (strcmp or wcscmp).
The collation uses a new keyword 'codepoint_collation' which drops all
collation rules and generates an empty zero rules collation to enable
STRCMP usage in collation. This ensures that we get full code point
sorting for C.UTF-8 with a minimal 1406 bytes of overhead (LC_COLLATE
structure information and ASCII collating tables).
The new locale is added to SUPPORTED. Minimal test data for specific
code points (minus those not supported by collate-test) is provided in
C.UTF-8.in, and this verifies code point sorting is working reasonably
across the range. The locale was tested manually with the full set of
code points without failure.
The locale is harmonized with locales already shipping in various
downstream distributions. A new tst-iconv9 test is added which verifies
the C.UTF-8 locale is generally usable.
Testing for fnmatch, regexec, and recomp is provided by extending
bug-regex1, bugregex19, bug-regex4, bug-regex6, transbug, tst-fnmatch,
tst-regcomp-truncated, and tst-regex to use C.UTF-8.
Tested on x86_64 or i686 without regression.
Reviewed-by: Florian Weimer <fweimer@redhat.com>
2021-09-01 19:19:19 +00:00
|
|
|
|
* Support for the C.UTF-8 locale has been added to glibc. The locale
|
|
|
|
|
supports full code-point sorting for all valid Unicode code points. A
|
|
|
|
|
limitation in the framework for fnmatch, regexec, and regcomp requires
|
|
|
|
|
a compromise to save space and only ASCII-based range expressions are
|
|
|
|
|
supported for now (see bug 28255). The full size of the locale is
|
|
|
|
|
only ~400KiB, with 346KiB coming from LC_CTYPE information for
|
|
|
|
|
Unicode. This locale harmonizes downstream C.UTF-8 already shipping
|
|
|
|
|
in various downstream distributions. The locale is not built into
|
|
|
|
|
glibc, and must be installed.
|
2021-08-02 01:54:40 +00:00
|
|
|
|
|
Add narrowing square root functions
This patch adds the narrowing square root functions from TS 18661-1 /
TS 18661-3 / C2X to glibc's libm: fsqrt, fsqrtl, dsqrtl, f32sqrtf64,
f32sqrtf32x, f32xsqrtf64 for all configurations; f32sqrtf64x,
f32sqrtf128, f64sqrtf64x, f64sqrtf128, f32xsqrtf64x, f32xsqrtf128,
f64xsqrtf128 for configurations with _Float64x and _Float128;
__f32sqrtieee128 and __f64sqrtieee128 aliases in the powerpc64le case
(for calls to fsqrtl and dsqrtl when long double is IEEE binary128).
Corresponding tgmath.h macro support is also added.
The changes are mostly similar to those for the other narrowing
functions previously added, so the description of those generally
applies to this patch as well. However, the not-actually-narrowing
cases (where the two types involved in the function have the same
floating-point format) are aliased to sqrt, sqrtl or sqrtf128 rather
than needing a separately built not-actually-narrowing function such
as was needed for add / sub / mul / div. Thus, there is no
__nldbl_dsqrtl name for ldbl-opt because no such name was needed
(whereas the other functions needed such a name since the only other
name for that entry point was e.g. f32xaddf64, not reserved by TS
18661-1); the headers are made to arrange for sqrt to be called in
that case instead.
The DIAG_* calls in sysdeps/ieee754/soft-fp/s_dsqrtl.c are because
they were observed to be needed in GCC 7 testing of
riscv32-linux-gnu-rv32imac-ilp32. The other sysdeps/ieee754/soft-fp/
files added didn't need such DIAG_* in any configuration I tested with
build-many-glibcs.py, but if they do turn out to be needed in more
files with some other configuration / GCC version, they can always be
added there.
I reused the same test inputs in auto-libm-test-in as for
non-narrowing sqrt rather than adding extra or separate inputs for
narrowing sqrt. The tests in libm-test-narrow-sqrt.inc also follow
those for non-narrowing sqrt.
Tested as followed: natively with the full glibc testsuite for x86_64
(GCC 11, 7, 6) and x86 (GCC 11); with build-many-glibcs.py with GCC
11, 7 and 6; cross testing of math/ tests for powerpc64le, powerpc32
hard float, mips64 (all three ABIs, both hard and soft float). The
different GCC versions are to cover the different cases in tgmath.h
and tgmath.h tests properly (GCC 6 has _Float* only as typedefs in
glibc headers, GCC 7 has proper _Float* support, GCC 8 adds
__builtin_tgmath).
2021-09-10 20:56:22 +00:00
|
|
|
|
* <math.h> functions that round their results to a narrower type, and
|
|
|
|
|
corresponding <tgmath.h> macros, are added from TS 18661-1:2014, TS
|
|
|
|
|
18661-3:2015 and draft ISO C2X:
|
|
|
|
|
|
|
|
|
|
- fsqrt, fsqrtl, dsqrtl and corresponding fMsqrtfN, fMsqrtfNx,
|
|
|
|
|
fMxsqrtfN and fMxsqrtfNx functions.
|
|
|
|
|
|
Add narrowing fma functions
This patch adds the narrowing fused multiply-add functions from TS
18661-1 / TS 18661-3 / C2X to glibc's libm: ffma, ffmal, dfmal,
f32fmaf64, f32fmaf32x, f32xfmaf64 for all configurations; f32fmaf64x,
f32fmaf128, f64fmaf64x, f64fmaf128, f32xfmaf64x, f32xfmaf128,
f64xfmaf128 for configurations with _Float64x and _Float128;
__f32fmaieee128 and __f64fmaieee128 aliases in the powerpc64le case
(for calls to ffmal and dfmal when long double is IEEE binary128).
Corresponding tgmath.h macro support is also added.
The changes are mostly similar to those for the other narrowing
functions previously added, especially that for sqrt, so the
description of those generally applies to this patch as well. As with
sqrt, I reused the same test inputs in auto-libm-test-in as for
non-narrowing fma rather than adding extra or separate inputs for
narrowing fma. The tests in libm-test-narrow-fma.inc also follow
those for non-narrowing fma.
The non-narrowing fma has a known bug (bug 6801) that it does not set
errno on errors (overflow, underflow, Inf * 0, Inf - Inf). Rather
than fixing this or having narrowing fma check for errors when
non-narrowing does not (complicating the cases when narrowing fma can
otherwise be an alias for a non-narrowing function), this patch does
not attempt to check for errors from narrowing fma and set errno; the
CHECK_NARROW_FMA macro is still present, but as a placeholder that
does nothing, and this missing errno setting is considered to be
covered by the existing bug rather than needing a separate open bug.
missing-errno annotations are duly added to many of the
auto-libm-test-in test inputs for fma.
This completes adding all the new functions from TS 18661-1 to glibc,
so will be followed by corresponding stdc-predef.h changes to define
__STDC_IEC_60559_BFP__ and __STDC_IEC_60559_COMPLEX__, as the support
for TS 18661-1 will be at a similar level to that for C standard
floating-point facilities up to C11 (pragmas not implemented, but
library functions done). (There are still further changes to be done
to implement changes to the types of fromfp functions from N2548.)
Tested as followed: natively with the full glibc testsuite for x86_64
(GCC 11, 7, 6) and x86 (GCC 11); with build-many-glibcs.py with GCC
11, 7 and 6; cross testing of math/ tests for powerpc64le, powerpc32
hard float, mips64 (all three ABIs, both hard and soft float). The
different GCC versions are to cover the different cases in tgmath.h
and tgmath.h tests properly (GCC 6 has _Float* only as typedefs in
glibc headers, GCC 7 has proper _Float* support, GCC 8 adds
__builtin_tgmath).
2021-09-22 21:25:31 +00:00
|
|
|
|
- ffma, ffmal, dfmal and corresponding fMfmafN, fMfmafNx, fMxfmafN and
|
|
|
|
|
fMxfmafNx functions.
|
|
|
|
|
|
Add fmaximum, fminimum functions
C2X adds new <math.h> functions for floating-point maximum and
minimum, corresponding to the new operations that were added in IEEE
754-2019 because of concerns about the old operations not being
associative in the presence of signaling NaNs. fmaximum and fminimum
handle NaNs like most <math.h> functions (any NaN argument means the
result is a quiet NaN). fmaximum_num and fminimum_num handle both
quiet and signaling NaNs the way fmax and fmin handle quiet NaNs (if
one argument is a number and the other is a NaN, return the number),
but still raise "invalid" for a signaling NaN argument, making them
exceptions to the normal rule that a function with a floating-point
result raising "invalid" also returns a quiet NaN. fmaximum_mag,
fminimum_mag, fmaximum_mag_num and fminimum_mag_num are corresponding
functions returning the argument with greatest or least absolute
value. All these functions also treat +0 as greater than -0. There
are also corresponding <tgmath.h> type-generic macros.
Add these functions to glibc. The implementations use type-generic
templates based on those for fmax, fmin, fmaxmag and fminmag, and test
inputs are based on those for those functions with appropriate
adjustments to the expected results. The RISC-V maintainers might
wish to add optimized versions of fmaximum_num and fminimum_num (for
float and double), since RISC-V (F extension version 2.2 and later)
provides instructions corresponding to those functions - though it
might be at least as useful to add architecture-independent built-in
functions to GCC and teach the RISC-V back end to expand those
functions inline, which is what you generally want for functions that
can be implemented with a single instruction.
Tested for x86_64 and x86, and with build-many-glibcs.py.
2021-09-28 23:31:35 +00:00
|
|
|
|
* <math.h> functions for floating-point maximum and minimum,
|
|
|
|
|
corresponding to new operations in IEEE 754-2019, and corresponding
|
|
|
|
|
<tgmath.h> macros, are added from draft ISO C2X: fmaximum,
|
|
|
|
|
fmaximum_num, fmaximum_mag, fmaximum_mag_num, fminimum, fminimum_num,
|
|
|
|
|
fminimum_mag, fminimum_mag_num and corresponding functions for float,
|
|
|
|
|
long double, _FloatN and _FloatNx.
|
|
|
|
|
|
Define __STDC_IEC_60559_BFP__ and __STDC_IEC_60559_COMPLEX__
TS 18661-1 and C2X specify predefined macros __STDC_IEC_60559_BFP__
and __STDC_IEC_60559_COMPLEX__, making __STDC_IEC_559__ and
__STDC_IEC_559_COMPLEX__ obsolescent (but still included in the
standard). Now that we have all the functions from TS 18661-1, define
these macros in stdc-predef.h, under the same conditions in which the
older macros are defined, since support for the floating-point
features in TS 18661-1 is now at the same level as that for those in
C11 and before (all library functions and other library APIs present,
but no standard pragma support).
The macros are defined for now with their TS 18661-1 values. C2X will
give them new values (listed as yyyymmL in the working drafts until
the final standard), at which point there will be the question of what
value to use in stdc-predef.h (where it could depend on
__STDC_VERSION__, but not on feature test macros defined by the user).
My inclination then would be to use the C2X value unconditionally
rather than using an older value to indicate TS support, and only have
any C standard version conditionals for the value when subsequent C
standard versions define further values.
(Note that I'm also inclined, when we implement the C2X change to the
return types of fromfp functions, to make that change unconditional
much like the change made to the types of totalorder functions, with
the old version only supported with compat symbols for already-linked
programs and not as an API for newly built objects. So using the C2X
value would also accurately reflect not supporting the versions of
APIs in the TS where those ended up being incompatible with the first
version actually added to the standard.)
Tested for x86_64.
2021-09-24 20:11:56 +00:00
|
|
|
|
* The __STDC_IEC_60559_BFP__ and __STDC_IEC_60559_COMPLEX__ macros are
|
|
|
|
|
predefined as specified in TS 18661-1:2014.
|
|
|
|
|
|
2021-09-30 20:40:34 +00:00
|
|
|
|
* The exp10 functions in <math.h> now have a corresponding type-generic
|
|
|
|
|
macro in <tgmath.h>.
|
|
|
|
|
|
2021-09-30 20:53:34 +00:00
|
|
|
|
* The ISO C2X macro _PRINTF_NAN_LEN_MAX has been added to <stdio.h>.
|
|
|
|
|
|
2021-10-21 13:41:22 +00:00
|
|
|
|
* A new DSO sorting algorithm has been added in the dynamic linker that uses
|
|
|
|
|
topological sorting by depth-first search (DFS), solving performance issues
|
|
|
|
|
of the existing sorting algorithm when encountering particular circular
|
|
|
|
|
object dependency cases.
|
|
|
|
|
|
|
|
|
|
* A new tunable, glibc.rtld.dynamic_sort, can be used to select between the two
|
|
|
|
|
DSO sorting algorithms. The default setting of '1' uses the current existing
|
|
|
|
|
algorithm, while a value of '2' selects the new DFS-based algorithm.
|
|
|
|
|
|
2021-10-22 16:04:55 +00:00
|
|
|
|
* ABI support for a new function '__memcmpeq'. '__memcmpeq' is meant
|
|
|
|
|
to be used by compilers for optimizing usage of 'memcmp' when its
|
|
|
|
|
return value is only used for its boolean status.
|
|
|
|
|
|
2021-08-02 01:54:40 +00:00
|
|
|
|
Deprecated and removed features, and other changes affecting compatibility:
|
|
|
|
|
|
2021-08-18 02:35:48 +00:00
|
|
|
|
* The r_version update in the debugger interface makes the glibc binary
|
|
|
|
|
incompatible with GDB binaries built without the following commits:
|
|
|
|
|
|
|
|
|
|
c0154a4a21a gdb: Don't assume r_ldsomap when r_version > 1 on Linux
|
|
|
|
|
4eb629d50d4 gdbserver: Check r_version < 1 for Linux debugger interface
|
|
|
|
|
|
|
|
|
|
when audit modules or dlmopen are used.
|
2021-08-02 01:54:40 +00:00
|
|
|
|
|
2021-10-11 18:14:02 +00:00
|
|
|
|
* Intel MPX support (lazy PLT, ld.so profile, and LD_AUDIT) has been removed.
|
|
|
|
|
|
2021-08-02 01:54:40 +00:00
|
|
|
|
Changes to build and runtime requirements:
|
|
|
|
|
|
|
|
|
|
[Add changes to build and runtime requirements here]
|
|
|
|
|
|
|
|
|
|
Security related changes:
|
|
|
|
|
|
|
|
|
|
[Add security related changes here]
|
|
|
|
|
|
|
|
|
|
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.]
|
|
|
|
|
|
2021-02-01 17:04:23 +00:00
|
|
|
|
|
|
|
|
|
Version 2.34
|
|
|
|
|
|
|
|
|
|
Major new features:
|
|
|
|
|
|
2021-08-01 03:39:07 +00:00
|
|
|
|
* In order to support smoother in-place-upgrades and to simplify
|
|
|
|
|
the implementation of the runtime all functionality formerly
|
|
|
|
|
implemented in the libraries libpthread, libdl, libutil, libanl has
|
|
|
|
|
been integrated into libc. New applications do not need to link with
|
|
|
|
|
-lpthread, -ldl, -lutil, -lanl anymore. For backwards compatibility,
|
|
|
|
|
empty static archives libpthread.a, libdl.a, libutil.a, libanl.a are
|
|
|
|
|
provided, so that the linker options keep working. Applications which
|
|
|
|
|
have been linked against glibc 2.33 or earlier continue to load the
|
|
|
|
|
corresponding shared objects (which are now empty). The integration
|
|
|
|
|
of those libraries into libc means that additional symbols become
|
|
|
|
|
available by default. This can cause applications that contain weak
|
|
|
|
|
references to take unexpected code paths that would only have been
|
|
|
|
|
used in previous glibc versions when e.g. preloading libpthread.so.0,
|
|
|
|
|
potentially exposing application bugs.
|
|
|
|
|
|
2021-06-21 19:42:56 +00:00
|
|
|
|
* When _DYNAMIC_STACK_SIZE_SOURCE or _GNU_SOURCE are defined,
|
|
|
|
|
PTHREAD_STACK_MIN is no longer constant and is redefined to
|
2021-08-01 03:39:07 +00:00
|
|
|
|
sysconf(_SC_THREAD_STACK_MIN). This supports dynamic sized register
|
|
|
|
|
sets for modern architectural features like Arm SVE.
|
2021-06-21 19:42:56 +00:00
|
|
|
|
|
|
|
|
|
* Add _SC_MINSIGSTKSZ and _SC_SIGSTKSZ. When _DYNAMIC_STACK_SIZE_SOURCE
|
|
|
|
|
or _GNU_SOURCE are defined, MINSIGSTKSZ and SIGSTKSZ are no longer
|
2021-02-01 23:50:51 +00:00
|
|
|
|
constant on Linux. MINSIGSTKSZ is redefined to sysconf(_SC_MINSIGSTKSZ)
|
2021-08-01 03:39:07 +00:00
|
|
|
|
and SIGSTKSZ is redefined to sysconf (_SC_SIGSTKSZ). This supports
|
|
|
|
|
dynamic sized register sets for modern architectural features like
|
|
|
|
|
Arm SVE.
|
2021-02-01 17:04:23 +00:00
|
|
|
|
|
2021-03-02 13:38:42 +00:00
|
|
|
|
* The dynamic linker implements the --list-diagnostics option, printing
|
|
|
|
|
a dump of information related to IFUNC resolver operation and
|
|
|
|
|
glibc-hwcaps subdirectory selection.
|
|
|
|
|
|
2021-05-03 16:35:10 +00:00
|
|
|
|
* On Linux, the function execveat has been added. It operates similar to
|
|
|
|
|
execve and it is is already used to implement fexecve without requiring
|
|
|
|
|
/proc to be mounted. However, different than fexecve, if the syscall is not
|
|
|
|
|
supported by the kernel an error is returned instead of trying a fallback.
|
|
|
|
|
|
2021-05-17 20:55:21 +00:00
|
|
|
|
* The ISO C2X function timespec_getres has been added.
|
|
|
|
|
|
Update floating-point feature test macro handling for C2X
ISO C2X has made some changes to the handling of feature test macros
related to features from the floating-point TSes, and to exactly what
such features are present in what headers, that require corresponding
changes in glibc.
* For the few features that were controlled by
__STDC_WANT_IEC_60559_BFP_EXT__ (and the corresponding DFP macro) in
C2X, there is now instead a new feature test macro
__STDC_WANT_IEC_60559_EXT__ covering both binary and decimal FP.
This controls CR_DECIMAL_DIG in <float.h> (provided by GCC; I
implemented support for the new feature test macro for GCC 11) and
the totalorder and payload functions in <math.h>. C2X no longer
says anything about __STDC_WANT_IEC_60559_BFP_EXT__ (so it's
appropriate for that macro to continue to enable exactly the
features from TS 18661-1).
* The SNAN macros for each floating-point type have moved to <float.h>
(and been renamed in the process). Thus, the copies in <math.h>
should only be defined for __STDC_WANT_IEC_60559_BFP_EXT__, not for
C2X.
* The fmaxmag and fminmag functions have been removed (replaced by new
functions for the new min/max operations in IEEE 754-2019). Thus
those should also only be declared for
__STDC_WANT_IEC_60559_BFP_EXT__.
* The _FloatN / _FloatNx handling for the last two points in glibc is
trickier, since __STDC_WANT_IEC_60559_TYPES_EXT__ is still in C2X
(the integration of TS 18661-3 as an Annex, that is, which hasn't
yet been merged into the C standard git repository but has been
accepted by WG14), so C2X with that macro should not declare some
things that are declared for older standards with that macro. The
approach taken here is to provide the declarations (when
__STDC_WANT_IEC_60559_TYPES_EXT__ is enabled) only when (defined
__USE_GNU || !__GLIBC_USE (ISOC2X)), so if C2X features are enabled
then those declarations (that are only in TS 18661-3 and not in C2X)
will only be provided if _GNU_SOURCE is defined as well. Thus
_GNU_SOURCE remains a superset of the TS features as well as of C2X.
Some other somewhat related changes in C2X are not addressed here.
There's an open proposal not to include the fmin and fmax functions
for the _FloatN / _FloatNx types, given the new min/max operations,
which could be handled like the previous point if adopted. And the
fromfp functions have been changed to return a result in floating type
rather than intmax_t / uintmax_t; my inclination there is to treat
that like that change of totalorder type (new symbol versions etc. for
the ABI change; old versions become compat symbols and are no longer
supported as an API).
Tested for x86_64 and x86.
2021-06-01 14:22:06 +00:00
|
|
|
|
* The feature test macro __STDC_WANT_IEC_60559_EXT__, from draft ISO
|
|
|
|
|
C2X, is supported to enable declarations of functions defined in Annex F
|
|
|
|
|
of C2X. Those declarations are also enabled when
|
|
|
|
|
__STDC_WANT_IEC_60559_BFP_EXT__, as specified in TS 18661-1, is
|
|
|
|
|
defined, and when _GNU_SOURCE is defined.
|
|
|
|
|
|
2021-04-09 17:47:27 +00:00
|
|
|
|
* On powerpc64*, glibc can now be compiled without scv support using the
|
|
|
|
|
--disable-scv configure option.
|
|
|
|
|
|
2021-06-25 04:12:19 +00:00
|
|
|
|
* Add support for 64-bit time_t on configurations like x86 where time_t
|
|
|
|
|
is traditionally 32-bit. Although time_t still defaults to 32-bit on
|
|
|
|
|
these configurations, this default may change in future versions.
|
2021-07-31 23:25:57 +00:00
|
|
|
|
This is enabled with the _TIME_BITS preprocessor macro set to 64 and is
|
|
|
|
|
only supported when LFS (_FILE_OFFSET_BITS=64) is also enabled. It is
|
|
|
|
|
only enabled for Linux and the full support requires a minimum kernel
|
|
|
|
|
version of 5.1.
|
y2038: Add support for 64-bit time on legacy ABIs
A new build flag, _TIME_BITS, enables the usage of the newer 64-bit
time symbols for legacy ABI (where 32-bit time_t is default). The 64
bit time support is only enabled if LFS (_FILE_OFFSET_BITS=64) is
also used.
Different than LFS support, the y2038 symbols are added only for the
required ABIs (armhf, csky, hppa, i386, m68k, microblaze, mips32,
mips64-n32, nios2, powerpc32, sparc32, s390-32, and sh). The ABIs with
64-bit time support are unchanged, both for symbol and types
redirection.
On Linux the full 64-bit time support requires a minimum of kernel
version v5.1. Otherwise, the 32-bit fallbacks are used and might
results in error with overflow return code (EOVERFLOW).
The i686-gnu does not yet support 64-bit time.
This patch exports following rediretions to support 64-bit time:
* libc:
adjtime
adjtimex
clock_adjtime
clock_getres
clock_gettime
clock_nanosleep
clock_settime
cnd_timedwait
ctime
ctime_r
difftime
fstat
fstatat
futimens
futimes
futimesat
getitimer
getrusage
gettimeofday
gmtime
gmtime_r
localtime
localtime_r
lstat_time
lutimes
mktime
msgctl
mtx_timedlock
nanosleep
nanosleep
ntp_gettime
ntp_gettimex
ppoll
pselec
pselect
pthread_clockjoin_np
pthread_cond_clockwait
pthread_cond_timedwait
pthread_mutex_clocklock
pthread_mutex_timedlock
pthread_rwlock_clockrdlock
pthread_rwlock_clockwrlock
pthread_rwlock_timedrdlock
pthread_rwlock_timedwrlock
pthread_timedjoin_np
recvmmsg
sched_rr_get_interval
select
sem_clockwait
semctl
semtimedop
sem_timedwait
setitimer
settimeofday
shmctl
sigtimedwait
stat
thrd_sleep
time
timegm
timerfd_gettime
timerfd_settime
timespec_get
utime
utimensat
utimes
utimes
wait3
wait4
* librt:
aio_suspend
mq_timedreceive
mq_timedsend
timer_gettime
timer_settime
* libanl:
gai_suspend
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
2021-02-17 16:35:19 +00:00
|
|
|
|
|
2021-06-10 11:15:10 +00:00
|
|
|
|
* The main gconv-modules file in glibc now contains only a small set of
|
|
|
|
|
essential converter modules and the rest have been moved into a supplementary
|
|
|
|
|
configuration file gconv-modules-extra.conf in the gconv-modules.d directory
|
|
|
|
|
in the same GCONV_PATH. Similarly, external converter modules directories
|
|
|
|
|
may have supplementary configuration files in a gconv-modules.d directory
|
|
|
|
|
with names ending with .conf to logically classify the converter modules in
|
|
|
|
|
that directory.
|
|
|
|
|
|
2021-06-28 13:48:58 +00:00
|
|
|
|
* On Linux, a new tunable, glibc.pthread.stack_cache_size, can be used
|
|
|
|
|
to configure the size of the thread stack cache.
|
|
|
|
|
|
2021-01-19 12:26:31 +00:00
|
|
|
|
* The function _Fork has been added as an async-signal-safe fork replacement
|
|
|
|
|
since Austin Group issue 62 droped the async-signal-safe requirement for
|
|
|
|
|
fork (and it will be included in the future POSIX standard). The new _Fork
|
|
|
|
|
function does not run any atfork function neither resets any internal state
|
|
|
|
|
or lock (such as the malloc one), and only sets up a minimal state required
|
|
|
|
|
to call async-signal-safe functions (such as raise or execve). This function
|
|
|
|
|
is currently a GNU extension.
|
|
|
|
|
|
2021-03-10 15:26:31 +00:00
|
|
|
|
* On Linux, the close_range function has been added. It allows efficiently
|
|
|
|
|
closing a range of file descriptors on recent kernels (version 5.9).
|
|
|
|
|
|
io: Add closefrom [BZ #10353]
The function closes all open file descriptors greater than or equal to
input argument. Negative values are clamped to 0, i.e, it will close
all file descriptors.
As indicated by the bug report, this is a common symbol provided by
different systems (Solaris, OpenBSD, NetBSD, FreeBSD) and, although
its has inherent issues with not taking in consideration internal libc
file descriptors (such as syslog), this is also a common feature used
in multiple projects [1][2][3][4][5].
The Linux fallback implementation iterates over /proc and close all
file descriptors sequentially. Although it was raised the questioning
whether getdents on /proc/self/fd might return disjointed entries
when file descriptor are closed; it does not seems the case on my
testing on multiple kernel (v4.18, v5.4, v5.9) and the same strategy
is used on different projects [1][2][3][5].
Also, the interface is set a fail-safe meaning that a failure in the
fallback results in a process abort.
Checked on x86_64-linux-gnu and i686-linux-gnu on kernel 5.11 and 4.15.
[1] https://github.com/systemd/systemd/blob/5238e9575906297608ff802a27e2ff9effa3b338/src/basic/fd-util.c#L217
[2] https://github.com/lxc/lxc/blob/ddf4b77e11a4d08f09b7b9cd13e593f8c047edc5/src/lxc/start.c#L236
[3] https://github.com/python/cpython/blob/9e4f2f3a6b8ee995c365e86d976937c141d867f8/Modules/_posixsubprocess.c#L220
[4] https://github.com/rust-lang/rust/blob/5f47c0613ed4eb46fca3633c1297364c09e5e451/src/libstd/sys/unix/process2.rs#L303-L308
[5] https://github.com/openjdk/jdk/blob/master/src/java.base/unix/native/libjava/childproc.c#L82
2021-03-10 15:26:32 +00:00
|
|
|
|
* The function closefrom has been added. It closes all file descriptors
|
2021-07-31 23:25:57 +00:00
|
|
|
|
greater than or equal to a given integer. This function is a GNU extension,
|
|
|
|
|
although it is also present in other systems.
|
io: Add closefrom [BZ #10353]
The function closes all open file descriptors greater than or equal to
input argument. Negative values are clamped to 0, i.e, it will close
all file descriptors.
As indicated by the bug report, this is a common symbol provided by
different systems (Solaris, OpenBSD, NetBSD, FreeBSD) and, although
its has inherent issues with not taking in consideration internal libc
file descriptors (such as syslog), this is also a common feature used
in multiple projects [1][2][3][4][5].
The Linux fallback implementation iterates over /proc and close all
file descriptors sequentially. Although it was raised the questioning
whether getdents on /proc/self/fd might return disjointed entries
when file descriptor are closed; it does not seems the case on my
testing on multiple kernel (v4.18, v5.4, v5.9) and the same strategy
is used on different projects [1][2][3][5].
Also, the interface is set a fail-safe meaning that a failure in the
fallback results in a process abort.
Checked on x86_64-linux-gnu and i686-linux-gnu on kernel 5.11 and 4.15.
[1] https://github.com/systemd/systemd/blob/5238e9575906297608ff802a27e2ff9effa3b338/src/basic/fd-util.c#L217
[2] https://github.com/lxc/lxc/blob/ddf4b77e11a4d08f09b7b9cd13e593f8c047edc5/src/lxc/start.c#L236
[3] https://github.com/python/cpython/blob/9e4f2f3a6b8ee995c365e86d976937c141d867f8/Modules/_posixsubprocess.c#L220
[4] https://github.com/rust-lang/rust/blob/5f47c0613ed4eb46fca3633c1297364c09e5e451/src/libstd/sys/unix/process2.rs#L303-L308
[5] https://github.com/openjdk/jdk/blob/master/src/java.base/unix/native/libjava/childproc.c#L82
2021-03-10 15:26:32 +00:00
|
|
|
|
|
2021-07-31 23:25:57 +00:00
|
|
|
|
* The posix_spawn_file_actions_addclosefrom_np function has been added,
|
|
|
|
|
enabling posix_spawn and posix_spawnp to close all file descriptors greater
|
|
|
|
|
than or equal to a given integer. This function is a GNU extension,
|
|
|
|
|
although Solaris also provides a similar function.
|
2021-03-10 15:26:33 +00:00
|
|
|
|
|
2021-02-01 17:04:23 +00:00
|
|
|
|
Deprecated and removed features, and other changes affecting compatibility:
|
|
|
|
|
|
2021-04-21 17:49:50 +00:00
|
|
|
|
* The function pthread_mutex_consistent_np has been deprecated; programs
|
|
|
|
|
should use the equivalent standard function pthread_mutex_consistent
|
|
|
|
|
instead.
|
2021-02-01 17:04:23 +00:00
|
|
|
|
|
2021-04-23 07:46:03 +00:00
|
|
|
|
* The function pthread_mutexattr_getrobust_np has been deprecated;
|
|
|
|
|
programs should use the equivalent standard function
|
|
|
|
|
pthread_mutexattr_getrobust instead.
|
|
|
|
|
|
2021-04-23 07:48:36 +00:00
|
|
|
|
* The function pthread_mutexattr_setrobust_np has been deprecated;
|
|
|
|
|
programs should use the equivalent standard function
|
|
|
|
|
pthread_mutexattr_setrobust instead.
|
|
|
|
|
|
2021-05-03 07:23:17 +00:00
|
|
|
|
* The function pthread_yield has been deprecated; programs should use
|
|
|
|
|
the equivalent standard function sched_yield instead.
|
|
|
|
|
|
resolv: Deprecate legacy interfaces in libresolv
Debugging interfaces: p_*, fp_*, and sym_* could conceivably be
used to produce debug out, but these functions have not been
updated to parse more resource records, so they are not very useful
today. Likewise for ns_sprintrr and ns_sprintrrf. ns_format_ttl and
ns_parse_ttl are related to these.
Internal implementation details: res_isourserver is probably only
useful in the implementation of a stub resolver, and so is
res_nameinquery.
Unclear semantics and bad performance: ns_samedomain, ns_subdomain,
ns_makecanon, ns_samename do textual converions & copies instead of
checking equivalence of the wire format.
inet_neta cannot handle IPv6 addresses.
res_hostalias has been superseded by getaddrinfo with AI_CANONNAME.
hostalias is not thread-safe.
Some functions have int as size arguments instead of size_t, so they
do not follow current coding practices. However, dn_expand and
b64_ntop are somewhat widely used (to name just two examples), so
deprecating them seems problematic.
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
2021-07-19 05:55:27 +00:00
|
|
|
|
* The function inet_neta declared in <arpa/inet.h> has been deprecated.
|
|
|
|
|
|
|
|
|
|
* Various rarely-used functions declared in <resolv.h> and
|
|
|
|
|
<arpa/nameser.h> have been deprecated. Applications are encouraged to
|
|
|
|
|
use dedicated DNS processing libraries if applicable. For <resolv.h>,
|
|
|
|
|
this affects the functions dn_count_labels, fp_nquery, fp_query,
|
|
|
|
|
fp_resstat, hostalias, loc_aton, loc_ntoa, p_cdname, p_cdnname,
|
|
|
|
|
p_class, p_fqname, p_fqnname, p_option, p_query, p_rcode, p_time,
|
|
|
|
|
p_type, putlong, putshort, res_hostalias, res_isourserver,
|
|
|
|
|
res_nameinquery, res_queriesmatch, res_randomid, sym_ntop, sym_ntos,
|
|
|
|
|
sym_ston. For <arpa/nameser.h>, the functions ns_datetosecs,
|
|
|
|
|
ns_format_ttl, ns_makecanon, ns_parse_ttl, ns_samedomain, ns_samename,
|
|
|
|
|
ns_sprintrr, ns_sprintrrf, ns_subdomain have been deprecated.
|
|
|
|
|
|
2021-08-01 03:39:07 +00:00
|
|
|
|
* Various symbols previously defined in libresolv have been moved to libc
|
|
|
|
|
in order to prepare for libresolv moving entirely into libc (see earlier
|
|
|
|
|
entry for merging libraries into libc). The symbols __dn_comp,
|
|
|
|
|
__dn_expand, __dn_skipname, __res_dnok, __res_hnok, __res_mailok,
|
|
|
|
|
__res_mkquery, __res_nmkquery, __res_nquery, __res_nquerydomain,
|
|
|
|
|
__res_nsearch, __res_nsend, __res_ownok, __res_query, __res_querydomain,
|
|
|
|
|
__res_search, __res_send formerly in libresolv have been renamed and no
|
|
|
|
|
longer have a __ prefix. They are now available in libc.
|
|
|
|
|
|
2021-06-17 12:45:03 +00:00
|
|
|
|
* The pthread cancellation handler is now installed with SA_RESTART and
|
|
|
|
|
pthread_cancel will always send the internal SIGCANCEL on a cancellation
|
2021-07-31 23:25:57 +00:00
|
|
|
|
request. It should not be visible to applications since the cancellation
|
2021-06-17 12:45:03 +00:00
|
|
|
|
handler should either act upon cancellation (if asynchronous cancellation
|
|
|
|
|
is enabled) or ignore the cancellation internal signal. However there are
|
2021-07-31 23:25:57 +00:00
|
|
|
|
buggy kernel interfaces (for instance some CIFS versions) that could still
|
|
|
|
|
see a spurious EINTR error when cancellation interrupts a blocking syscall.
|
2021-06-17 12:45:03 +00:00
|
|
|
|
|
2021-06-28 06:33:57 +00:00
|
|
|
|
* Previously, glibc installed its various shared objects under versioned
|
|
|
|
|
file names such as libc-2.33.so. The ABI sonames (e.g., libc.so.6)
|
|
|
|
|
were provided as symbolic links. Starting with glibc 2.34, the shared
|
|
|
|
|
objects are installed under their ABI sonames directly, without
|
|
|
|
|
symbolic links. This increases compatibility with distribution
|
|
|
|
|
package managers that delete removed files late during the package
|
|
|
|
|
upgrade or downgrade process.
|
|
|
|
|
|
2021-07-02 19:17:34 +00:00
|
|
|
|
* The symbols mallwatch and tr_break are now deprecated and no longer used in
|
|
|
|
|
mtrace. Similar functionality can be achieved by using conditional
|
|
|
|
|
breakpoints within mtrace functions from within gdb.
|
|
|
|
|
|
2021-07-22 13:07:57 +00:00
|
|
|
|
* The __morecore and __after_morecore_hook malloc hooks and the default
|
|
|
|
|
implementation __default_morecore have been removed from the API. Existing
|
|
|
|
|
applications will continue to link against these symbols but the interfaces
|
|
|
|
|
no longer have any effect on malloc.
|
|
|
|
|
|
2021-07-22 13:07:59 +00:00
|
|
|
|
* Debugging features in malloc such as the MALLOC_CHECK_ environment variable
|
|
|
|
|
(or the glibc.malloc.check tunable), mtrace() and mcheck() have now been
|
|
|
|
|
disabled by default in the main C library. Users looking to use these
|
|
|
|
|
features now need to preload a new debugging DSO libc_malloc_debug.so to get
|
|
|
|
|
this functionality back.
|
|
|
|
|
|
2021-07-22 13:08:10 +00:00
|
|
|
|
* The deprecated functions malloc_get_state and malloc_set_state have been
|
|
|
|
|
moved from the core C library into libc_malloc_debug.so. Legacy applications
|
|
|
|
|
that still use these functions will now need to preload libc_malloc_debug.so
|
|
|
|
|
in their environment using the LD_PRELOAD environment variable.
|
|
|
|
|
|
2021-07-22 13:08:12 +00:00
|
|
|
|
* The deprecated memory allocation hooks __malloc_hook, __realloc_hook,
|
|
|
|
|
__memalign_hook and __free_hook are now removed from the API. Compatibility
|
|
|
|
|
symbols are present to support legacy programs but new applications can no
|
|
|
|
|
longer link to these symbols. These hooks no longer have any effect on glibc
|
|
|
|
|
functionality. The malloc debugging DSO libc_malloc_debug.so currently
|
|
|
|
|
supports hooks and can be preloaded to get this functionality back for older
|
|
|
|
|
programs. However this is a transitional measure and may be removed in a
|
|
|
|
|
future release of the GNU C Library. Users may port away from these hooks by
|
|
|
|
|
writing and preloading their own malloc interposition library.
|
|
|
|
|
|
2021-02-01 17:04:23 +00:00
|
|
|
|
Changes to build and runtime requirements:
|
|
|
|
|
|
2021-02-03 11:55:13 +00:00
|
|
|
|
* On Linux, the shm_open, sem_open, and related functions now expect the
|
|
|
|
|
file shared memory file system to be mounted at /dev/shm. These functions
|
|
|
|
|
no longer search among the system's mount points for a suitable
|
|
|
|
|
replacement if /dev/shm is not available.
|
2021-02-01 17:04:23 +00:00
|
|
|
|
|
|
|
|
|
Security related changes:
|
|
|
|
|
|
2021-03-03 19:52:57 +00:00
|
|
|
|
CVE-2021-27645: The nameserver caching daemon (nscd), when processing
|
|
|
|
|
a request for netgroup lookup, may crash due to a double-free,
|
|
|
|
|
potentially resulting in degraded service or Denial of Service on the
|
|
|
|
|
local system. Reported by Chris Schanzle.
|
2021-02-01 17:04:23 +00:00
|
|
|
|
|
2021-05-27 10:49:47 +00:00
|
|
|
|
CVE-2021-33574: The mq_notify function has a potential use-after-free
|
|
|
|
|
issue when using a notification type of SIGEV_THREAD and a thread
|
|
|
|
|
attribute with a non-default affinity mask.
|
|
|
|
|
|
2021-08-01 03:39:07 +00:00
|
|
|
|
CVE-2021-35942: The wordexp function may overflow the positional
|
|
|
|
|
parameter number when processing the expansion resulting in a crash.
|
|
|
|
|
Reported by Philippe Antoine.
|
|
|
|
|
|
2021-02-01 17:04:23 +00:00
|
|
|
|
The following bugs are resolved with this release:
|
|
|
|
|
|
2021-08-01 03:39:07 +00:00
|
|
|
|
[4737] libc: fork is not async-signal-safe
|
|
|
|
|
[5781] math: Slow dbl-64 sin/cos/sincos for special values
|
|
|
|
|
[10353] libc: Methods for deleting all file descriptors greater than
|
|
|
|
|
given integer (closefrom)
|
|
|
|
|
[14185] glob: fnmatch() fails when '*' wildcard is applied on the file
|
|
|
|
|
name containing multi-byte character(s)
|
|
|
|
|
[14469] math: Inaccurate j0f function
|
|
|
|
|
[14470] math: Inaccurate j1f function
|
|
|
|
|
[14471] math: Inaccurate y0f function
|
|
|
|
|
[14472] math: Inaccurate y1f function
|
|
|
|
|
[14744] nptl: kill -32 $pid or kill -33 $pid on a process cancels a
|
|
|
|
|
random thread
|
|
|
|
|
[15271] dynamic-link: dlmopen()ed shared library with LM_ID_NEWLM
|
|
|
|
|
crashes if it fails dlsym() twice
|
|
|
|
|
[15648] nptl: multiple definition of `__lll_lock_wait_private'
|
|
|
|
|
[16063] nptl: Provide a pthread_once variant in libc directly
|
|
|
|
|
[17144] libc: syslog is not thread-safe if NO_SIGPIPE is not defined
|
|
|
|
|
[17145] libc: syslog with LOG_CONS leaks console file descriptor
|
|
|
|
|
[17183] manual: description of ENTRY struct in <search.h> in glibc
|
|
|
|
|
manual is incorrect
|
|
|
|
|
[18435] nptl: pthread_once hangs when init routine throws an exception
|
|
|
|
|
[18524] nptl: Missing calloc error checking in
|
|
|
|
|
__cxa_thread_atexit_impl
|
|
|
|
|
[19329] dynamic-link: dl-tls.c assert failure at concurrent
|
|
|
|
|
pthread_create and dlopen
|
|
|
|
|
[19366] nptl: returning from a thread should disable cancellation
|
|
|
|
|
[19511] nptl: 8MB memory leak in pthread_create in case of failure
|
|
|
|
|
when non-root user changes priority
|
|
|
|
|
[20802] dynamic-link: getauxval NULL pointer dereference after static
|
|
|
|
|
dlopen
|
|
|
|
|
[20813] nptl: pthread_exit is inconsistent between libc and libpthread
|
|
|
|
|
[22057] malloc: malloc_usable_size is broken with mcheck
|
|
|
|
|
[22668] locale: LC_COLLATE: the last character of ellipsis is not
|
|
|
|
|
ordered correctly
|
|
|
|
|
[23323] libc: [RFE] CSU startup hardening.
|
|
|
|
|
[23328] malloc: Remove malloc hooks and ensure related APIs return no
|
|
|
|
|
data.
|
|
|
|
|
[23462] dynamic-link: Static binary with dynamic string tokens ($LIB,
|
|
|
|
|
$PLATFORM, $ORIGIN) crashes
|
|
|
|
|
[23489] libc: "gcc -lmcheck" aborts on free when using posix_memalign
|
|
|
|
|
[23554] nptl: pthread_getattr_np reports wrong stack size with
|
|
|
|
|
MULTI_PAGE_ALIASING
|
|
|
|
|
[24106] libc: Bash interpreter in ldd script is taken from host
|
|
|
|
|
[24773] dynamic-link: dlerror in an secondary namespace does not use
|
|
|
|
|
the right free implementation
|
|
|
|
|
[25036] localedata: Update collation order for Swedish
|
|
|
|
|
[25383] libc: where_is_shmfs/__shm_directory/SHM_GET_NAME may cause
|
|
|
|
|
shm_open to pick wrong directory
|
|
|
|
|
[25680] dynamic-link: ifuncmain9picstatic and ifuncmain9picstatic
|
|
|
|
|
crash in IFUNC resolver due to stack canary (--enable-stack-
|
|
|
|
|
protector=all)
|
|
|
|
|
[26874] build: -Warray-bounds in _IO_wdefault_doallocate
|
|
|
|
|
[26983] math: [x86_64] x86_64 tgamma has too large ULP error
|
|
|
|
|
[27111] dynamic-link: pthread_create and tls access use link_map
|
|
|
|
|
objects that may be concurrently freed by dlclose
|
|
|
|
|
[27132] malloc: memusagestat is linked to system librt, leading to
|
|
|
|
|
undefined symbols on major version upgrade
|
|
|
|
|
[27136] dynamic-link: dtv setup at thread creation may leave an entry
|
|
|
|
|
uninitialized
|
|
|
|
|
[27249] libc: libSegFault.so does not output signal number properly
|
|
|
|
|
[27304] nptl: pthread_cond_destroy does not pass private flag to futex
|
|
|
|
|
system calls
|
|
|
|
|
[27318] dynamic-link: glibc fails to load binaries when built with
|
|
|
|
|
-march=sandybridge: CPU ISA level is lower than required
|
|
|
|
|
[27343] nss: initgroups() SIGSEGVs when called on a system without
|
|
|
|
|
nsswich.conf (in a chroot)
|
|
|
|
|
[27346] dynamic-link: x86: PTWRITE feature check is missing
|
|
|
|
|
[27389] network: NSS chroot hardening causes regressions in chroot
|
|
|
|
|
deployments
|
|
|
|
|
[27403] dynamic-link: aarch64: tlsdesc htab is not freed on dlclose
|
|
|
|
|
[27444] libc: sysconf reports unsupported option (-1) for
|
|
|
|
|
_SC_LEVEL1_ICACHE_LINESIZE on X86 since v2.33
|
|
|
|
|
[27462] nscd: double-free in nscd (CVE-2021-27645)
|
|
|
|
|
[27468] malloc: aarch64: realloc crash with heap tagging: FAIL:
|
|
|
|
|
malloc/tst-malloc-thread-fail
|
|
|
|
|
[27498] dynamic-link: __dl_iterate_phdr lacks unwinding information
|
|
|
|
|
[27511] libc: S390 memmove assumes Vector Facility when MIE Facility 3
|
|
|
|
|
is present
|
|
|
|
|
[27522] glob: glob, glob64 incorrectly marked as __THROW
|
|
|
|
|
[27555] dynamic-link: Static tests fail with --enable-stack-
|
|
|
|
|
protector=all
|
|
|
|
|
[27559] libc: fstat(AT_FDCWD) succeeds (it shouldn't) and returns
|
|
|
|
|
information for the current directory
|
|
|
|
|
[27577] dynamic-link: elf/ld.so --help doesn't work
|
|
|
|
|
[27605] libc: tunables can't control xsave/xsavec selection in
|
|
|
|
|
dl_runtime_resolve_*
|
|
|
|
|
[27623] libc: powerpc: Missing registers in sc[v] clobbers list
|
|
|
|
|
[27645] libc: [linux] sysconf(_SC_NPROCESSOR...) breaks down on
|
|
|
|
|
containers
|
|
|
|
|
[27646] dynamic-link: Linker error for non-existing NSS symbols (e.g.
|
|
|
|
|
_nss_files_getcanonname_r) from within a dlmopen namespace.
|
|
|
|
|
[27648] libc: FAIL: misc/tst-select
|
|
|
|
|
[27650] stdio: vfscanf returns too early if a match is longer than
|
|
|
|
|
INT_MAX
|
|
|
|
|
[27651] libc: Performance regression after updating to 2.33
|
|
|
|
|
[27655] string: Wrong size calculation in string/test-strnlen.c
|
|
|
|
|
[27706] libc: select fails to update timeout on error
|
|
|
|
|
[27709] libc: arm: FAIL: debug/tst-longjmp_chk2
|
|
|
|
|
[27721] dynamic-link: x86: ld_audit ignores bind now for TLSDESC and
|
|
|
|
|
tries resolving them lazily
|
|
|
|
|
[27744] nptl: Support different libpthread/ld.so load orders in
|
|
|
|
|
libthread_db
|
|
|
|
|
[27749] libc: Data race __run_exit_handlers
|
|
|
|
|
[27761] libc: getconf: Segmentation fault when passing '-vq' as
|
|
|
|
|
argument
|
|
|
|
|
[27832] nss: makedb.c:797:7: error: 'writev' specified size 4294967295
|
|
|
|
|
exceeds maximum object size 2147483647
|
|
|
|
|
[27870] malloc: MALLOC_CHECK_ causes realloc(valid_ptr, TOO_LARGE) to
|
|
|
|
|
not set ENOMEM
|
|
|
|
|
[27872] build: Obsolete configure option --enable-stackguard-
|
|
|
|
|
randomization
|
|
|
|
|
[27873] build: tst-cpu-features-cpuinfo fail when building on AMD cpu
|
|
|
|
|
[27882] localedata: Use U+00AF MACRON in more EBCDIC charsets
|
|
|
|
|
[27892] libc: powerpc: scv ABI error handling fails to check
|
|
|
|
|
IS_ERR_VALUE
|
|
|
|
|
[27896] nptl: mq_notify does not handle separately allocated thread
|
|
|
|
|
attributes (CVE-2021-33574)
|
|
|
|
|
[27901] libc: TEST_STACK_ALIGN doesn't work
|
|
|
|
|
[27902] libc: The x86-64 clone wrapper fails to align child stack
|
|
|
|
|
[27914] nptl: Install SIGSETXID handler with SA_ONSTACK
|
|
|
|
|
[27939] libc: aarch64: clone does not align the stack
|
|
|
|
|
[27968] libc: s390x: clone does not align the stack
|
|
|
|
|
[28011] libc: Wild read in wordexp (parse_param) (CVE-2021-35942)
|
|
|
|
|
[28024] string: s390(31bit): Wrong result of memchr (MEMCHR_Z900_G5)
|
|
|
|
|
with n >= 0x80000000
|
|
|
|
|
[28028] malloc: malloc: tcache shutdown sequence does not work if the
|
|
|
|
|
thread never allocated anything
|
|
|
|
|
[28033] libc: Need to check RTM_ALWAYS_ABORT for RTM
|
|
|
|
|
[28064] string: x86_64:wcslen implementation list has wcsnlen
|
|
|
|
|
[28067] libc: FAIL: posix/tst-spawn5
|
|
|
|
|
[28068] malloc: FAIL: malloc/tst-mallocalign1-mcheck
|
|
|
|
|
[28071] time: clock_gettime, gettimeofday, time lost vDSO acceleration
|
|
|
|
|
on older kernels
|
|
|
|
|
[28075] nis: Out-of-bounds static buffer read in nis_local_domain
|
|
|
|
|
[28089] build: tst-tls20 fails when linker defaults to --as-needed
|
|
|
|
|
[28090] build: elf/tst-cpu-features-cpuinfo-static fails on certain
|
|
|
|
|
AMD64 cpus
|
|
|
|
|
[28091] network: ns_name_skip may return 0 for domain names without
|
|
|
|
|
terminator
|
2021-02-01 17:04:23 +00:00
|
|
|
|
|
2020-08-05 03:41:43 +00:00
|
|
|
|
|
|
|
|
|
Version 2.33
|
|
|
|
|
|
|
|
|
|
Major new features:
|
|
|
|
|
|
2020-07-12 13:04:53 +00:00
|
|
|
|
* The dynamic linker accepts the --list-tunables argument which prints
|
|
|
|
|
all the supported tunables. This option is disable if glibc is
|
|
|
|
|
configured with tunables disabled (--enable-tunables=no).
|
|
|
|
|
|
2020-09-29 10:34:39 +00:00
|
|
|
|
* The dynamic linker accepts the --argv0 argument and provides opportunity
|
|
|
|
|
to change argv[0] string.
|
|
|
|
|
|
2021-01-29 16:26:18 +00:00
|
|
|
|
* The dynamic linker loads optimized implementations of shared objects
|
|
|
|
|
from subdirectories under the glibc-hwcaps directory on the library
|
|
|
|
|
search path if the system's capabilities meet the requirements for
|
|
|
|
|
that subdirectory. Initially supported subdirectories include
|
|
|
|
|
"power9" and "power10" for the powerpc64le-linux-gnu architecture,
|
|
|
|
|
"z13", "z14", "z15" for s390x-linux-gnu, and "x86-64-v2", "x86-64-v3",
|
|
|
|
|
"x86-64-v4" for x86_64-linux-gnu. In the x86_64-linux-gnu case, the
|
|
|
|
|
subdirectory names correspond to the vendor-independent x86-64
|
|
|
|
|
microarchitecture levels defined in the x86-64 psABI supplement.
|
|
|
|
|
|
|
|
|
|
* The new --help option of the dynamic linker provides usage and
|
|
|
|
|
information and library search path diagnostics.
|
|
|
|
|
|
2020-09-01 20:17:25 +00:00
|
|
|
|
* The mallinfo2 function is added to report statistics as per mallinfo,
|
|
|
|
|
but with larger field widths to accurately report values that are
|
|
|
|
|
larger than fit in an integer.
|
|
|
|
|
|
x86: Install <sys/platform/x86.h> [BZ #26124]
Install <sys/platform/x86.h> so that programmers can do
#if __has_include(<sys/platform/x86.h>)
#include <sys/platform/x86.h>
#endif
...
if (CPU_FEATURE_USABLE (SSE2))
...
if (CPU_FEATURE_USABLE (AVX2))
...
<sys/platform/x86.h> exports only:
enum
{
COMMON_CPUID_INDEX_1 = 0,
COMMON_CPUID_INDEX_7,
COMMON_CPUID_INDEX_80000001,
COMMON_CPUID_INDEX_D_ECX_1,
COMMON_CPUID_INDEX_80000007,
COMMON_CPUID_INDEX_80000008,
COMMON_CPUID_INDEX_7_ECX_1,
/* Keep the following line at the end. */
COMMON_CPUID_INDEX_MAX
};
struct cpuid_features
{
struct cpuid_registers cpuid;
struct cpuid_registers usable;
};
struct cpu_features
{
struct cpu_features_basic basic;
struct cpuid_features features[COMMON_CPUID_INDEX_MAX];
};
/* Get a pointer to the CPU features structure. */
extern const struct cpu_features *__x86_get_cpu_features
(unsigned int max) __attribute__ ((const));
Since all feature checks are done through macros, programs compiled with
a newer <sys/platform/x86.h> are compatible with the older glibc binaries
as long as the layout of struct cpu_features is identical. The features
array can be expanded with backward binary compatibility for both .o and
.so files. When COMMON_CPUID_INDEX_MAX is increased to support new
processor features, __x86_get_cpu_features in the older glibc binaries
returns NULL and HAS_CPU_FEATURE/CPU_FEATURE_USABLE return false on the
new processor feature. No new symbol version is neeeded.
Both CPU_FEATURE_USABLE and HAS_CPU_FEATURE are provided. HAS_CPU_FEATURE
can be used to identify processor features.
Note: Although GCC has __builtin_cpu_supports, it only supports a subset
of <sys/platform/x86.h> and it is equivalent to CPU_FEATURE_USABLE. It
doesn't support HAS_CPU_FEATURE.
2020-06-30 01:30:54 +00:00
|
|
|
|
* Add <sys/platform/x86.h> to provide query macros for x86 CPU features.
|
2020-07-14 13:29:56 +00:00
|
|
|
|
|
|
|
|
|
* Support for the RISC-V ISA running on Linux has been expanded to run on
|
|
|
|
|
32-bit hardware. This is supported for the following ISA and ABI pairs:
|
|
|
|
|
|
|
|
|
|
- rv32imac ilp32
|
|
|
|
|
- rv32imafdc ilp32
|
|
|
|
|
- rv32imafdc ilp32d
|
|
|
|
|
|
|
|
|
|
The 32-bit RISC-V port requires at least Linux 5.4, GCC 7.1 and binutils
|
|
|
|
|
2.28.
|
2020-08-05 03:41:43 +00:00
|
|
|
|
|
Introduce _FORTIFY_SOURCE=3
Introduce a new _FORTIFY_SOURCE level of 3 to enable additional
fortifications that may have a noticeable performance impact, allowing
more fortification coverage at the cost of some performance.
With llvm 9.0 or later, this will replace the use of
__builtin_object_size with __builtin_dynamic_object_size.
__builtin_dynamic_object_size
-----------------------------
__builtin_dynamic_object_size is an LLVM builtin that is similar to
__builtin_object_size. In addition to what __builtin_object_size
does, i.e. replace the builtin call with a constant object size,
__builtin_dynamic_object_size will replace the call site with an
expression that evaluates to the object size, thus expanding its
applicability. In practice, __builtin_dynamic_object_size evaluates
these expressions through malloc/calloc calls that it can associate
with the object being evaluated.
A simple motivating example is below; -D_FORTIFY_SOURCE=2 would miss
this and emit memcpy, but -D_FORTIFY_SOURCE=3 with the help of
__builtin_dynamic_object_size is able to emit __memcpy_chk with the
allocation size expression passed into the function:
void *copy_obj (const void *src, size_t alloc, size_t copysize)
{
void *obj = malloc (alloc);
memcpy (obj, src, copysize);
return obj;
}
Limitations
-----------
If the object was allocated elsewhere that the compiler cannot see, or
if it was allocated in the function with a function that the compiler
does not recognize as an allocator then __builtin_dynamic_object_size
also returns -1.
Further, the expression used to compute object size may be non-trivial
and may potentially incur a noticeable performance impact. These
fortifications are hence enabled at a new _FORTIFY_SOURCE level to
allow developers to make a choice on the tradeoff according to their
environment.
2020-12-30 06:24:00 +00:00
|
|
|
|
* A new fortification level _FORTIFY_SOURCE=3 is available. At this level,
|
|
|
|
|
glibc may use additional checks that may have an additional performance
|
|
|
|
|
overhead. At present these checks are available only on LLVM 9 and later.
|
|
|
|
|
The latest GCC available at this time (10.2) does not support this level of
|
|
|
|
|
fortification.
|
|
|
|
|
|
2020-08-05 03:41:43 +00:00
|
|
|
|
Deprecated and removed features, and other changes affecting compatibility:
|
|
|
|
|
|
2020-09-01 20:17:25 +00:00
|
|
|
|
* The mallinfo function is marked deprecated. Callers should call
|
|
|
|
|
mallinfo2 instead.
|
2020-08-05 03:41:43 +00:00
|
|
|
|
|
2020-10-07 14:40:23 +00:00
|
|
|
|
* When dlopen is used in statically linked programs, alternative library
|
|
|
|
|
implementations from HWCAP subdirectories are no longer loaded.
|
|
|
|
|
Instead, the default implementation is used.
|
|
|
|
|
|
2020-10-16 17:51:40 +00:00
|
|
|
|
* The deprecated <sys/vtimes.h> header and the function vtimes have been
|
|
|
|
|
removed. To support old binaries, the vtimes function continues to exist
|
|
|
|
|
as a compatibility symbol. Applications should use the getrlimit or
|
|
|
|
|
prlimit.
|
|
|
|
|
|
2020-11-25 14:51:51 +00:00
|
|
|
|
* Following a change in the tzdata 2018a release upstream, the zdump
|
|
|
|
|
program is now installed in the /usr/bin subdirectory. Previously,
|
|
|
|
|
the /usr/sbin subdirectory was used.
|
|
|
|
|
|
2020-11-30 14:53:59 +00:00
|
|
|
|
* On s390(x), the type float_t is now derived from the macro
|
|
|
|
|
__FLT_EVAL_METHOD__ that is defined by the compiler, instead of being
|
|
|
|
|
hardcoded to 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. The new definition
|
|
|
|
|
improves consistency with compiler behavior in many scenarios.
|
|
|
|
|
|
2021-01-29 16:26:18 +00:00
|
|
|
|
* A future version of glibc will stop loading shared objects from the
|
|
|
|
|
"tls" subdirectories on the library search path, the subdirectory that
|
|
|
|
|
corresponds to the AT_PLATFORM system name, and also stop employing
|
|
|
|
|
the legacy AT_HWCAP search mechanism. Applications should switch to
|
|
|
|
|
the new glibc-hwcaps mechanism instead; if they do not do that, only
|
|
|
|
|
the baseline version (directly from the search path directory) will be
|
|
|
|
|
loaded.
|
|
|
|
|
|
2020-08-05 03:41:43 +00:00
|
|
|
|
Changes to build and runtime requirements:
|
|
|
|
|
|
2020-10-07 12:55:04 +00:00
|
|
|
|
* On Linux, the system administrator needs to configure /dev/pts with
|
|
|
|
|
the intended access modes for pseudo-terminals. glibc no longer
|
|
|
|
|
attemps to adjust permissions of terminal devices. The previous glibc
|
|
|
|
|
defaults ("tty" group, user read/write and group write) already
|
|
|
|
|
corresponded to what most systems used, so that grantpt did not
|
|
|
|
|
perform any adjustments.
|
|
|
|
|
|
|
|
|
|
* On Linux, the posix_openpt and getpt functions no longer attempt to
|
|
|
|
|
use legacy (BSD) pseudo-terminals and assume that if /dev/ptmx exists
|
|
|
|
|
(and pseudo-terminals are supported), a devpts file system is mounted
|
|
|
|
|
on /dev/pts. Current systems already meet these requirements.
|
2020-08-05 03:41:43 +00:00
|
|
|
|
|
2020-12-15 14:18:03 +00:00
|
|
|
|
* s390x requires GCC 7.1 or newer. See gcc Bug 98269.
|
|
|
|
|
|
2020-08-05 03:41:43 +00:00
|
|
|
|
Security related changes:
|
|
|
|
|
|
2021-01-29 16:29:57 +00:00
|
|
|
|
CVE-2021-3326: An assertion failure during conversion from the
|
2021-01-29 17:20:54 +00:00
|
|
|
|
ISO-20220-JP-3 character set using the iconv function has been fixed.
|
2021-01-29 16:29:57 +00:00
|
|
|
|
This assertion was triggered by certain valid inputs in which the
|
|
|
|
|
converted output contains a combined sequence of two wide characters
|
|
|
|
|
crossing a buffer boundary. Reported by Tavis Ormandy.
|
|
|
|
|
|
2020-11-04 11:19:38 +00:00
|
|
|
|
CVE-2020-27618: An infinite loop has been fixed in the iconv program when
|
|
|
|
|
invoked with input containing redundant shift sequences in the IBM1364,
|
|
|
|
|
IBM1371, IBM1388, IBM1390, or IBM1399 character sets.
|
2020-08-05 03:41:43 +00:00
|
|
|
|
|
2020-12-07 16:59:18 +00:00
|
|
|
|
CVE-2020-29562: An assertion failure has been fixed in the iconv function
|
|
|
|
|
when invoked with UCS4 input containing an invalid character.
|
|
|
|
|
|
2021-01-08 03:47:06 +00:00
|
|
|
|
CVE-2019-25013: A buffer overflow has been fixed in the iconv function when
|
|
|
|
|
invoked with EUC-KR input containing invalid multibyte input sequences.
|
|
|
|
|
|
2020-08-05 03:41:43 +00:00
|
|
|
|
The following bugs are resolved with this release:
|
|
|
|
|
|
2021-02-01 16:44:05 +00:00
|
|
|
|
[10635] libc: realpath portability patches
|
|
|
|
|
[16124] dynamic-link: ld.so should allow to change argv[0]
|
|
|
|
|
[17924] malloc: 'free' should not set errno
|
|
|
|
|
[18683] libc: Linux faccessat implementation can incorrectly ignore
|
|
|
|
|
AT_EACCESS
|
|
|
|
|
[22899] libc: Use 64-bit readdir() in generic POSIX getcwd()
|
2021-02-23 12:35:34 +00:00
|
|
|
|
[23091] hurd: missing waitid support
|
2021-02-01 16:44:05 +00:00
|
|
|
|
[23249] libc: Epyc and other current AMD CPUs do not select the
|
|
|
|
|
"haswell" platform subdirectory
|
|
|
|
|
[24080] dynamic-link: Definition of "haswell" platform is inconsistent
|
|
|
|
|
with GCC
|
|
|
|
|
[24202] libc: m68k setjmp() saves incorrect 'a5' register in --enable-
|
|
|
|
|
stack-protector=all
|
|
|
|
|
[24941] libc: Make grantpt usable after multi-threaded fork in more
|
|
|
|
|
cases
|
|
|
|
|
[24970] libc: realpath mishandles EOVERFLOW; stat not needed anyway
|
|
|
|
|
[24973] locale: iconv encounters segmentation fault when converting
|
|
|
|
|
0x00 0xfe in EUC-KR to UTF-8 (CVE-2019-25013)
|
|
|
|
|
[25399] string: undefined reference to `__warn_memset_zero_len' when
|
|
|
|
|
changing gnuc version
|
|
|
|
|
[25859] libc: glibc parser for /sys/devices/system/cpu/online is
|
|
|
|
|
incorrect
|
|
|
|
|
[25938] dynamic-link: ld.so.cache should store meaning of hwcap mask
|
|
|
|
|
bits
|
|
|
|
|
[25971] libc: s390 bits/hwcap.h out of sync with kernel
|
|
|
|
|
[26053] libc: unlockpt fails with ENOTTY for non-ptmx descriptors
|
|
|
|
|
[26100] libc: Race in syslog(3) with regards to tag printing.
|
|
|
|
|
[26124] libc: Export <cpu-features.h>
|
|
|
|
|
[26130] nscd: Inconsistent nscd cache during pruning
|
|
|
|
|
[26203] libc: GLRO(dl_x86_cpu_features) may not be intialized
|
|
|
|
|
[26224] locale: iconv hangs when converting some invalid inputs from
|
|
|
|
|
several IBM character sets (CVE-2020-27618)
|
|
|
|
|
[26341] libc: realpath cyclically call __alloca(path_max) to consume
|
|
|
|
|
too much stack space
|
|
|
|
|
[26343] manual: invalid documented return type for strerrorname_np(),
|
|
|
|
|
strerrordesc_np(), sigdescr_np(), sigabbrev_np()
|
|
|
|
|
[26376] libc: Namespace violation in stdio.h and sys/stat.h if build
|
|
|
|
|
with optimization.
|
|
|
|
|
[26383] locale: bind_textdomain_codeset doesn't accept //TRANSLIT
|
|
|
|
|
anymore
|
|
|
|
|
[26394] time: [2.33 Regression] FAIL: nptl/tst-join14
|
|
|
|
|
[26534] math: libm.so 2.32 SIGILL in pow() due to FMA4 instruction on
|
|
|
|
|
non-FMA4 system
|
|
|
|
|
[26552] dynamic-link: CPU_FEATURE_USABLE_P should be more conservative
|
|
|
|
|
[26553] libc: mtx_init allows type set to "mtx_recursive" only
|
|
|
|
|
[26555] string: strerrorname_np does not return the documented value
|
|
|
|
|
[26592] libc: pointer arithmetic overflows in realpath
|
|
|
|
|
[26600] network: Transaction ID collisions cause slow DNS lookups in
|
|
|
|
|
getaddrinfo
|
|
|
|
|
[26606] libc: [2.33 Regression] pselect is broken on x32
|
|
|
|
|
[26615] libc: powerpc: libc segfaults when LD_PRELOADed with libgcc
|
|
|
|
|
[26620] glob: fnmatch with collating symbols results in segmentation
|
|
|
|
|
fault
|
|
|
|
|
[26625] libc: [2.33 Regression] CET is disabled
|
|
|
|
|
[26636] libc: 32-bit shmctl(IPC_INFO) crashes when shminfo struct is
|
|
|
|
|
at the end of a memory mapping
|
|
|
|
|
[26637] libc: semctl SEM_STAT_ANY fails to pass the buffer specified
|
|
|
|
|
by the caller to the kernel
|
|
|
|
|
[26639] libc: msgctl IPC_INFO and MSG_INFO return garbage
|
|
|
|
|
[26647] build: [-Werror=array-parameter=] due to different
|
|
|
|
|
declarations for __sigsetjmp
|
|
|
|
|
[26648] libc: mkstemp is likely to fail on systems with non-stricly-
|
|
|
|
|
monotonic clocks
|
|
|
|
|
[26649] stdio: printf should handle non-normal x86 long double numbers
|
|
|
|
|
gracefully (CVE-2020-29573)
|
|
|
|
|
[26686] build: -Warray-parameter instances building with GCC 11
|
|
|
|
|
[26687] build: -Warray-bounds instances building with GCC 11
|
|
|
|
|
[26690] stdio: Aliasing violation in __vfscanf_internal
|
|
|
|
|
[26691] nptl: Use a minimum guard size of 64 KiB on aarch64
|
|
|
|
|
[26726] build: GCC warning calling new_composite_name with an array of
|
|
|
|
|
one element
|
|
|
|
|
[26736] libc: FAIL: misc/tst-sysvshm-linux
|
|
|
|
|
[26737] libc: Random FAIL: rt/tst-shm
|
|
|
|
|
[26791] libc: Missing O_CLOEXEC in sysconf.c
|
|
|
|
|
[26798] dynamic-link: aarch64: variant PCS symbols may be incorrectly
|
|
|
|
|
lazy bound
|
|
|
|
|
[26801] nptl: pthread_mutex_clocklock with CLOCK_MONOTONIC can fail on
|
|
|
|
|
PI mutexes
|
|
|
|
|
[26818] string: aarch64: string tests may run ifunc variants that are
|
|
|
|
|
not safe
|
|
|
|
|
[26821] libc: Memory leak test failures on Fedora 33
|
|
|
|
|
[26824] libc: FAIL: elf/tst-cpu-features-supports with recent trunk:
|
|
|
|
|
FSGSBASE/LM/RDRAND check failure
|
|
|
|
|
[26833] time: adjtime() with delta == NULL segfaults on armv7 32bit
|
|
|
|
|
platform
|
|
|
|
|
[26853] libc: aarch64: Missing unwind information in statically linked
|
|
|
|
|
startup code
|
|
|
|
|
[26923] locale: Assertion failure in iconv when converting invalid
|
|
|
|
|
UCS4 (CVE-2020-29562)
|
|
|
|
|
[26926] dynamic-link: aarch64: library dependencies are not bti
|
|
|
|
|
protected
|
|
|
|
|
[26932] libc: sh: Multiple floating point functions defined as stubs
|
|
|
|
|
only since 2.31
|
|
|
|
|
[26964] nptl: pthread_mutex_timedlock returning EAGAIN after futex is
|
|
|
|
|
locked
|
|
|
|
|
[26988] dynamic-link: aarch64: BTI mprotect address is not page
|
|
|
|
|
aligned
|
|
|
|
|
[27002] build: libc_freeres_fn build failure with GCC 11
|
|
|
|
|
[27004] dynamic-link: ld.so is miscompiled by GCC 11
|
|
|
|
|
[27008] dynamic-link: ld.so.cache should have endianness markup
|
|
|
|
|
[27042] libc: [alpha] anonymous union in struct stat confuses
|
|
|
|
|
detection logic
|
|
|
|
|
[27053] libc: Conformance regression in system(3) (and probably also
|
|
|
|
|
pclose(3))
|
|
|
|
|
[27072] dynamic-link: static pie ifunc resolvers run before hwcap is
|
|
|
|
|
setup
|
|
|
|
|
[27077] network: Do not reload /etc/nsswitch.conf from chroot
|
|
|
|
|
[27083] libc: Unsafe unbounded alloca in addmntent
|
|
|
|
|
[27104] dynamic-link: The COMMON_CPUID_INDEX_MAX handshake does not
|
|
|
|
|
work
|
|
|
|
|
[27130] string: "rep movsb" performance issue
|
|
|
|
|
[27150] libc: alpha: wait4() is unavailable in static linking
|
|
|
|
|
[27177] dynamic-link:
|
|
|
|
|
GLIBC_TUNABLES=glibc.cpu.x86_ibt=on:glibc.cpu.x86_shstk=on doesn't
|
|
|
|
|
work
|
|
|
|
|
[27222] dynamic-link: Incorrect sysdeps/x86/tst-cpu-features-cpuinfo.c
|
|
|
|
|
[27237] malloc: deadlock in malloc/tst-malloc-stats-cancellation
|
|
|
|
|
[27256] locale: Assertion failure in ISO-2022-JP-3 gconv module
|
|
|
|
|
related to combining characters (CVE-2021-3326)
|
2020-08-05 03:41:43 +00:00
|
|
|
|
|
2019-08-01 04:41:53 +00:00
|
|
|
|
|
2020-02-01 11:38:55 +00:00
|
|
|
|
Version 2.32
|
|
|
|
|
|
|
|
|
|
Major new features:
|
|
|
|
|
|
2020-07-08 12:41:23 +00:00
|
|
|
|
* Unicode 13.0.0 Support: Character encoding, character type info, and
|
|
|
|
|
transliteration tables are all updated to Unicode 13.0.0, using
|
2020-04-14 16:43:13 +00:00
|
|
|
|
generator scripts contributed by Mike FABIAN (Red Hat).
|
|
|
|
|
|
|
|
|
|
* New locale added: ckb_IQ (Kurdish/Sorani spoken in Iraq)
|
2020-02-01 11:38:55 +00:00
|
|
|
|
|
2017-11-20 20:46:17 +00:00
|
|
|
|
* Support for Synopsys ARC HS cores (ARCv2 ISA) running Linux has been
|
|
|
|
|
added. This port requires at least binutils-2.32, gcc-8.3 and Linux-5.1.
|
|
|
|
|
Three ABIs are supported:
|
|
|
|
|
|
|
|
|
|
- arc-linux-gnu
|
|
|
|
|
- arc-linux-gnuhf
|
|
|
|
|
- arceb-linux-gnu
|
|
|
|
|
|
2020-12-08 14:56:32 +00:00
|
|
|
|
The arc* ABIs are little-endian while arceb is big-endian. All ABIs use
|
2017-11-20 20:46:17 +00:00
|
|
|
|
64-bit time (y2038 safe) and 64-bit file offsets (LFS default).
|
|
|
|
|
|
2020-02-17 15:49:40 +00:00
|
|
|
|
* The GNU C Library now loads audit modules listed in the DT_AUDIT and
|
|
|
|
|
DT_DEPAUDIT dynamic section entries of the main executable.
|
|
|
|
|
|
2019-07-11 14:48:28 +00:00
|
|
|
|
* powerpc64le supports IEEE128 long double libm/libc redirects when
|
2020-12-08 14:56:32 +00:00
|
|
|
|
using -mabi=ieeelongdouble to compile C code on supported GCC
|
2019-07-11 14:48:28 +00:00
|
|
|
|
toolchains. It is recommended to use GCC 8 or newer when testing
|
|
|
|
|
this option.
|
|
|
|
|
|
2020-05-20 15:40:34 +00:00
|
|
|
|
* To help detect buffer overflows and other out-of-bounds accesses
|
|
|
|
|
several APIs have been annotated with GCC 'access' attribute. This
|
|
|
|
|
should help GCC 10 issue better warnings.
|
|
|
|
|
|
2020-12-08 14:56:32 +00:00
|
|
|
|
* On Linux, functions pthread_attr_setsigmask_np and
|
2020-06-02 08:34:55 +00:00
|
|
|
|
pthread_attr_getsigmask_np have been added. They allow applications
|
|
|
|
|
to specify the signal mask of a thread created with pthread_create.
|
|
|
|
|
|
2020-05-20 13:40:35 +00:00
|
|
|
|
* The GNU C Library now provides the header file <sys/single_threaded.h>
|
|
|
|
|
which declares the variable __libc_single_threaded. Applications are
|
|
|
|
|
encouraged to use this variable for single-thread optimizations,
|
|
|
|
|
instead of weak references to symbols historically defined in
|
|
|
|
|
libpthread.
|
|
|
|
|
|
2020-05-18 20:05:05 +00:00
|
|
|
|
* The functions sigabbrev_np and sigdescr_np have been added. The
|
2020-12-08 14:56:32 +00:00
|
|
|
|
sigabbrev_np function returns the abbreviated signal name (e.g. "HUP" for
|
|
|
|
|
SIGHUP) while sigdescr_np returns a string describing the signal number
|
|
|
|
|
(e.g "Hangup" for SIGHUP). Different than strsignal, sigdescr_np does not
|
2020-05-18 20:05:05 +00:00
|
|
|
|
attempt to translate the return description, both functions return
|
|
|
|
|
NULL for an invalid signal number.
|
|
|
|
|
|
|
|
|
|
They should be used instead of sys_siglist or sys_sigabbrev and they
|
|
|
|
|
are both thread and async-signal safe. These functions are GNU extensions.
|
|
|
|
|
|
2020-05-18 20:41:25 +00:00
|
|
|
|
* The functions strerrorname_np and strerrordesc_np have been added. The
|
2020-12-08 14:56:32 +00:00
|
|
|
|
strerroname_np function returns error number name (e.g. "EINVAL" for EINVAL)
|
|
|
|
|
while strerrordesc_np returns a string describing the error number
|
2020-05-18 20:41:25 +00:00
|
|
|
|
(e.g "Invalid argument" for EINVAL). Different than strerror,
|
|
|
|
|
strerrordesc_np does not attempt to translate the return description, both
|
|
|
|
|
functions return NULL for an invalid error number.
|
|
|
|
|
|
|
|
|
|
They should be used instead of sys_errlist and sys_nerr, both are
|
|
|
|
|
thread and async-signal safe. These functions are GNU extensions.
|
|
|
|
|
|
2020-06-11 17:19:40 +00:00
|
|
|
|
* AArch64 now supports standard branch protection security hardening
|
|
|
|
|
in glibc when it is built with a GCC that is configured with
|
2020-07-29 07:27:27 +00:00
|
|
|
|
--enable-standard-branch-protection (or if -mbranch-protection=standard
|
|
|
|
|
flag is passed when building both GCC target libraries and glibc,
|
|
|
|
|
in either case a custom GCC is needed). This includes branch target
|
2020-06-11 17:19:40 +00:00
|
|
|
|
identification (BTI) and pointer authentication for return addresses
|
|
|
|
|
(PAC-RET). They require armv8.5-a and armv8.3-a architecture
|
|
|
|
|
extensions respectively for the protection to be effective,
|
|
|
|
|
otherwise the used instructions are nops. User code can use PAC-RET
|
|
|
|
|
without libc support, but BTI requires a libc that is built with BTI
|
|
|
|
|
support, otherwise runtime objects linked into user code will not be
|
|
|
|
|
BTI compatible.
|
|
|
|
|
|
2020-02-01 11:38:55 +00:00
|
|
|
|
Deprecated and removed features, and other changes affecting compatibility:
|
|
|
|
|
|
2020-07-13 17:36:35 +00:00
|
|
|
|
* Remove configure option --enable-obsolete-rpc. Sun RPC is removed
|
|
|
|
|
from glibc. This includes the rpcgen program, librpcsvc, and the Sun
|
|
|
|
|
RPC header files. Backward compatibility for old programs is kept
|
|
|
|
|
only for architectures and ABIs that have been added in or before
|
|
|
|
|
glibc 2.31. New programs need to use TI-RPC
|
|
|
|
|
<http://git.linux-nfs.org/?p=steved/libtirpc.git;a=summary> and
|
|
|
|
|
rpcsvc-proto <https://github.com/thkukuk/rpcsvc-proto>.
|
|
|
|
|
|
2020-07-08 11:06:55 +00:00
|
|
|
|
* Remove configure option --enable-obsolete-nsl. libnsl is only built
|
|
|
|
|
as shared library for backward compatibility and the NSS modules "nis"
|
|
|
|
|
and "nisplus" are not built at all and libnsl's headers aren't
|
|
|
|
|
installed. This compatibility is kept only for architectures and ABIs
|
|
|
|
|
that have been added in or before version 2.28. Replacement
|
|
|
|
|
implementations based on TI-RPC, which additionally support IPv6, are
|
|
|
|
|
available from <https://github.com/thkukuk/>. This change does not
|
2020-12-08 14:56:32 +00:00
|
|
|
|
affect the "compat" NSS module, which does not depend on libnsl
|
2020-07-08 11:06:55 +00:00
|
|
|
|
since 2.27 and thus can be used without NIS.
|
|
|
|
|
|
2020-04-15 15:17:32 +00:00
|
|
|
|
* The deprecated <sys/sysctl.h> header and the sysctl function have been
|
|
|
|
|
removed. To support old binaries, the sysctl function continues to
|
|
|
|
|
exist as a compatibility symbol (on those architectures which had it),
|
|
|
|
|
but always fails with ENOSYS. This reflects the removal of the system
|
|
|
|
|
call from all architectures, starting with Linux 5.5.
|
2020-02-01 11:38:55 +00:00
|
|
|
|
|
2020-04-28 10:10:32 +00:00
|
|
|
|
* The sstk function is no longer available to newly linked binaries.
|
|
|
|
|
Its implementation always returned with a failure, and the function
|
|
|
|
|
was not declared in any header file.
|
|
|
|
|
|
2020-05-25 16:32:28 +00:00
|
|
|
|
* The legacy signal handling functions siginterrupt, sigpause, sighold,
|
|
|
|
|
sigrelse, sigignore and sigset, and the sigmask macro have been
|
|
|
|
|
deprecated. Applications should use the sigsuspend, sigprocmask and
|
|
|
|
|
sigaction functions instead.
|
|
|
|
|
|
2020-05-19 12:41:48 +00:00
|
|
|
|
* ldconfig now defaults to the new format for ld.so.cache. glibc has
|
|
|
|
|
already supported this format for almost 20 years.
|
|
|
|
|
|
2020-04-24 14:09:00 +00:00
|
|
|
|
* The deprecated arrays sys_siglist, _sys_siglist, and sys_sigabbrev
|
|
|
|
|
are no longer available to newly linked binaries, and their declarations
|
|
|
|
|
have been removed from <string.h>. They are exported solely as
|
|
|
|
|
compatibility symbols to support old binaries. All programs should use
|
|
|
|
|
strsignal instead.
|
|
|
|
|
|
2020-04-25 00:25:31 +00:00
|
|
|
|
* The deprecated symbols sys_errlist, _sys_errlist, sys_nerr, and _sys_nerr
|
|
|
|
|
are no longer available to newly linked binaries, and their declarations
|
2020-12-08 14:56:32 +00:00
|
|
|
|
have been removed from <stdio.h>. They are exported solely as
|
2020-04-25 00:25:31 +00:00
|
|
|
|
compatibility symbols to support old binaries. All programs should use
|
|
|
|
|
strerror or strerror_r instead.
|
|
|
|
|
|
2020-05-14 20:44:15 +00:00
|
|
|
|
* Both strerror and strerror_l now share the same internal buffer in the
|
|
|
|
|
calling thread, meaning that the returned string pointer may be invalided
|
|
|
|
|
or contents might be overwritten on subsequent calls in the same thread or
|
|
|
|
|
if the thread is terminated. It makes strerror MT-safe.
|
|
|
|
|
|
2020-07-24 14:50:38 +00:00
|
|
|
|
* Using weak references to libpthread functions such as pthread_create
|
|
|
|
|
or pthread_key_create to detect the singled-threaded nature of a
|
|
|
|
|
program is an obsolescent feature. Future versions of glibc will
|
|
|
|
|
define pthread_create within libc.so.6 itself, so such checks will
|
|
|
|
|
always flag the program as multi-threaded. Applications should check
|
|
|
|
|
the __libc_single_threaded variable declared in
|
|
|
|
|
<sys/single_threaded.h> instead.
|
|
|
|
|
|
2020-07-08 11:06:55 +00:00
|
|
|
|
* The "files" NSS module no longer supports the "key" database (used for
|
|
|
|
|
secure RPC). The contents of the /etc/publickey file will be ignored,
|
|
|
|
|
regardless of the settings in /etc/nsswitch.conf. (This method of
|
|
|
|
|
storing RPC keys only supported the obsolete and insecure AUTH_DES
|
|
|
|
|
flavor of secure RPC.)
|
2020-07-06 18:20:44 +00:00
|
|
|
|
|
2020-07-13 07:58:37 +00:00
|
|
|
|
* The __morecore and __after_morecore_hook malloc hooks and the default
|
|
|
|
|
implementation __default_morecore have been deprecated. Applications
|
|
|
|
|
should use malloc interposition to change malloc behavior, and mmap to
|
|
|
|
|
allocate anonymous memory. A future version of glibc may require that
|
|
|
|
|
applications which use the malloc hooks must preload a special shared
|
|
|
|
|
object, to enable the hooks.
|
|
|
|
|
|
2020-07-24 14:46:23 +00:00
|
|
|
|
* The hesiod NSS module has been deprecated and will be removed in a
|
|
|
|
|
future version of glibc. System administrators are encouraged to
|
|
|
|
|
switch to other approaches for networked account databases, such as
|
|
|
|
|
LDAP.
|
|
|
|
|
|
2020-02-01 11:38:55 +00:00
|
|
|
|
Changes to build and runtime requirements:
|
|
|
|
|
|
powerpc64le: raise GCC requirement to 7.4 for long double transition
Add compiler feature tests to ensure we can build ieee128 long double.
These test for -mabi=ieeelongdouble, -mno-gnu-attribute, and -Wno-psabi.
Likewise, verify some compiler bugs have been addressed. These aren't
helpful for building glibc, but may cause test failures when testing
the new long double. See notes below from Raji.
On powerpc64le, some older compiler versions give error for the function
signbit() for 128-bit floating point types. This is fixed by PR83862
in gcc 8.0 and backported to gcc6 and gcc7. This patch adds a test
to check compiler version to avoid compiler errors during make check.
Likewise, test for -mno-gnu-attribute support which was
On powerpc64le, a few files are built on IEEE long double mode
(-mabi=ieeelongdouble), whereas most are built on IBM long double mode
(-mabi=ibmlongdouble, the default for -mlong-double-128). Since binutils
2.31, linking object files with different long double modes causes
errors similar to:
ld: libc_pic.a(s_isinfl.os) uses IBM long double,
libc_pic.a(ieee128-qefgcvt.os) uses IEEE long double.
collect2: error: ld returned 1 exit status
make[2]: *** [../Makerules:649: libc_pic.os] Error 1
The warnings are fair and correct, but in order for glibc to have
support for both long double modes on powerpc64le, they have to be
ignored. This can be accomplished with the use of -mno-gnu-attribute
option when building the few files that require IEEE long double mode.
However, -mno-gnu-attribute is not available in GCC 6, the minimum
version required to build glibc, so this patch adds a test for this
feature in powerpc64le builds, and fails early if it's not available.
Co-Authored-By: Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
Co-Authored-By: Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
Reviewed-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
2020-02-07 20:08:23 +00:00
|
|
|
|
* powerpc64le requires GCC 7.4 or newer. This is required for supporting
|
|
|
|
|
long double redirects.
|
2020-02-01 11:38:55 +00:00
|
|
|
|
|
|
|
|
|
Security related changes:
|
|
|
|
|
|
2020-07-30 08:07:33 +00:00
|
|
|
|
CVE-2016-10228: An infinite loop has been fixed in the iconv program when
|
|
|
|
|
invoked with the -c option and when processing invalid multi-byte input
|
|
|
|
|
sequences. Reported by Jan Engelhardt.
|
|
|
|
|
|
2020-03-04 21:32:32 +00:00
|
|
|
|
CVE-2020-10029: Trigonometric functions on x86 targets suffered from stack
|
|
|
|
|
corruption when they were passed a pseudo-zero argument. Reported by Guido
|
|
|
|
|
Vranken / ForAllSecure Mayhem.
|
2020-02-01 11:38:55 +00:00
|
|
|
|
|
2020-03-19 21:53:00 +00:00
|
|
|
|
CVE-2020-1752: A use-after-free vulnerability in the glob function when
|
|
|
|
|
expanding ~user has been fixed.
|
|
|
|
|
|
2020-07-12 19:58:43 +00:00
|
|
|
|
CVE-2020-6096: A signed comparison vulnerability in the ARMv7 memcpy and
|
|
|
|
|
memmove functions has been fixed. Discovered by Jason Royes and Samual
|
|
|
|
|
Dytrych of the Cisco Security Assessment and Penetration Team (See
|
|
|
|
|
TALOS-2020-1019).
|
|
|
|
|
|
2020-02-01 11:38:55 +00:00
|
|
|
|
The following bugs are resolved with this release:
|
|
|
|
|
|
2020-08-05 00:39:09 +00:00
|
|
|
|
[9809] localedata: ckb_IQ: new Kurdish Sorani locale
|
|
|
|
|
[10441] manual: Backtraces code example lacks error checking
|
|
|
|
|
[10815] librt: [timer_create / SIGEV_THREAD] signalmask of
|
|
|
|
|
timer_sigev_thread dangerous
|
|
|
|
|
[14231] stdio: stdio-common tests memory requirements
|
|
|
|
|
[14578] libc: /proc-based emulation for lchmod, fchmodat
|
|
|
|
|
[16272] dynamic-link: dlopen()ing a DT_FILTER library crashes if
|
|
|
|
|
filtee has constructor
|
|
|
|
|
[19519] locale: iconv(1) with -c option hangs on illegal multi-byte
|
|
|
|
|
sequences (CVE-2016-10228)
|
|
|
|
|
[19737] admin: Doc page “20.5.2 Infinity and NaN” has incorrect HTML
|
|
|
|
|
character entities for infinity & pi
|
|
|
|
|
[20338] libc: Parsing of /etc/gshadow can return bad pointers causing
|
|
|
|
|
segfaults in applications
|
|
|
|
|
[20543] libc: Please move from .gnu.linkonce to comdat
|
|
|
|
|
[22489] network: gcc warns about implicit convertion in
|
|
|
|
|
ICMP6_FILTER_SETPASS with -Wsign-conversion
|
|
|
|
|
[22525] localedata: or_IN LC_COLLATE does not use copy "iso14651_t1"
|
|
|
|
|
[23294] math: Complex _FloatN functions are redirected to the wrong
|
|
|
|
|
function with -mlong-double-64
|
|
|
|
|
[23296] libc: Data race in setting function descriptor during lazy
|
|
|
|
|
binding
|
|
|
|
|
[23668] dynamic-link: ldconfig: Default to the new format for
|
|
|
|
|
ld.so.cache
|
|
|
|
|
[23819] hurd: hurd: Add C11 thread support
|
|
|
|
|
[23990] build: test-container error out on failure to exec child.
|
|
|
|
|
[23991] build: shell-container typo in run_command_array
|
|
|
|
|
[24638] manual: Error in example of parsing a template string
|
|
|
|
|
[24654] manual: Wrong declaration of wcschr in libc manual
|
|
|
|
|
[24943] dynamic-link: Support DT_AUDIT, DT_DEPAUDIT in the dynamic
|
|
|
|
|
linker
|
|
|
|
|
[25051] dynamic-link: aarch64, powerpc64 uses surplus static tls for
|
|
|
|
|
dynamically loaded dsos
|
|
|
|
|
[25098] nptl: nptl: ctype classification functions are not AS-Safe
|
|
|
|
|
[25219] libc: improve out-of-bounds checking with GCC 10 attribute
|
|
|
|
|
access
|
|
|
|
|
[25262] libc: getcontext/setcontext/swapcontext unnecessarily save and
|
|
|
|
|
restore EAX, ECX and EDX
|
|
|
|
|
[25397] dynamic-link: Legacy bitmap doesn't cover jitted code
|
|
|
|
|
[25414] glob: 'glob' use-after-free bug (CVE-2020-1752)
|
|
|
|
|
[25420] network: Race condition in resolv_conf.c can result in caching
|
|
|
|
|
stale configuration forever
|
|
|
|
|
[25487] math: sinl() stack corruption from crafted input
|
|
|
|
|
(CVE-2020-10029)
|
|
|
|
|
[25506] build: configure: broken detection of STT_GNU_IFUNC when GCC
|
|
|
|
|
defaults to PIE
|
|
|
|
|
[25523] libc: MIPS/Linux inline syscall template is miscompiled
|
|
|
|
|
[25620] libc: Signed comparison vulnerability in the ARMv7 memcpy()
|
|
|
|
|
(CVE-2020-6096)
|
|
|
|
|
[25623] libc: test-sysvmsg, test-sysvsem, test-sysvshm fail with 2.31
|
|
|
|
|
on 32 bit and old kernel
|
|
|
|
|
[25635] libc: arm: Wrong sysdep order selection for soft-fp
|
|
|
|
|
[25639] localedata: Some names of days and months wrongly spelt in
|
|
|
|
|
Occitan
|
|
|
|
|
[25657] libc: sigprocmask() and sigisemptyset() manipulate different
|
|
|
|
|
amount of sigset_t bytes
|
|
|
|
|
[25691] stdio: printf: memory leak when printing long multibyte
|
|
|
|
|
strings
|
|
|
|
|
[25715] libc: system() returns wrong errors when posix_spawn fails
|
|
|
|
|
[25733] malloc: mallopt(M_MXFAST) can set global_max_fast to 0
|
|
|
|
|
[25734] locale: mbrtowc with Big5-HKSCS fails to reset conversion
|
|
|
|
|
state for conversions that produce two Unicode code points
|
|
|
|
|
[25765] nptl: Incorrect futex syscall in __pthread_disable_asynccancel
|
|
|
|
|
for linux x86_64 leads to livelock
|
|
|
|
|
[25788] dynamic-link: [i386] -fno-omit-frame-pointer in CFLAGS causes
|
|
|
|
|
test failures, invalid instruction in ld.so
|
|
|
|
|
[25790] glob: Typo in tst-fnmatch.input
|
|
|
|
|
[25810] libc: x32: Incorrect syscall entries with pointer, off_t and
|
|
|
|
|
size_t
|
|
|
|
|
[25819] localedata: Update locale data to Unicode 13.0.0
|
|
|
|
|
[25824] libc: Abnormal function of strnlen in aarch64
|
|
|
|
|
[25887] dynamic-link: Wasted space in _dl_x86_feature_1[1]
|
|
|
|
|
[25896] libc: Incorrect prctl
|
|
|
|
|
[25902] libc: Bad LOADARGS_N
|
|
|
|
|
[25905] dynamic-link: VSX registers are corrupted during PLT
|
|
|
|
|
resolution when glibc is built with --disable-multi-arch and --with-
|
|
|
|
|
cpu=power9
|
|
|
|
|
[25933] string: Off by one error in __strncmp_avx2 when
|
|
|
|
|
length=VEC_SIZE*4 and strings are at page boundaries can cause a
|
|
|
|
|
segfault
|
|
|
|
|
[25942] nptl: Deadlock on stack_cache_lock between __nptl_setxid and
|
|
|
|
|
exiting detached thread
|
|
|
|
|
[25966] libc: Incorrect access of __x86_shared_non_temporal_threshold
|
|
|
|
|
for x32
|
|
|
|
|
[25976] nss: internal_end*ent in nss_compat may clobber errno, hiding
|
|
|
|
|
ERANGE
|
|
|
|
|
[25999] nptl: Use-after-free issue in pthread_getaddr_default_np
|
|
|
|
|
[26073] math: getpayload() has wrong return value
|
|
|
|
|
[26076] dynamic-link: dlmopen crashes after failing to load
|
|
|
|
|
dependencies in audit mode
|
|
|
|
|
[26120] localedata: column width of of some Korean
|
|
|
|
|
JUNGSEONG/JONGSEONG characters wrong (should be 0)
|
|
|
|
|
[26128] libc: Incorrect bit_cpu_CLFLUSHOPT
|
|
|
|
|
[26133] libc: Incorrect need_arch_feature_F16C
|
|
|
|
|
[26137] libc: strtod() triggers exception FE_INEXACT on reasonable
|
|
|
|
|
input
|
|
|
|
|
[26149] libc: PKU is usable only if OSPKE is set
|
|
|
|
|
[26173] libc: powerpc64*: Add @notoc to calls to functions that do not
|
|
|
|
|
preserve r2
|
|
|
|
|
[26208] libc: Incorrect bit_cpu_CLFSH
|
|
|
|
|
[26210] network: Incorrect use of hidden symbols for global sunrpc
|
|
|
|
|
variables
|
|
|
|
|
[26211] stdio: printf integer overflow calculating allocation size
|
|
|
|
|
[26214] stdio: printf_fp double free
|
|
|
|
|
[26215] stdio: printf_fp memory leak
|
|
|
|
|
[26232] time: FAIL: support/tst-timespec for 32-bit targets
|
|
|
|
|
[26258] nss: nss_compat should not read input files with mmap
|
|
|
|
|
[26332] string: Incorrect cache line size load causes memory
|
|
|
|
|
corruption in memset
|
|
|
|
|
|
2020-02-01 11:38:55 +00:00
|
|
|
|
|
2019-08-01 04:41:53 +00:00
|
|
|
|
Version 2.31
|
|
|
|
|
|
|
|
|
|
Major new features:
|
|
|
|
|
|
2019-08-13 11:26:00 +00:00
|
|
|
|
* The GNU C Library now supports a feature test macro _ISOC2X_SOURCE to
|
|
|
|
|
enable features from the draft ISO C2X standard. Only some features from
|
|
|
|
|
this draft standard are supported by the GNU C Library, and as the draft
|
|
|
|
|
is under active development, the set of features enabled by this macro is
|
|
|
|
|
liable to change. Features from C2X are also enabled by _GNU_SOURCE, or
|
|
|
|
|
by compiling with "gcc -std=gnu2x".
|
2019-08-01 04:41:53 +00:00
|
|
|
|
|
Add tgmath.h macros for narrowing functions.
When adding some of the TS 18661 narrowing functions for glibc 2.28, I
deferred adding corresponding <tgmath.h> support because of unresolved
questions about the specification for those type-generic macros,
especially in relation to _FloatN and _FloatNx types.
Those issues are now clarified in the response to Clarification
Request 13 to TS 18661-3, and this patch adds the deferred tgmath.h
support. As with other tgmath.h macros, there are fairly
straightforward implementations based on __builtin_tgmath for GCC 8
and later, which result in exactly the right function being called in
each case, and more complicated implementations for GCC 7 and earlier,
which generally result in a function being called whose arguments have
the right format (i.e. an alias for the right function), but which
might not be exactly the function name specified by TS 18661.
In one case with older compilers (f32x* macros, where the type
_Float64x exists and all the arguments have type _Float32 or
_Float32x), there is a further relaxation and the function called may
have arguments narrower than the one specified by the TS, but still
wide enough to represent the arguments exactly, so the result of the
call is unchanged (as this does not affect any case where rounding of
integer arguments might be involved). With GCC 6 or before this is
inherently unavoidable (but still harmless and not detectable by how
the compiled program behaves, unless it redefines the functions in
question like the testcases do) because _Float32x and _Float64 are
both typedefs for double in that case but the specified semantics
result in different functions, with different argument formats, being
called for those two argument types.
Tests for the new macros are handled through gen-tgmath-tests.py,
which deals with the special-case handling for older GCC.
Tested as follows: with the full glibc testsuite on x86_64 and x86
(with GCC 6, 7 and 8); with the math/ tests on aarch64 and arm (with
GCC 6, 7 and 8); with build-many-glibcs.py (with GCC 6, 7 and 9).
* math/tgmath.h [__HAVE_FLOAT128X]: Give error.
[(__HAVE_FLOAT64X && !__HAVE_FLOAT128)
|| (__HAVE_FLOAT128 && !__HAVE_FLOAT64X)]: Likewise.
(__TGMATH_2_NARROW_F): Likewise.
(__TGMATH_2_NARROW_D): New macro.
(__TGMATH_2_NARROW_F16): Likewise.
(__TGMATH_2_NARROW_F32): Likewise.
(__TGMATH_2_NARROW_F64): Likewise.
(__TGMATH_2_NARROW_F32X): Likewise.
(__TGMATH_2_NARROW_F64X): Likewise.
[__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F): Likewise.
[__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F16): Likewise.
[__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32): Likewise.
[__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F64): Likewise.
[__HAVE_BUILTIN_TGMATH] (__TGMATH_NARROW_FUNCS_F32X): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fadd): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dadd): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fdiv): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (ddiv): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fmul): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dmul): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (fsub): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT_C2X)] (dsub): Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16add):
Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16div):
Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16mul):
Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT16] (f16sub):
Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32add):
Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32div):
Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32mul):
Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32] (f32sub):
Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
&& (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64add): Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
&& (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64div): Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
&& (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64mul): Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64
&& (__HAVE_FLOAT64X || __HAVE_FLOAT128)] (f64sub): Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xadd):
Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xdiv):
Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xmul):
Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT32X] (f32xsub):
Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
&& (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xadd): Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
&& (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xdiv): Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
&& (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xmul): Likewise.
[__GLIBC_USE (IEC_60559_TYPES_EXT) && __HAVE_FLOAT64X
&& (__HAVE_FLOAT128X || __HAVE_FLOAT128)] (f64xsub): Likewise.
* math/gen-tgmath-tests.py (Type): Add members
non_standard_real_argument_types_list, long_double_type,
complex_float64_type and float32x_ext_type.
(Type.__init__): Set the new members.
(Type.floating_type): Add new argument floatn.
(Type.real_floating_type): Likewise.
(Type.can_combine_types): Likewise.
(Type.combine_types): Likewise.
(Type.init_types): Create internal Float32x_ext type.
(Tests.__init__): Define Float32x_ext in generated C code.
(Tests.add_tests): Handle narrowing functions.
(Tests.add_all_tests): Likewise.
(Tests.tests_text): Allow variation in mant_dig for narrowing
functions with compilers before GCC 8.
* math/Makefile (tgmath3-narrow-types): New variable.
(tgmath3-narrow-macros): Likewise.
(tgmath3-macros): Add $(tgmath3-narrow-macros).
2019-08-21 12:06:44 +00:00
|
|
|
|
* The <math.h> functions that round their results to a narrower type now
|
|
|
|
|
have corresponding type-generic macros in <tgmath.h>, as defined in TS
|
|
|
|
|
18661-1:2014 and TS 18661-3:2015 as amended by the resolution of
|
|
|
|
|
Clarification Request 13 to TS 18661-3.
|
|
|
|
|
|
2019-10-31 13:03:21 +00:00
|
|
|
|
* The function pthread_clockjoin_np has been added, enabling join with a
|
2019-11-04 19:36:21 +00:00
|
|
|
|
terminated thread with a specific clock. It allows waiting against
|
2019-10-31 13:03:21 +00:00
|
|
|
|
CLOCK_MONOTONIC and CLOCK_REALTIME. This function is a GNU extension.
|
|
|
|
|
|
2019-11-05 09:35:55 +00:00
|
|
|
|
* New locale added: mnw_MM (Mon language spoken in Myanmar).
|
|
|
|
|
|
2019-10-30 16:26:58 +00:00
|
|
|
|
* The DNS stub resolver will optionally send the AD (authenticated data) bit
|
|
|
|
|
in queries if the trust-ad option is set via the options directive in
|
|
|
|
|
/etc/resolv.conf (or if RES_TRUSTAD is set in _res.options). In this
|
|
|
|
|
mode, the AD bit, as provided by the name server, is available to
|
|
|
|
|
applications which call res_search and related functions. In the default
|
|
|
|
|
mode, the AD bit is not set in queries, and it is automatically cleared in
|
|
|
|
|
responses, indicating a lack of DNSSEC validation. (Therefore, the name
|
|
|
|
|
servers and the network path to them are treated as untrusted.)
|
|
|
|
|
|
2019-08-01 04:41:53 +00:00
|
|
|
|
Deprecated and removed features, and other changes affecting compatibility:
|
|
|
|
|
|
Make totalorder and totalordermag functions take pointer arguments.
The resolution of C floating-point Clarification Request 25
<http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2397.htm#dr_25> is
that the totalorder and totalordermag functions should take pointer
arguments, and this has been adopted in C2X (with const added; note
that the integration of this change into C2X is present in the C
standard git repository but postdates the most recent public PDF
draft).
This patch updates glibc accordingly. As a defect resolution, the API
is changed unconditionally rather than supporting any sort of TS
18661-1 mode for compilation with the old version of the API. There
are compat symbols for existing binaries that pass floating-point
arguments directly. As a consequence of changing to pointer
arguments, there are no longer type-generic macros in tgmath.h for
these functions.
Because of the fairly complicated logic for creating libm function
aliases and determining the set of aliases to create in a given glibc
configuration, rather than duplicating all that in individual source
files to create the versioned and compat symbols, the source files for
the various versions of totalorder functions are set up to redefine
weak_alias before using libm_alias_* macros to create the symbols
required. In turn, this requires creating a separate alias for each
symbol version pointing to the same implementation (see binutils bug
<https://sourceware.org/bugzilla/show_bug.cgi?id=23840>), which is
done automatically using __COUNTER__. (As I noted in
<https://sourceware.org/ml/libc-alpha/2018-10/msg00631.html>, it might
well make sense for glibc's symbol versioning macros to do that alias
creation with __COUNTER__ themselves, which would somewhat simplify
the logic in the totalorder source files.)
It is of course desirable to test the compat symbols. I did this with
the generic libm-test machinery, but didn't wish to duplicate the
actual tables of test inputs and outputs, and thought it risky to
attempt to have a single object file refer to both default and compat
versions of the same function in order to test them together. Thus, I
created libm-test-compat_totalorder.inc and
libm-test-compat_totalordermag.inc which include the generated .c
files (with the processed version of those tables of inputs) from the
non-compat tests, and added appropriate dependencies. I think this
provides sufficient test coverage for the compat symbols without also
needing to make the special ldbl-96 and ldbl-128ibm tests (of
peculiarities relating to the representations of those formats that
can't be covered in the generic tests) run for the compat symbols.
Tests of compat symbols need to be internal tests, meaning _ISOMAC is
not defined. Making some libm-test tests into internal tests showed
up two other issues. GCC diagnoses duplicate macro definitions of
__STDC_* macros, including __STDC_WANT_IEC_60559_TYPES_EXT__; I added
an appropriate conditional and filed
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91451> for this issue.
On ia64, include/setjmp.h ends up getting included indirectly from
libm-symbols.h, resulting in conflicting definitions of the STR macro
(also defined in libm-test-driver.c); I renamed the macros in
include/setjmp.h. (It's arguable that we should have common internal
headers used everywhere for stringizing and concatenation macros.)
Tested for x86_64 and x86, and with build-many-glibcs.py.
* math/bits/mathcalls.h
[__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
(totalorder): Take pointer arguments.
[__GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN]
(totalordermag): Likewise.
* manual/arith.texi (totalorder): Likewise.
(totalorderf): Likewise.
(totalorderl): Likewise.
(totalorderfN): Likewise.
(totalorderfNx): Likewise.
(totalordermag): Likewise.
(totalordermagf): Likewise.
(totalordermagl): Likewise.
(totalordermagfN): Likewise.
(totalordermagfNx): Likewise.
* math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): Remove macro.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder): Likewise.
[__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag): Likewise.
* math/Versions (GLIBC_2.31): Add totalorder, totalorderf,
totalorderl, totalordermag, totalordermagf, totalordermagl,
totalorderf32, totalorderf64, totalorderf32x, totalordermagf32,
totalordermagf64, totalordermagf32x, totalorderf64x,
totalordermagf64x, totalorderf128 and totalordermagf128.
* math/Makefile (libm-test-funcs-noauto): Add compat_totalorder
and compat_totalordermag.
(libm-test-funcs-compat): New variable.
(libm-tests-compat): Likewise.
(tests): Do not include compat tests.
(tests-internal): Add compat tests.
($(foreach t,$(libm-tests-base),
$(objpfx)$(t)-compat_totalorder.o)): Depend
on $(objpfx)libm-test-totalorder.c.
($(foreach t,$(libm-tests-base),
$(objpfx)$(t)-compat_totalordermag.o): Depend on
$(objpfx)libm-test-totalordermag.c.
(tgmath3-macros): Remove totalorder and totalordermag.
* math/libm-test-compat_totalorder.inc: New file.
* math/libm-test-compat_totalordermag.inc: Likewise.
* math/libm-test-driver.c (struct test_ff_i_data): Update comment.
(RUN_TEST_fpfp_b): New macro.
(RUN_TEST_LOOP_fpfp_b): Likewise.
* math/libm-test-totalorder.inc (totalorder_test_data): Use
TEST_fpfp_b.
(totalorder_test): Condition on [!COMPAT_TEST].
(do_test): Likewise.
* math/libm-test-totalordermag.inc (totalordermag_test_data): Use
TEST_fpfp_b.
(totalordermag_test): Condition on [!COMPAT_TEST].
(do_test): Likewise.
* math/gen-tgmath-tests.py (Tests.add_all_tests): Remove
totalorder and totalordermag.
* math/test-tgmath.c (NCALLS): Change to 132.
(F(compile_test)): Do not call totalorder or totalordermag.
(F(totalorder)): Remove.
(F(totalordermag)): Likewise.
* include/float.h (__STDC_WANT_IEC_60559_TYPES_EXT__): Do not
define if [__STDC_WANT_IEC_60559_TYPES_EXT__].
* include/setjmp.h [!_ISOMAC] (STR_HELPER): Rename to
SJSTR_HELPER.
[!_ISOMAC] (STR): Rename to SJSTR. Update call to STR_HELPER.
[!_ISOMAC] (TEST_SIZE): Update call to STR.
[!_ISOMAC] (TEST_ALIGN): Likewise.
[!_ISOMAC] (TEST_OFFSET): Likewise.
* sysdeps/ieee754/dbl-64/s_totalorder.c: Include <shlib-compat.h>
and <first-versions.h>.
(__totalorder): Take pointer arguments. Add symbol versions and
compat symbols.
* sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
<shlib-compat.h> and <first-versions.h>.
(__totalordermag): Take pointer arguments. Add symbol versions
and compat symbols.
* sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
<shlib-compat.h> and <first-versions.h>.
(__totalorder): Take pointer arguments. Add symbol versions and
compat symbols.
* sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
<shlib-compat.h> and <first-versions.h>.
(__totalordermag): Take pointer arguments. Add symbol versions
and compat symbols.
* sysdeps/ieee754/float128/float128_private.h
(__totalorder_compatl): New macro.
(__totalordermag_compatl): Likewise.
* sysdeps/ieee754/flt-32/s_totalorderf.c: Include <shlib-compat.h>
and <first-versions.h>.
(__totalorderf): Take pointer arguments. Add symbol versions and
compat symbols.
* sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
<shlib-compat.h> and <first-versions.h>.
(__totalordermagf): Take pointer arguments. Add symbol versions
and compat symbols.
* sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
<shlib-compat.h> and <first-versions.h>.
(__totalorderl): Take pointer arguments. Add symbol versions and
compat symbols.
* sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
<shlib-compat.h> and <first-versions.h>.
(__totalordermagl): Take pointer arguments. Add symbol versions
and compat symbols.
* sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
<shlib-compat.h>.
(__totalorderl): Take pointer arguments. Add symbol versions and
compat symbols.
* sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
<shlib-compat.h>.
(__totalordermagl): Take pointer arguments. Add symbol versions
and compat symbols.
* sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
<shlib-compat.h> and <first-versions.h>.
(__totalorderl): Take pointer arguments. Add symbol versions and
compat symbols.
* sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
<shlib-compat.h> and <first-versions.h>.
(__totalordermagl): Take pointer arguments. Add symbol versions
and compat symbols.
* sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c (totalorderl): Take
pointer arguments.
* sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c (totalordermagl):
Likewise.
* sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
(do_test): Update calls to totalorderl and totalordermagl.
* sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
Update calls to totalorderl and totalordermagl.
* sysdeps/mach/hurd/i386/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/csky/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/be/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libm.abilist:
Likewise.
* sysdeps/unix/sysv/linux/riscv/rv64/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/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2019-08-15 15:18:34 +00:00
|
|
|
|
* The totalorder and totalordermag functions, and the corresponding
|
|
|
|
|
functions for other floating-point types, now take pointer arguments to
|
|
|
|
|
avoid signaling NaNs possibly being converted to quiet NaNs in argument
|
|
|
|
|
passing. This is in accordance with the resolution of Clarification
|
|
|
|
|
Request 25 to TS 18661-1, as applied for C2X. Existing binaries that pass
|
|
|
|
|
floating-point arguments directly will continue to work.
|
2019-08-01 04:41:53 +00:00
|
|
|
|
|
2019-08-16 19:03:16 +00:00
|
|
|
|
* The obsolete function stime is no longer available to newly linked
|
2020-01-08 20:23:12 +00:00
|
|
|
|
binaries, and its declaration has been removed from <time.h>.
|
|
|
|
|
Programs that set the system time should use clock_settime instead.
|
|
|
|
|
|
|
|
|
|
* We plan to remove the obsolete function ftime, and the header <sys/timeb.h>,
|
|
|
|
|
in a future version of glibc. In this release, the header still exists
|
|
|
|
|
but calling ftime will cause a compiler warning. All programs should use
|
|
|
|
|
gettimeofday or clock_gettime instead.
|
|
|
|
|
|
|
|
|
|
* The gettimeofday function no longer reports information about a
|
|
|
|
|
system-wide time zone. This 4.2-BSD-era feature has been deprecated for
|
|
|
|
|
many years, as it cannot handle the full complexity of the world's
|
|
|
|
|
timezones, but hitherto we have supported it on a best-effort basis.
|
|
|
|
|
Changes required to support 64-bit time_t on 32-bit architectures have
|
|
|
|
|
made this no longer practical.
|
|
|
|
|
|
|
|
|
|
As of this release, callers of gettimeofday with a non-null 'tzp' argument
|
|
|
|
|
should expect to receive a 'struct timezone' whose tz_minuteswest and
|
|
|
|
|
tz_dsttime fields are zero. (For efficiency reasons, this does not always
|
|
|
|
|
happen on a few Linux-based ports. This will be corrected in a future
|
|
|
|
|
release.)
|
|
|
|
|
|
|
|
|
|
All callers should supply a null pointer for the 'tzp' argument to
|
|
|
|
|
gettimeofday. For accurate information about the time zone associated
|
|
|
|
|
with the current time, use the localtime function.
|
|
|
|
|
|
|
|
|
|
gettimeofday itself is obsolescent according to POSIX. We have no plans
|
|
|
|
|
to remove access to this function, but portable programs should consider
|
|
|
|
|
using clock_gettime instead.
|
2019-08-16 19:03:16 +00:00
|
|
|
|
|
Use clock_settime to implement settimeofday.
Unconditionally, on all ports, use clock_settime to implement
settimeofday. Remove sysdeps/unix/clock_settime.c, which implemented
clock_settime by calling settimeofday; new OS ports must henceforth
provide a real implementation of clock_settime.
Hurd had a real implementation of settimeofday but not of
clock_settime; this patch converts it into an implementation of
clock_settime. It only supports CLOCK_REALTIME and microsecond
resolution; Hurd/Mach does not appear to have any support for
finer-resolution clocks.
The vestigial "set time zone" feature of settimeofday complicates the
generic settimeofday implementation a little. The only remaining uses
of this feature that aren't just bugs, are using it to inform the
Linux kernel of the offset between the hardware clock and UTC, on
systems where the hardware clock doesn't run in UTC (usually because
of dual-booting with Windows). There currently isn't any other way to
do this. However, the callers that do this call settimeofday with
_only_ the timezone argument non-NULL. Therefore, glibc's new
behavior is: callers of settimeofday must supply one and only one of
the two arguments. If both arguments are non-NULL, or both arguments
are NULL, the call fails and sets errno to EINVAL.
When only the timeval argument is supplied, settimeofday calls
__clock_settime(CLOCK_REALTIME), same as stime.
When only the timezone argument is supplied, settimeofday calls a new
internal function called __settimezone. On Linux, only, this function
will pass the timezone structure to the settimeofday system call. On
all other operating systems, and on Linux architectures that don't
define __NR_settimeofday, __settimezone is a stub that always sets
errno to ENOSYS and returns -1.
The settimeoday syscall is enabled on Linux by the flag
COMPAT_32BIT_TIME, which is an option to either 32-bits ABIs or COMPAT
builds (defined usually by 64-bit kernels that want to support 32-bit
ABIs, such as x86). The idea to future 64-bit time_t only ABIs
is to not provide settimeofday syscall.
The same semantics are implemented for Linux/Alpha's GLIBC_2.0 compat
symbol for settimeofday.
There are no longer any internal callers of __settimeofday, so the
internal prototype is removed.
Checked on x86_64-linux-gnu, i686-linux-gnu, powerpc64le-linux-gnu,
powerpc64-linux-gnu, powerpc-linux-gnu, and aarch64-linux-gnu.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
2019-08-28 12:25:49 +00:00
|
|
|
|
* The settimeofday function can still be used to set a system-wide time
|
|
|
|
|
zone when the operating system supports it. This is because the Linux
|
|
|
|
|
kernel reused the API, on some architectures, to describe a system-wide
|
|
|
|
|
time-zone-like offset between the software clock maintained by the kernel,
|
|
|
|
|
and the "RTC" clock that keeps time when the system is shut down.
|
|
|
|
|
|
|
|
|
|
However, to reduce the odds of this offset being set by accident,
|
|
|
|
|
settimeofday can no longer be used to set the time and the offset
|
|
|
|
|
simultaneously. If both of its two arguments are non-null, the call
|
|
|
|
|
will fail (setting errno to EINVAL).
|
|
|
|
|
|
|
|
|
|
Callers attempting to set this offset should also be prepared for the call
|
|
|
|
|
to fail and set errno to ENOSYS; this already happens on the Hurd and on
|
|
|
|
|
some Linux architectures. The Linux kernel maintainers are discussing a
|
|
|
|
|
more principled replacement for the reused API. After a replacement
|
|
|
|
|
becomes available, we will change settimeofday to fail with ENOSYS on all
|
|
|
|
|
platforms when its 'tzp' argument is not a null pointer.
|
|
|
|
|
|
2020-01-08 20:23:12 +00:00
|
|
|
|
settimeofday itself is obsolescent according to POSIX. Programs that set
|
|
|
|
|
the system time should use clock_settime and/or the adjtime family of
|
|
|
|
|
functions instead. We may cease to make settimeofday available to newly
|
|
|
|
|
linked binaries after there is a replacement for Linux's time-zone-like
|
|
|
|
|
offset API.
|
Use clock_settime to implement settimeofday.
Unconditionally, on all ports, use clock_settime to implement
settimeofday. Remove sysdeps/unix/clock_settime.c, which implemented
clock_settime by calling settimeofday; new OS ports must henceforth
provide a real implementation of clock_settime.
Hurd had a real implementation of settimeofday but not of
clock_settime; this patch converts it into an implementation of
clock_settime. It only supports CLOCK_REALTIME and microsecond
resolution; Hurd/Mach does not appear to have any support for
finer-resolution clocks.
The vestigial "set time zone" feature of settimeofday complicates the
generic settimeofday implementation a little. The only remaining uses
of this feature that aren't just bugs, are using it to inform the
Linux kernel of the offset between the hardware clock and UTC, on
systems where the hardware clock doesn't run in UTC (usually because
of dual-booting with Windows). There currently isn't any other way to
do this. However, the callers that do this call settimeofday with
_only_ the timezone argument non-NULL. Therefore, glibc's new
behavior is: callers of settimeofday must supply one and only one of
the two arguments. If both arguments are non-NULL, or both arguments
are NULL, the call fails and sets errno to EINVAL.
When only the timeval argument is supplied, settimeofday calls
__clock_settime(CLOCK_REALTIME), same as stime.
When only the timezone argument is supplied, settimeofday calls a new
internal function called __settimezone. On Linux, only, this function
will pass the timezone structure to the settimeofday system call. On
all other operating systems, and on Linux architectures that don't
define __NR_settimeofday, __settimezone is a stub that always sets
errno to ENOSYS and returns -1.
The settimeoday syscall is enabled on Linux by the flag
COMPAT_32BIT_TIME, which is an option to either 32-bits ABIs or COMPAT
builds (defined usually by 64-bit kernels that want to support 32-bit
ABIs, such as x86). The idea to future 64-bit time_t only ABIs
is to not provide settimeofday syscall.
The same semantics are implemented for Linux/Alpha's GLIBC_2.0 compat
symbol for settimeofday.
There are no longer any internal callers of __settimeofday, so the
internal prototype is removed.
Checked on x86_64-linux-gnu, i686-linux-gnu, powerpc64le-linux-gnu,
powerpc64-linux-gnu, powerpc-linux-gnu, and aarch64-linux-gnu.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
2019-08-28 12:25:49 +00:00
|
|
|
|
|
2020-01-08 20:23:12 +00:00
|
|
|
|
* SPARC ISA v7 is no longer supported. v8 is still supported, but only if
|
|
|
|
|
the optional CAS instruction is implemented (for instance, LEON processors
|
|
|
|
|
are still supported, but SuperSPARC processors are not).
|
Consolidate and deprecate ftime
ftime is an obsolete variation on gettimeofday, offering only
millisecond time resolution; it was probably a system call in ooold
versions of BSD Unix. For historic reasons, we had three
implementations of it. These are all consolidated into time/ftime.c,
and then the function is deprecated.
For some reason, the implementation of ftime in terms of gettimeofday
was rounding rather than truncating microseconds to milliseconds. In
all the other places where we use a higher-resolution time function to
implement a lower-resolution one, we truncate. ftime is changed to
match, just for tidiness' sake.
Like gettimeofday, ftime tries to report the time zone, and using that
information is always a bug. This patch dummies out the reported
timezone information; the timezone and dstflag fields of the
returned "struct timeb" will always be zero.
Checked on x86_64-linux-gnu, i686-linux-gnu, powerpc64le-linux-gnu,
powerpc64-linux-gnu, and powerpc-linux-gnu.
Co-authored-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
2019-09-04 16:51:23 +00:00
|
|
|
|
|
2020-01-08 20:23:12 +00:00
|
|
|
|
As the oldest 64-bit SPARC ISA is v9, this only affects 32-bit
|
|
|
|
|
configurations.
|
2019-11-13 12:32:17 +00:00
|
|
|
|
|
2019-11-27 15:20:47 +00:00
|
|
|
|
* If a lazy binding failure happens during dlopen, during the execution of
|
|
|
|
|
an ELF constructor, the process is now terminated. Previously, the
|
|
|
|
|
dynamic loader would return NULL from dlopen, with the lazy binding error
|
|
|
|
|
captured in a dlerror message. In general, this is unsafe because
|
|
|
|
|
resetting the stack in an arbitrary function call is not possible.
|
|
|
|
|
|
2020-01-22 17:14:23 +00:00
|
|
|
|
* For MIPS hard-float ABIs, the GNU C Library will be configured to need an
|
|
|
|
|
executable stack unless explicitly configured at build time to require
|
|
|
|
|
minimum kernel version 4.8 or newer. This is because executing
|
|
|
|
|
floating-point branches on a non-executable stack on Linux kernels prior to
|
|
|
|
|
4.8 can lead to application crashes for some MIPS configurations. While
|
|
|
|
|
currently PT_GNU_STACK is not widely used on MIPS, future releases of GCC are
|
|
|
|
|
expected to enable non-executable stack by default with PT_GNU_STACK by
|
|
|
|
|
default and is thus likely to trigger a crash on older kernels.
|
|
|
|
|
|
|
|
|
|
The GNU C Library can be built with --enable-kernel=4.8.0 in order to keep a
|
|
|
|
|
non-executable stack while dropping support for older kernels.
|
|
|
|
|
|
2020-01-30 10:40:01 +00:00
|
|
|
|
* System call wrappers for time system calls now use the new time64 system
|
|
|
|
|
calls when available. On 32-bit targets, these wrappers attempt to call
|
|
|
|
|
the new system calls first and fall back to the older 32-bit time system
|
|
|
|
|
calls if they are not present. This may cause issues in environments
|
|
|
|
|
that cannot handle unsupported system calls gracefully by returning
|
|
|
|
|
-ENOSYS. Seccomp sandboxes are affected by this issue.
|
|
|
|
|
|
2019-08-01 04:41:53 +00:00
|
|
|
|
Changes to build and runtime requirements:
|
|
|
|
|
|
2020-01-02 09:18:22 +00:00
|
|
|
|
* It is no longer necessary to have recent Linux kernel headers to build
|
2020-02-01 09:21:50 +00:00
|
|
|
|
working (non-stub) system call wrappers on all architectures except 64-bit
|
|
|
|
|
RISC-V. 64-bit RISC-V requires a minimum kernel headers version of 5.0.
|
2019-08-01 04:41:53 +00:00
|
|
|
|
|
2020-01-08 08:48:49 +00:00
|
|
|
|
* The ChangeLog file is no longer present in the toplevel directory of the
|
|
|
|
|
source tree. ChangeLog files are located in the ChangeLog.old directory as
|
|
|
|
|
ChangeLog.N where the highest N has the latest entries.
|
|
|
|
|
|
2019-08-01 04:41:53 +00:00
|
|
|
|
Security related changes:
|
|
|
|
|
|
2020-07-31 10:07:06 +00:00
|
|
|
|
CVE-2020-1751: A defect in the PowerPC backtrace function could cause an
|
|
|
|
|
out-of-bounds write when executed in a signal frame context.
|
|
|
|
|
|
2019-11-20 23:20:15 +00:00
|
|
|
|
CVE-2019-19126: ld.so failed to ignore the LD_PREFER_MAP_32BIT_EXEC
|
|
|
|
|
environment variable during program execution after a security
|
|
|
|
|
transition, allowing local attackers to restrict the possible mapping
|
|
|
|
|
addresses for loaded libraries and thus bypass ASLR for a setuid
|
|
|
|
|
program. Reported by Marcin Kościelnicki.
|
2019-08-01 04:41:53 +00:00
|
|
|
|
|
|
|
|
|
The following bugs are resolved with this release:
|
|
|
|
|
|
2020-02-01 10:46:55 +00:00
|
|
|
|
[12031] localedata: iconv -t ascii//translit with Greek characters
|
|
|
|
|
[15813] libc: Multiple issues in __gen_tempname
|
|
|
|
|
[17726] libc: [arm, sparc] profil_counter should be compat symbol
|
|
|
|
|
[18231] libc: ipc_perm struct's mode member has wrong type in sys/ipc.h
|
|
|
|
|
[19767] libc: vdso is not used with static linking
|
|
|
|
|
[19903] hurd: Shared mappings not being inherited by children processes
|
|
|
|
|
[20358] network: RES_USE_DNSSEC sets DO; should also have a way to set AD
|
|
|
|
|
[20839] dynamic-link: Incomplete rollback of dynamic linker state on
|
|
|
|
|
linking failure
|
|
|
|
|
[23132] localedata: Missing transliterations in Miscellaneous Mathematical
|
|
|
|
|
Symbols-A/B Unicode blocks
|
|
|
|
|
[23518] libc: Eliminate __libc_utmp_jump_table
|
|
|
|
|
[24026] malloc: malloc_info() returns wrong numbers
|
|
|
|
|
[24054] localedata: Many locales are missing date_fmt
|
|
|
|
|
[24214] dynamic-link: user defined ifunc resolvers may run in ldd mode
|
|
|
|
|
[24304] dynamic-link: Lazy binding failure during ELF
|
|
|
|
|
constructors/destructors is not fatal
|
|
|
|
|
[24376] libc: RISC-V symbol size confusion with _start
|
|
|
|
|
[24682] localedata: zh_CN first weekday should be Monday per GB/T
|
|
|
|
|
7408-2005
|
|
|
|
|
[24824] libc: test-in-container does not install charmap files compatible
|
|
|
|
|
with localedef
|
|
|
|
|
[24844] regex: regex bad pointer / leakage if malloc fails
|
|
|
|
|
[24867] malloc: Unintended malloc_info formatting changes
|
|
|
|
|
[24879] libc: login: utmp alarm timer can arrive after lock acquisition
|
|
|
|
|
[24880] libc: login: utmp implementation uses struct flock with fcntl64
|
|
|
|
|
[24882] libc: login: pututline uses potentially outdated cache
|
|
|
|
|
[24899] libc: Missing nonstring attributes in <utmp.h>, <utmpx.h>
|
|
|
|
|
[24902] libc: login: Repeating pututxline on EINTR/EAGAIN causes stale
|
|
|
|
|
utmp entries
|
|
|
|
|
[24916] dynamic-link: [MIPS] Highest EI_ABIVERSION value not raised to
|
|
|
|
|
ABSOLUTE ABI
|
|
|
|
|
[24930] dynamic-link: dlopen of PIE executable can result in
|
|
|
|
|
_dl_allocate_tls_init assertion failure
|
|
|
|
|
[24950] localedata: Top-of-tree glibc does not build with top-of-tree GCC
|
|
|
|
|
(stringop-overflow error)
|
|
|
|
|
[24959] time: librt IFUNC resolvers for clock_gettime and clock_*
|
|
|
|
|
functions other can lead to crashes
|
|
|
|
|
[24967] libc: jemalloc static linking causes runtime failure
|
|
|
|
|
[24986] libc: alpha: new getegid, geteuid and getppid syscalls used
|
|
|
|
|
unconditionally
|
|
|
|
|
[25035] libc: sbrk() failure handled poorly in tunables_strdup
|
|
|
|
|
[25087] dynamic-link: ldconfig mishandles unusual .dynstr placement
|
|
|
|
|
[25097] libc: new -Warray-bounds with GCC 10
|
|
|
|
|
[25112] dynamic-link: dlopen must not make new objects accessible when it
|
|
|
|
|
still can fail with an error
|
|
|
|
|
[25139] localedata: Please add the new mnw_MM locale
|
|
|
|
|
[25149] regex: Array bounds violation in proceed_next_node
|
|
|
|
|
[25157] dynamic-link: Audit cookie for the dynamic loader is not
|
|
|
|
|
initialized correctly
|
|
|
|
|
[25189] libc: glibc's __glibc_has_include causes issues with clang
|
|
|
|
|
-frewrite-includes
|
|
|
|
|
[25194] malloc: malloc.c: do_set_mxfast incorrectly casts the mallopt
|
|
|
|
|
value to an unsigned
|
|
|
|
|
[25204] dynamic-link: LD_PREFER_MAP_32BIT_EXEC not ignored in setuid
|
|
|
|
|
binaries (CVE-2019-19126)
|
|
|
|
|
[25225] libc: ld.so fails to link on x86 if GCC defaults to -fcf-
|
|
|
|
|
protection
|
|
|
|
|
[25226] string: strstr: Invalid result if needle crosses page on s390-z15
|
|
|
|
|
ifunc variant.
|
|
|
|
|
[25232] string: <string.h> does not enable const correctness for strchr et
|
|
|
|
|
al. for Clang++
|
|
|
|
|
[25233] localedata: Consider "." as the thousands separator for sl_SI
|
|
|
|
|
(Slovenian)
|
|
|
|
|
[25241] nptl: __SIZEOF_PTHREAD_MUTEX_T defined twice for x86
|
|
|
|
|
[25251] build: Failure to run tests when CFLAGS contains -DNDEBUG.
|
|
|
|
|
[25271] libc: undeclared identifier PTHREAD_MUTEX_DEFAULT when compiling
|
|
|
|
|
with -std=c11
|
|
|
|
|
[25323] localedata: km_KH: d_t_fmt contains "m" instead of "%M"
|
|
|
|
|
[25324] localedata: lv_LV: d_t_fmt contains suspicious words in the time
|
|
|
|
|
part
|
|
|
|
|
[25396] dynamic-link: Failing dlopen can leave behind dangling GL
|
|
|
|
|
(dl_initfirst) link map pointer
|
|
|
|
|
[25401] malloc: pvalloc must not have __attribute_alloc_size__
|
|
|
|
|
[25423] libc: Array overflow in backtrace on powerpc
|
|
|
|
|
[25425] network: Missing call to __resolv_context_put in
|
|
|
|
|
getaddrinfo.c:gethosts
|
2019-08-01 04:41:53 +00:00
|
|
|
|
|
2019-01-31 17:09:14 +00:00
|
|
|
|
|
|
|
|
|
Version 2.30
|
|
|
|
|
|
|
|
|
|
Major new features:
|
|
|
|
|
|
2019-05-08 05:54:15 +00:00
|
|
|
|
* Unicode 12.1.0 Support: Character encoding, character type info, and
|
|
|
|
|
transliteration tables are all updated to Unicode 12.1.0, using
|
2019-03-06 09:39:26 +00:00
|
|
|
|
generator scripts contributed by Mike FABIAN (Red Hat).
|
|
|
|
|
|
2019-02-04 12:35:11 +00:00
|
|
|
|
* The dynamic linker accepts the --preload argument to preload shared
|
|
|
|
|
objects, in addition to the LD_PRELOAD environment variable.
|
2019-01-31 17:09:14 +00:00
|
|
|
|
|
2019-05-02 09:42:51 +00:00
|
|
|
|
* The twalk_r function has been added. It is similar to the existing
|
|
|
|
|
twalk function, but it passes an additional caller-supplied argument
|
|
|
|
|
to the callback function.
|
|
|
|
|
|
2019-06-07 07:27:01 +00:00
|
|
|
|
* On Linux, the getdents64, gettid, and tgkill functions have been added.
|
2019-02-02 14:17:02 +00:00
|
|
|
|
|
2019-04-02 07:25:35 +00:00
|
|
|
|
* Minguo (Republic of China) calendar support has been added as an
|
|
|
|
|
alternative calendar for the following locales: zh_TW, cmn_TW, hak_TW,
|
|
|
|
|
nan_TW, lzh_TW.
|
|
|
|
|
|
2019-04-02 07:46:55 +00:00
|
|
|
|
* The entry for the new Japanese era has been added for ja_JP locale.
|
|
|
|
|
|
2019-04-21 11:39:25 +00:00
|
|
|
|
* Memory allocation functions malloc, calloc, realloc, reallocarray, valloc,
|
|
|
|
|
pvalloc, memalign, and posix_memalign fail now with total object size
|
|
|
|
|
larger than PTRDIFF_MAX. This is to avoid potential undefined behavior with
|
|
|
|
|
pointer subtraction within the allocated object, where results might
|
|
|
|
|
overflow the ptrdiff_t type.
|
|
|
|
|
|
2019-06-28 08:12:50 +00:00
|
|
|
|
* The dynamic linker no longer refuses to load objects which reference
|
|
|
|
|
versioned symbols whose implementation has moved to a different soname
|
|
|
|
|
since the object has been linked. The old error message, symbol
|
|
|
|
|
FUNCTION-NAME, version SYMBOL-VERSION not defined in file DSO-NAME with
|
|
|
|
|
link time reference, is gone.
|
|
|
|
|
|
2019-06-24 19:51:03 +00:00
|
|
|
|
* Add new POSIX-proposed pthread_cond_clockwait, pthread_mutex_clocklock,
|
|
|
|
|
pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and sem_clockwait
|
|
|
|
|
functions. These behave similarly to their "timed" equivalents, but also
|
|
|
|
|
accept a clockid_t parameter to determine which clock their timeout should
|
|
|
|
|
be measured against. All functions allow waiting against CLOCK_MONOTONIC
|
|
|
|
|
and CLOCK_REALTIME. The decision of which clock to be used is made at the
|
|
|
|
|
time of the wait (unlike with pthread_condattr_setclock, which requires
|
|
|
|
|
the clock choice at initialization time).
|
|
|
|
|
|
2019-07-22 09:14:16 +00:00
|
|
|
|
* On AArch64 the GNU IFUNC resolver call ABI changed: old resolvers still
|
|
|
|
|
work, new resolvers can use a second argument which can be extended in
|
|
|
|
|
the future, currently it contains the AT_HWCAP2 value.
|
|
|
|
|
|
2019-01-31 17:09:14 +00:00
|
|
|
|
Deprecated and removed features, and other changes affecting compatibility:
|
|
|
|
|
|
2019-06-28 07:39:21 +00:00
|
|
|
|
* The copy_file_range function fails with ENOSYS if the kernel does not
|
|
|
|
|
support the system call of the same name. Previously, user space
|
|
|
|
|
emulation was performed, but its behavior did not match the kernel
|
|
|
|
|
behavior, which was deemed too confusing. Applications which use the
|
2019-07-08 21:10:52 +00:00
|
|
|
|
copy_file_range function can no longer rely on glibc to provide a fallback
|
|
|
|
|
on kernels that do not support the copy_file_range system call, and if
|
|
|
|
|
this function returns ENOSYS, they will need to use their own fallback.
|
|
|
|
|
Support for copy_file_range for most architectures was added in version
|
|
|
|
|
4.5 of the mainline Linux kernel.
|
2019-06-28 07:39:21 +00:00
|
|
|
|
|
rt: Turn forwards from librt to libc into compat symbols [BZ #24194]
As the result of commit 6e6249d0b461b952d0f544792372663feb6d792a
("BZ#14743: Move clock_* symbols from librt to libc."), in glibc 2.17,
clock_gettime, clock_getres, clock_settime, clock_getcpuclockid,
clock_nanosleep were added to libc, and the file rt/clock-compat.c
was added with forwarders to the actual implementations in libc.
These forwarders were wrapped in
#if SHLIB_COMPAT (librt, GLIBC_2_2, GLIBC_2_17)
so that they are not present for newer architectures (such as
powerpc64le) with a 2.17 or later ABI baseline. But the forwarders
were not marked as compatibility symbols. As a result, on older
architectures, historic configure checks such as
AC_CHECK_LIB(rt, clock_gettime)
still cause linking against librt, even though this is completely
unnecessary. It also creates a needless porting hazard because
architectures behave differently when it comes to symbol availability.
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2019-02-08 09:21:56 +00:00
|
|
|
|
* The functions clock_gettime, clock_getres, clock_settime,
|
|
|
|
|
clock_getcpuclockid, clock_nanosleep were removed from the librt library
|
|
|
|
|
for new applications (on architectures which had them). Instead, the
|
|
|
|
|
definitions in libc will be used automatically, which have been available
|
|
|
|
|
since glibc 2.17.
|
2019-01-31 17:09:14 +00:00
|
|
|
|
|
2019-03-14 14:44:14 +00:00
|
|
|
|
* The obsolete and never-implemented XSI STREAMS header files <stropts.h>
|
|
|
|
|
and <sys/stropts.h> have been removed.
|
|
|
|
|
|
2019-04-08 08:40:31 +00:00
|
|
|
|
* Support for the "inet6" option in /etc/resolv.conf and the RES_USE_INET6
|
|
|
|
|
resolver flag (deprecated in glibc 2.25) have been removed.
|
|
|
|
|
|
2019-04-08 09:19:38 +00:00
|
|
|
|
* The obsolete RES_INSECURE1 and RES_INSECURE2 option flags for the DNS stub
|
|
|
|
|
resolver have been removed from <resolv.h>.
|
|
|
|
|
|
2019-04-25 08:41:43 +00:00
|
|
|
|
* With --enable-bind-now, installed programs are now linked with the
|
|
|
|
|
BIND_NOW flag.
|
|
|
|
|
|
2019-05-16 17:34:27 +00:00
|
|
|
|
* Support for the PowerPC SPE ISA extension (powerpc-*-*gnuspe*
|
|
|
|
|
configurations) has been removed, following the deprecation of this
|
|
|
|
|
subarchitecture in version 8 of GCC, and its removal in version 9.
|
|
|
|
|
|
2019-05-29 14:53:09 +00:00
|
|
|
|
* On 32-bit Arm, support for the port-based I/O emulation and the <sys/io.h>
|
|
|
|
|
header have been removed.
|
|
|
|
|
|
2019-06-12 12:32:08 +00:00
|
|
|
|
* The Linux-specific <sys/sysctl.h> header and the sysctl function have been
|
|
|
|
|
deprecated and will be removed from a future version of glibc.
|
|
|
|
|
Application should directly access /proc instead. For obtaining random
|
|
|
|
|
bits, the getentropy function can be used.
|
|
|
|
|
|
2019-01-31 17:09:14 +00:00
|
|
|
|
Changes to build and runtime requirements:
|
|
|
|
|
|
2019-02-01 16:27:44 +00:00
|
|
|
|
* GCC 6.2 or later is required to build the GNU C Library.
|
|
|
|
|
|
|
|
|
|
Older GCC versions and non-GNU compilers are still supported when
|
|
|
|
|
compiling programs that use the GNU C Library.
|
2019-01-31 17:09:14 +00:00
|
|
|
|
|
|
|
|
|
Security related changes:
|
|
|
|
|
|
2019-02-04 14:31:01 +00:00
|
|
|
|
CVE-2019-7309: x86-64 memcmp used signed Jcc instructions to check
|
|
|
|
|
size. For x86-64, memcmp on an object size larger than SSIZE_MAX
|
|
|
|
|
has undefined behavior. On x32, the size_t argument may be passed
|
|
|
|
|
in the lower 32 bits of the 64-bit RDX register with non-zero upper
|
|
|
|
|
32 bits. When it happened with the sign bit of RDX register set,
|
|
|
|
|
memcmp gave the wrong result since it treated the size argument as
|
|
|
|
|
zero. Reported by H.J. Lu.
|
2019-01-31 17:09:14 +00:00
|
|
|
|
|
2019-03-16 21:59:56 +00:00
|
|
|
|
CVE-2019-9169: Attempted case-insensitive regular-expression match
|
|
|
|
|
via proceed_next_node in posix/regexec.c leads to heap-based buffer
|
|
|
|
|
over-read. Reported by Hongxu Chen.
|
|
|
|
|
|
2019-01-31 17:09:14 +00:00
|
|
|
|
The following bugs are resolved with this release:
|
|
|
|
|
|
2019-08-01 04:22:46 +00:00
|
|
|
|
[2872] locale: Transliteration Cyrillic -> ASCII fails
|
|
|
|
|
[6399] libc: gettid() should have a wrapper
|
|
|
|
|
[16573] malloc: mtrace hangs when MALLOC_TRACE is defined
|
|
|
|
|
[16976] glob: fnmatch unbounded stack VLA for collating symbols
|
|
|
|
|
[17396] localedata: globbing for locale by [[.collating-element.]]
|
|
|
|
|
[18035] dynamic-link: pldd does no longer work, enters infinite loop
|
|
|
|
|
[18465] malloc: memusagestat is built using system C library
|
|
|
|
|
[18830] locale: iconv -c -f ascii with >buffer size worth of input before
|
|
|
|
|
invalid input drops valid char
|
|
|
|
|
[20188] nptl: libpthread IFUNC resolver for vfork can lead to crash
|
|
|
|
|
[20568] locale: Segfault with wide characters and setlocale/fgetwc/UTF-8
|
|
|
|
|
[21897] localedata: Afar locales: Fix mon, abmon, and abday
|
|
|
|
|
[22964] localedata: The Japanese Era name will be changed on May 1, 2019
|
|
|
|
|
[23352] malloc: __malloc_check_init still defined in public header
|
|
|
|
|
malloc.h.
|
|
|
|
|
[23403] nptl: Wrong alignment of TLS variables
|
|
|
|
|
[23501] libc: nftw() doesn't return dangling symlink's inode
|
|
|
|
|
[23733] malloc: Check the count before calling tcache_get()
|
|
|
|
|
[23741] malloc: Missing __attribute_alloc_size__ in many allocation
|
|
|
|
|
functions
|
|
|
|
|
[23831] localedata: nl_NL missing LC_NUMERIC thousands_sep
|
|
|
|
|
[23844] nptl: pthread_rwlock_trywrlock results in hang
|
|
|
|
|
[23983] argparse: Missing compat versions of argp_failure and argp_error
|
|
|
|
|
for long double = double
|
|
|
|
|
[23984] libc: Missing compat versions of err.h and error.h functions for
|
|
|
|
|
long double = double
|
|
|
|
|
[23996] localedata: Dutch salutations
|
|
|
|
|
[24040] libc: riscv64: unterminated call chain in __thread_start
|
|
|
|
|
[24047] network: libresolv should use IP_RECVERR/IPV6_RECVERR to avoid
|
|
|
|
|
long timeouts
|
2020-11-02 07:53:13 +00:00
|
|
|
|
[24051] stdio: puts and putchar output to _IO_stdout instead of stdout
|
2019-08-01 04:22:46 +00:00
|
|
|
|
[24059] nss: nss_files: get_next_alias calls fgets_unlocked without
|
|
|
|
|
checking for NULL.
|
|
|
|
|
[24114] regex: regexec buffer read overrun in "grep -i
|
|
|
|
|
'\(\(\)*.\)*\(\)\(\)\1'"
|
|
|
|
|
[24122] libc: Segfaults if 0 returned from la_version
|
|
|
|
|
[24153] stdio: Some input functions do not react to stdin assignment
|
|
|
|
|
[24155] string: x32 memcmp can treat positive length as 0 (if sign bit in
|
|
|
|
|
RDX is set) (CVE-2019-7309)
|
|
|
|
|
[24161] nptl: __run_fork_handlers self-deadlocks in malloc/tst-mallocfork2
|
|
|
|
|
[24164] libc: Systemtap probes need to use "nr" constraint on 32-bit Arm,
|
|
|
|
|
not the default "nor"
|
|
|
|
|
[24166] dynamic-link: Dl_serinfo.dls_serpath[1] in dlfcn.h causes UBSAN
|
|
|
|
|
false positives, change to modern flexible array
|
|
|
|
|
[24180] nptl: pthread_mutex_trylock does not use the correct order of
|
|
|
|
|
instructions while maintaining the robust mutex list due to missing
|
|
|
|
|
compiler barriers.
|
|
|
|
|
[24194] librt: Non-compatibility symbols for clock_gettime etc. cause
|
|
|
|
|
unnecessary librt dependencies
|
|
|
|
|
[24200] localedata: Revert first_weekday removal in en_IE locale
|
|
|
|
|
[24211] nptl: Use-after-free in Systemtap probe in pthread_join
|
|
|
|
|
[24215] nptl: pthread_timedjoin_np should be a cancellation point
|
|
|
|
|
[24216] malloc: Check for large bin list corruption when inserting
|
|
|
|
|
unsorted chunk
|
|
|
|
|
[24228] stdio: old x86 applications that use legacy libio crash on exit
|
|
|
|
|
[24231] dynamic-link: [sparc64] R_SPARC_H34 implementation falls through
|
|
|
|
|
to R_SPARC_H44
|
|
|
|
|
[24293] localedata: Missing Minguo calendar support for TW locales
|
|
|
|
|
[24296] localedata: Orthographic mistakes in 'day' and 'abday' sections in
|
|
|
|
|
tt_RU (Tatar) locale
|
|
|
|
|
[24307] localedata: Update locale data to Unicode 12.0.0
|
|
|
|
|
[24323] dynamic-link: dlopen should not be able open PIE objects
|
|
|
|
|
[24335] build: "Obsolete types detected" with Linux 5.0 headers
|
|
|
|
|
[24369] localedata: Orthographic mistakes in 'mon' and 'abmon' sections in
|
|
|
|
|
tt_RU (Tatar) locale
|
|
|
|
|
[24370] localedata: Add lang_name for tt_RU locale
|
|
|
|
|
[24372] locale: Binary locale files are not architecture independent
|
|
|
|
|
[24394] time: strptime %Ey mis-parses final year of era
|
|
|
|
|
[24476] dynamic-link: __libc_freeres triggers bad free in libdl if dlerror
|
|
|
|
|
was not used
|
|
|
|
|
[24506] dynamic-link: FAIL: elf/tst-pldd with --enable-hardcoded-path-in-
|
|
|
|
|
tests
|
|
|
|
|
[24531] malloc: Malloc tunables give tcache assertion failures
|
|
|
|
|
[24532] libc: conform/arpa/inet.h failures due to linux kernel 64-bit
|
|
|
|
|
time_t changes
|
|
|
|
|
[24535] localedata: Update locale data to Unicode 12.1.0
|
|
|
|
|
[24537] build: nptl/tst-eintr1 test case can hit task limits on some
|
|
|
|
|
kernels and break testing
|
|
|
|
|
[24544] build: elf/tst-pldd doesn't work if you install with a --prefix
|
|
|
|
|
[24556] build: [GCC 9] error: ‘%s’ directive argument is null
|
|
|
|
|
[-Werror=format-overflow=]
|
|
|
|
|
[24570] libc: alpha: compat msgctl uses __IPC_64
|
|
|
|
|
[24584] locale: Data race in __wcsmbs_clone_conv
|
|
|
|
|
[24588] stdio: Remove codecvt vtables from libio
|
|
|
|
|
[24603] math: sysdeps/ieee754/dbl-64/branred.c is slow when compiled with
|
|
|
|
|
-O3 -march=skylake
|
|
|
|
|
[24614] localedata: nl_NL LC_MONETARY doesn't match CLDR 35
|
|
|
|
|
[24632] stdio: Old binaries which use freopen with default stdio handles
|
|
|
|
|
crash
|
|
|
|
|
[24640] libc: __ppc_get_timebase_freq() always return 0 when using static
|
|
|
|
|
linked glibc
|
|
|
|
|
[24652] localedata: szl_PL spelling correction
|
|
|
|
|
[24695] nss: nss_db: calling getpwent after endpwent crashes
|
|
|
|
|
[24696] nss: endgrent() clobbers errno=ERRNO for 'group: db files' entry
|
|
|
|
|
in /etc/nsswitch.conf
|
|
|
|
|
[24699] libc: mmap64 with very large offset broken on MIPS64 n32
|
|
|
|
|
[24740] libc: getdents64 type confusion
|
|
|
|
|
[24741] dynamic-link: ld.so should not require that a versioned symbol is
|
|
|
|
|
always implemented in the same library
|
|
|
|
|
[24744] libc: Remove copy_file_range emulation
|
|
|
|
|
[24757] malloc: memusagestat is linked against system libpthread
|
|
|
|
|
[24794] libc: Partial test suite run builds corrupt test-in-container
|
|
|
|
|
testroot
|
2019-01-31 17:09:14 +00:00
|
|
|
|
|
2018-08-01 05:34:25 +00:00
|
|
|
|
|
|
|
|
|
Version 2.29
|
|
|
|
|
|
|
|
|
|
Major new features:
|
|
|
|
|
|
2018-12-07 17:17:37 +00:00
|
|
|
|
* The getcpu wrapper function has been added, which returns the currently
|
|
|
|
|
used CPU and NUMA node. This function is Linux-specific.
|
|
|
|
|
|
2018-07-26 14:14:55 +00:00
|
|
|
|
* A new convenience target has been added for distribution maintainers
|
|
|
|
|
to build and install all locales as directories with files. The new
|
|
|
|
|
target is run by issuing the following command in your build tree:
|
|
|
|
|
'make localedata/install-locale-files', with an optional DESTDIR
|
|
|
|
|
to set the install root if you wish to install into a non-default
|
|
|
|
|
configured location.
|
2018-08-01 05:34:25 +00:00
|
|
|
|
|
2018-06-13 16:57:20 +00:00
|
|
|
|
* Optimized generic exp, exp2, log, log2, pow, sinf, cosf, sincosf and tanf.
|
2018-08-23 11:55:28 +00:00
|
|
|
|
|
2018-08-30 12:14:53 +00:00
|
|
|
|
* The reallocarray function is now declared under _DEFAULT_SOURCE, not just
|
|
|
|
|
for _GNU_SOURCE, to match BSD environments.
|
|
|
|
|
|
powerpc: Only enable TLE with PPC_FEATURE2_HTM_NOSC
Linux from 3.9 through 4.2 does not abort HTM transaction on syscalls,
instead it suspend and resume it when leaving the kernel. The
side-effects of the syscall will always remain visible, even if the
transaction is aborted. This is an issue when transaction is used along
with futex syscall, on pthread_cond_wait for instance, where the futex
call might succeed but the transaction is rolled back leading the
pthread_cond object in an inconsistent state.
Glibc used to prevent it by always aborting a transaction before issuing
a syscall. Linux 4.2 also decided to abort active transaction in
syscalls which makes the glibc workaround superfluous. Worse, glibc
transaction abortion leads to a performance issue on recent kernels
where the HTM state is saved/restore lazily (v4.9). By aborting a
transaction on every syscalls, regardless whether a transaction has being
initiated before, GLIBS makes the kernel always save/restore HTM state
(it can not even lazily disable it after a certain number of syscall
iterations).
Because of this shortcoming, Transactional Lock Elision is just enabled
when it has been explicitly set (either by tunables of by a configure
switch) and if kernel aborts HTM transactions on syscalls
(PPC_FEATURE2_HTM_NOSC). It is reported that using simple benchmark [1],
the context-switch is about 5% faster by not issuing a tabort in every
syscall in newer kernels.
Checked on powerpc64le-linux-gnu with 4.4.0 kernel (Ubuntu 16.04).
* NEWS: Add note about new TLE support on powerpc64le.
* sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
* sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
__ununsed1.
(TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
(THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
* sysdeps/powerpc/powerpc32/sysdep.h,
sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
ABORT_TRANSACTION): Remove macros.
* sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
* sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
__pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
usage.
* sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
Reported-by: Breno Leitão <leitao@debian.org>
2018-08-27 12:42:50 +00:00
|
|
|
|
* For powercp64le ABI, Transactional Lock Elision is now enabled iff kernel
|
|
|
|
|
indicates that it will abort the transaction prior to entering the kernel
|
|
|
|
|
(PPC_FEATURE2_HTM_NOSC on hwcap2). On older kernels the transaction is
|
|
|
|
|
suspended, and this caused some undefined side-effects issues by aborting
|
|
|
|
|
transactions manually. Glibc avoided it by abort transactions manually on
|
|
|
|
|
each syscall, but it lead to performance issues on newer kernels where the
|
|
|
|
|
HTM state is saved and restore lazily (the state being saved even when the
|
|
|
|
|
process actually does not use HTM).
|
|
|
|
|
|
2018-12-07 14:00:04 +00:00
|
|
|
|
* The functions posix_spawn_file_actions_addchdir_np and
|
|
|
|
|
posix_spawn_file_actions_addfchdir_np have been added, enabling
|
|
|
|
|
posix_spawn and posix_spawnp to run the new process in a different
|
|
|
|
|
directory. These functions are GNU extensions. The function
|
|
|
|
|
posix_spawn_file_actions_addchdir_np is similar to the Solaris function
|
|
|
|
|
of the same name.
|
2018-11-06 15:08:12 +00:00
|
|
|
|
|
2018-09-12 13:32:05 +00:00
|
|
|
|
* The popen and system do not run atfork handlers anymore (BZ#17490).
|
|
|
|
|
Although it is a possible POSIX violation, the POSIX rationale in
|
|
|
|
|
pthread_atfork documentation regarding atfork handlers is to handle
|
2018-12-28 20:15:41 +00:00
|
|
|
|
inconsistent mutex state after a fork call in a multi-threaded process.
|
2018-09-12 13:32:05 +00:00
|
|
|
|
In both popen and system there is no direct access to user-defined mutexes.
|
|
|
|
|
|
2018-12-21 01:48:04 +00:00
|
|
|
|
* Support for the C-SKY ABIV2 running on Linux has been added. This port
|
|
|
|
|
requires at least binutils-2.32, gcc-9.0, and linux-4.20. Two ABIs are
|
|
|
|
|
supported:
|
|
|
|
|
- C-SKY ABIV2 soft-float little-endian
|
|
|
|
|
- C-SKY ABIV2 hard-float little-endian
|
|
|
|
|
|
2019-01-24 14:00:53 +00:00
|
|
|
|
* strftime's default formatting of a locale's alternative year (%Ey)
|
|
|
|
|
has been changed to zero-pad the year to a minimum of two digits,
|
|
|
|
|
like "%y". This improves the display of Japanese era years during
|
|
|
|
|
the first nine years of a new era, and is expected to be harmless
|
|
|
|
|
for all other locales (only Japanese locales regularly have
|
|
|
|
|
alternative year numbers less than 10). Zero-padding can be
|
|
|
|
|
overridden with the '_' or '-' flags (which are GNU extensions).
|
|
|
|
|
|
2019-01-24 14:04:12 +00:00
|
|
|
|
* As a GNU extension, the '_' and '-' flags can now be applied to
|
|
|
|
|
"%EY" to control how the year number is formatted; they have the
|
|
|
|
|
same effect that they would on "%Ey".
|
|
|
|
|
|
2018-08-01 05:34:25 +00:00
|
|
|
|
Deprecated and removed features, and other changes affecting compatibility:
|
|
|
|
|
|
2018-08-02 18:19:19 +00:00
|
|
|
|
* The glibc.tune tunable namespace has been renamed to glibc.cpu and the
|
|
|
|
|
tunable glibc.tune.cpu has been renamed to glibc.cpu.name.
|
2018-08-01 05:34:25 +00:00
|
|
|
|
|
Fix sys/procfs.h pr_uid, pr_gid type (bug 23649).
As noted in
<https://sourceware.org/ml/libc-alpha/2018-09/msg00178.html>, glibc's
sys/procfs.h headers for microblaze, mips (n64), nios2 and riscv have
incorrect types for the pr_uid and pr_gid members of struct
elf_prpsinfo (as does the generic Linux version, but nothing uses
that).
This patch fixes those headers to use unsigned int. The generic Linux
version is also fixed, but I do *not* recommend making new
architectures use it yet. Rather, I think it should be reworked to
look more like a copy of the AArch64 version, but with a new
<bits/procfs.h> header included to provide register set definitions;
<bits/procfs.h> would then be architecture-specific while many
architectures could use the generic <sys/procfs.h>. This fix is
deliberately separate from any reworking to use a generic header more,
since it's possible there could be uses for backporting this fix but
not for backporting a subsequent cleanup.
Tested with build-many-glibcs.py. This of course doesn't provide much
validation of the structure layout; if the Linux kernel is fixed so
that "#include <linux/elfcore.h>" actually compiles with the headers
from "make headers_install" (and if the layout in both headers is
meant to be the same, whatever ABI we are building for), I have a test
that can be added to glibc to check the layout against that from the
Linux kernel.
[BZ #23649]
* sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
* sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
Likewise.
* sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
elf_prpsinfo): Likewise.
* sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
elf_prpsinfo): Likewise.
* sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
Likewise.
2018-09-14 13:21:33 +00:00
|
|
|
|
* The type of the pr_uid and pr_gid members of struct elf_prpsinfo, defined
|
|
|
|
|
in <sys/procfs.h>, has been corrected to match the type actually used by
|
|
|
|
|
the Linux kernel. This affects the size and layout of that structure on
|
|
|
|
|
MicroBlaze, MIPS (n64 ABI only), Nios II and RISC-V.
|
|
|
|
|
|
2018-09-14 16:02:57 +00:00
|
|
|
|
* For the MIPS n32 ABI, the type of the pr_sigpend and pr_sighold members of
|
|
|
|
|
struct elf_prstatus, and the pr_flag member of struct elf_prpsinfo,
|
|
|
|
|
defined in <sys/procfs.h>, has been corrected to match the type actually
|
|
|
|
|
used by the Linux kernel. This affects the size and layout of those
|
|
|
|
|
structures.
|
|
|
|
|
|
Use C99-compliant scanf under _GNU_SOURCE with modern compilers.
The only difference between noncompliant and C99-compliant scanf is
that the former accepts the archaic GNU extension '%as' (also %aS and
%a[...]) meaning to allocate space for the input string with malloc.
This extension conflicts with C99's use of %a as a format _type_
meaning to read a floating-point number; POSIX.1-2008 standardized
equivalent functionality using the modifier letter 'm' instead (%ms,
%mS, %m[...]).
The extension was already disabled in most conformance modes:
specifically, any mode that doesn't involve _GNU_SOURCE and _does_
involve either strict conformance to C99 or loose conformance to both
C99 and POSIX.1-2001 would get the C99-compliant scanf. With
compilers new enough to use -std=gnu11 instead of -std=gnu89, or
equivalent, that includes the default mode.
With this patch, we now provide C99-compliant scanf in all
configurations except when _GNU_SOURCE is defined *and*
__STDC_VERSION__ or __cplusplus (whichever is relevant) indicates
C89/C++98. This leaves the old scanf available under e.g. -std=c89
-D_GNU_SOURCE, but removes it from e.g. -std=gnu11 -D_GNU_SOURCE (it
was already not present under -std=gnu11 without -D_GNU_SOURCE) and
from -std=gnu89 without -D_GNU_SOURCE.
There needs to be an internal override so we can compile the
noncompliant scanf itself. This is the same problem we had when we
removed 'gets' from _GNU_SOURCE and it's dealt with the same way:
there's a new __GLIBC_USE symbol, DEPRECATED_SCANF, which defaults to
off under the appropriate conditions for external code, but can be
overridden by individual files within stdio.
We also run into problems with PLT bypass for internal uses of sscanf,
because libc_hidden_proto uses __REDIRECT and so does the logic in
stdio.h for choosing which implementation of scanf to use; __REDIRECT
isn't transitive, so include/stdio.h needs to bridge the gap with a
macro. As far as I can tell, sscanf is the only function in this
family that's internally called by unrelated code.
Finally, there are several tests in stdio-common that use the
extension. bug21.c is a regression test for a crash; it still
exercises the relevant code when changed to use %ms instead of %as.
scanf14.c through scanf17.c are more complicated since they are
actually testing the subtleties of the extension - under what
circumstances is 'a' treated as a modifier letter, etc. I changed all
of them to use %ms instead of %as as well, but duplicated scanf14.c
and scanf16.c as scanf14a.c and scanf16a.c. These still use %as and
are compiled with -std=gnu89 to access the old extension. A bunch of
diagnostic overrides and manual workarounds for the old stdio.h
behavior become unnecessary. Yay!
* include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
parameter. Only use deprecated scanf when __USE_GNU is defined
and __STDC_VERSION__ is less than 199901L or __cplusplus is less
than 201103L, whichever is relevant for the language being compiled.
* libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
__isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
* wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
* libio/iovsscanf.c
* libio/fwscanf.c
* libio/iovswscanf.c
* libio/swscanf.c
* libio/vscanf.c
* libio/vwscanf.c
* libio/wscanf.c
* stdio-common/fscanf.c
* stdio-common/scanf.c
* stdio-common/vfscanf.c
* stdio-common/vfwscanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-compat.c
* sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
* sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
Override __GLIBC_USE_DEPRECATED_SCANF to 1.
* stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
* stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
* include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
not sscanf.
[!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
with a preprocessor macro.
* stdio-common/bug21.c, stdio-common/scanf14.c:
Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
* stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
to xscanf, xfscanf, xsscanf.
* stdio-common/scanf14a.c: New copy of scanf14.c which still uses
%as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
* stdio-common/scanf16a.c: New copy of scanf16.c which still uses
%as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
xfscanf, xsscanf.
* stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
override feature selection macros or provide definitions of u_char etc.
* stdio-common/Makefile (tests): Add scanf14a and scanf16a.
(CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
(CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
with -std=gnu89.
2018-02-10 16:58:35 +00:00
|
|
|
|
* An archaic GNU extension to scanf, under which '%as', '%aS', and '%a[...]'
|
|
|
|
|
meant to scan a string and allocate space for it with malloc, is now
|
|
|
|
|
restricted to programs compiled in C89 or C++98 mode with _GNU_SOURCE
|
|
|
|
|
defined. This extension conflicts with C99's use of '%a' to scan a
|
|
|
|
|
hexadecimal floating-point number, which is now available to programs
|
|
|
|
|
compiled as C99 or C++11 or higher, regardless of _GNU_SOURCE.
|
|
|
|
|
|
|
|
|
|
POSIX.1-2008 includes the feature of allocating a buffer for string input
|
|
|
|
|
with malloc, using the modifier letter 'm' instead. Programs using
|
|
|
|
|
'%as', '%aS', or '%a[...]' with the old GNU meaning should change to
|
|
|
|
|
'%ms', '%mS', or '%m[...]' respectively. Programs that wish to use the
|
|
|
|
|
C99 '%a' no longer need to avoid _GNU_SOURCE.
|
|
|
|
|
|
|
|
|
|
GCC's -Wformat warnings can detect most uses of this extension, as long
|
|
|
|
|
as all functions that call vscanf, vfscanf, or vsscanf are annotated with
|
|
|
|
|
__attribute__ ((format (scanf, ...))).
|
|
|
|
|
|
2018-08-01 05:34:25 +00:00
|
|
|
|
Changes to build and runtime requirements:
|
|
|
|
|
|
2018-10-29 15:28:05 +00:00
|
|
|
|
* Python 3.4 or later is required to build the GNU C Library.
|
2018-08-01 05:34:25 +00:00
|
|
|
|
|
2018-12-21 17:53:40 +00:00
|
|
|
|
* On most architectures, GCC 5 or later is required to build the GNU C
|
|
|
|
|
Library. (On powerpc64le, GCC 6.2 or later is still required, as before.)
|
|
|
|
|
|
|
|
|
|
Older GCC versions and non-GNU compilers are still supported when
|
|
|
|
|
compiling programs that use the GNU C Library.
|
|
|
|
|
|
2018-08-01 05:34:25 +00:00
|
|
|
|
Security related changes:
|
|
|
|
|
|
2018-11-27 15:12:43 +00:00
|
|
|
|
CVE-2018-19591: A file descriptor leak in if_nametoindex can lead to a
|
|
|
|
|
denial of service due to resource exhaustion when processing getaddrinfo
|
|
|
|
|
calls with crafted host names. Reported by Guido Vranken.
|
2018-08-01 05:34:25 +00:00
|
|
|
|
|
2019-01-21 19:23:59 +00:00
|
|
|
|
CVE-2019-6488: On x32, the size_t parameter may be passed in the lower
|
|
|
|
|
32 bits of a 64-bit register with with non-zero upper 32 bit. When it
|
|
|
|
|
happened, accessing the 32-bit size_t value as the full 64-bit register
|
|
|
|
|
in the assembly string/memory functions would cause a buffer overflow.
|
|
|
|
|
Reported by H.J. Lu.
|
|
|
|
|
|
2019-01-21 20:26:03 +00:00
|
|
|
|
CVE-2016-10739: The getaddrinfo function could successfully parse IPv4
|
|
|
|
|
addresses with arbitrary trailing characters, potentially leading to data
|
|
|
|
|
or command injection issues in applications.
|
|
|
|
|
|
2018-08-01 05:34:25 +00:00
|
|
|
|
The following bugs are resolved with this release:
|
|
|
|
|
|
2019-01-31 16:31:21 +00:00
|
|
|
|
[10425] localedata: it_IT/it_CH: LC_TIME format is wrong
|
|
|
|
|
[10496] localedata: 12h time representation in multiple locales faulty
|
|
|
|
|
[10797] localedata: it_IT locale numeric does not have a separator for
|
|
|
|
|
thousands
|
|
|
|
|
[11319] libc: dprintf doesn't handle errors properly
|
|
|
|
|
[16346] time: mktime: potentially unsafe use of localtime_offset
|
|
|
|
|
[17248] build: glibc should not sort CFLAGS (support gcc plugins and
|
|
|
|
|
--param options)
|
|
|
|
|
[17405] libc: Implement posix_spawn_file_actions_addchdir_np,
|
|
|
|
|
posix_spawn_file_actions_addfchdir_np
|
|
|
|
|
[17426] localedata: Indian locales: set the correct date format
|
|
|
|
|
[17490] stdio: popen should not invoke atfork handlers
|
|
|
|
|
[17783] libc: TIOCSER_TEMT conditions inconsistent
|
|
|
|
|
[18040] regex: use-after-free in regexec/get_subexp
|
|
|
|
|
[18093] libc: Corrupted aux-cache causes ldconfig to segfault
|
|
|
|
|
[20018] network: getaddrinfo should reject IP addresses with trailing
|
|
|
|
|
characters (CVE-2016-10739)
|
|
|
|
|
[20209] localedata: Spelling mistake for Sunday in Greenlandic kl_GL
|
|
|
|
|
[20271] libc: Missing "\n" in __libc_fatal calls
|
|
|
|
|
[20480] dynamic-link: Patch: ifunc not executable, crashes sudo qemu
|
|
|
|
|
[20544] libc: RFE: atexit, __cxa_atexit, on_exit should assert function
|
|
|
|
|
pointer argument is non-NULL
|
|
|
|
|
[21037] stdio: open_memstream and freopen
|
|
|
|
|
[21286] libc: bits/siginfo.h is missing enum definition for TRAP_HWBKPT
|
|
|
|
|
[21716] time: Crash in glibc's mktime in low-memory situations
|
|
|
|
|
[22834] stdio: Subprocess forked by popen may crash in Linux when
|
|
|
|
|
multithreads call popen
|
|
|
|
|
[22927] network: crash in vn_gai_enqueue_request if requests_tail was NULL
|
|
|
|
|
and pthread_create fails.
|
|
|
|
|
[23032] hurd: sysdeps/htl/pt-barrier-init.c:39: bad call to memcmp ?
|
|
|
|
|
[23125] libc: riscv64: endless loop when throwing an exception from a
|
|
|
|
|
constructor
|
|
|
|
|
[23275] nptl: Race in pthread_mutex_lock while promoting to
|
|
|
|
|
PTHREAD_MUTEX_ELISION_NP.
|
|
|
|
|
[23400] libc: stdlib/test-bz22786.c creates temporary files in glibc
|
|
|
|
|
source tree
|
|
|
|
|
[23479] math: [mips] bits/fenv.h should not define some macros for soft-
|
|
|
|
|
float
|
|
|
|
|
[23490] libc: sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c:49: off by
|
|
|
|
|
one error
|
|
|
|
|
[23497] libc: readdir64@GLIBC_2.1 cannot parse the kernel directory stream
|
|
|
|
|
[23509] dynamic-link: CET enabled glibc is incompatible with the older
|
|
|
|
|
linker
|
|
|
|
|
[23520] nscd: nscd: Use-after-free in addgetnetgrentX and its callers
|
|
|
|
|
[23521] nss: get_next_alias nss_files file stream leak
|
|
|
|
|
[23538] nptl: Hang in pthread_cond_broadcast
|
|
|
|
|
[23562] libc: Wrong type for si_band in Linux-specific siginfo_t
|
|
|
|
|
[23578] regex: Invalid memory access if regex pattern contains NUL byte
|
|
|
|
|
[23579] libc: Errors misreported in preadv2
|
|
|
|
|
[23597] build: support/test-container.c doesn't work with different
|
|
|
|
|
filesystems
|
|
|
|
|
[23603] time: mktime signed integer overflow on large timestamps
|
|
|
|
|
[23606] libc: Missing ENDBR32 in sysdeps/i386/start.S
|
|
|
|
|
[23614] libc: powerpc: missing CFI register information in __mpn_*
|
|
|
|
|
functions
|
|
|
|
|
[23637] string: Generic strstr/strcasestr fails with huge needles
|
|
|
|
|
[23640] libc: no way to easily clear FD_CLOEXEC in
|
|
|
|
|
posix_spawn_file_actions_adddup2()
|
|
|
|
|
[23649] libc: [microblaze/mips/nios2/riscv] sys/procfs.h pr_uid, pr_gid
|
|
|
|
|
have wrong type
|
|
|
|
|
[23656] libc: [mips n32] sys/procfs.h pr_sigpend, pr_sighold, pr_flag have
|
|
|
|
|
wrong type
|
|
|
|
|
[23679] libc: gethostid: Missing NULL check for gethostbyname_r result
|
|
|
|
|
[23689] libc: Bug in documentation for rusage.ru_ixrss in
|
|
|
|
|
bits/types/struct_rusage.h
|
|
|
|
|
[23690] dynamic-link: Segfault in _dl_profile_fixup with a high number of
|
|
|
|
|
threads
|
|
|
|
|
[23707] dynamic-link: Missing unwind info in sysdeps/powerpc/powerpc32/dl-
|
|
|
|
|
start.S
|
|
|
|
|
[23709] string: glibc 2.25 lacks sse2 optimized strstr()
|
|
|
|
|
[23716] dynamic-link: _dl_runtime_resolve_shstk isn't selected properly
|
|
|
|
|
[23717] libc: glibc: stdlib/tst-setcontext9 test suite failure on
|
|
|
|
|
powerpc64le
|
|
|
|
|
[23724] localedata: Albanian date formats are incorrect
|
|
|
|
|
[23735] math: libnldbl_nonshared.a references internal libm symbols
|
|
|
|
|
[23740] localedata: kl_GL: Month names and date formats need update
|
|
|
|
|
[23744] regex: regex refactorings to remove BE, avoid duplication
|
|
|
|
|
[23745] time: mktime fix for Gnulib + coreutils
|
|
|
|
|
[23758] time: Improve the width of alternate representation for year in
|
|
|
|
|
strftime
|
|
|
|
|
[23783] libc: [mips] Missing CMSPAR bits/termios.h
|
|
|
|
|
[23789] time: mktime does not set errno on failure
|
|
|
|
|
[23791] localedata: Wrong monetary format for ca_ES locale
|
|
|
|
|
[23793] locale: c32rtomb and mbrtoc32 should not alias wcrtomb and mbrtowc
|
|
|
|
|
[23794] locale: c16rtomb does not handle surrogate pairs
|
|
|
|
|
[23821] libc: si_band in siginfo_t has wrong type long int on sparc64
|
|
|
|
|
[23822] math: ia64 static libm.a is missing exp2f, log2f and powf symbols
|
|
|
|
|
[23836] time: time/tst-mktime2 test failure on Arm (32-bit)
|
|
|
|
|
[23848] libc: [sparc] Some socket syscalls wrongly assumed to be present
|
|
|
|
|
[23861] nptl: rdlock stalls indefinitely on an unlocked pthread rwlock
|
|
|
|
|
[23862] libc: [sh] missing kernel-features.h undefines
|
|
|
|
|
[23864] libc: [riscv] missing kernel-features.h undefines
|
|
|
|
|
[23867] libc: [arm/microblaze] __ASSUME_MLOCK2 incorrect
|
|
|
|
|
[23907] malloc: Incorrect double-free malloc tcache check disregards
|
|
|
|
|
tcache size
|
|
|
|
|
[23913] libc: off-by-one in function maybe_script_execute in
|
|
|
|
|
sysdeps/posix/spawni.c
|
|
|
|
|
[23915] libc: [arm] __ASSUME_COPY_FILE_RANGE incorrect
|
|
|
|
|
[23923] locale: Add --no-hard-links option to localedef
|
|
|
|
|
[23927] network: Linux if_nametoindex() does not close descriptor
|
|
|
|
|
(CVE-2018-19591)
|
|
|
|
|
[23961] math: powf can overflow to inf without setting errno in non-
|
|
|
|
|
nearest rounding mode
|
|
|
|
|
[23967] libc: [2.28 Regression]: New sigaction implementation breaks m68k
|
|
|
|
|
[23972] libc: __old_getdents64 uses wrong d_off value on overflow
|
|
|
|
|
[23993] libc: glibc 2.29 doesn't build with gcc 4.9
|
|
|
|
|
[23995] localedata: Remove execution flags from localedata/locales/bi_VU
|
|
|
|
|
[24011] localedata: Fixed small type in comment for locale bs_BA
|
|
|
|
|
[24018] libc: gettext() may return NULL
|
|
|
|
|
[24022] build: riscv build failure with Linux kernel 4.20-rc7
|
|
|
|
|
[24023] build: [2.29 Regression] FAIL: elf/check-localplt
|
|
|
|
|
[24024] string: strerror() might set errno to ENOMEM due to -fno-math-
|
|
|
|
|
error
|
|
|
|
|
[24027] malloc: glibc: realloc() ncopies 32-bit integer overflow
|
|
|
|
|
[24034] libc: tst-cancel21-static fails with SIGBUS on pre-ARMv7 when
|
|
|
|
|
using GCC 8
|
|
|
|
|
[24046] localedata: en_US locale doesn't define date_fmt
|
|
|
|
|
[24063] manual: @var{errno} should be @code{errno}
|
|
|
|
|
[24066] soft-fp: Inconsistent _FP_W_TYPE_SIZE check
|
|
|
|
|
[24088] libc: VSCR field is not being correctly read in ucontext_t on
|
|
|
|
|
ppc64le
|
|
|
|
|
[24096] time: Specifying '_' or '-' flag for "%EY" does not produce the
|
|
|
|
|
expected result
|
|
|
|
|
[24097] string: Can't use 64-bit register for size_t in assembly codes for
|
|
|
|
|
x32 (CVE-2019-6488)
|
|
|
|
|
[24110] hurd: SS_DISABLE never set in stack_t value returned by
|
|
|
|
|
sigaltstack
|
|
|
|
|
[24112] network: Do not send DNS queries for non-host names (where all
|
|
|
|
|
answers will be rejected)
|
|
|
|
|
[24130] libc: alpha __remqu corrupts $f3 register
|
2018-08-01 05:34:25 +00:00
|
|
|
|
|
2018-02-01 17:18:19 +00:00
|
|
|
|
|
|
|
|
|
Version 2.28
|
|
|
|
|
|
|
|
|
|
Major new features:
|
|
|
|
|
|
2018-07-27 19:56:24 +00:00
|
|
|
|
* The localization data for ISO 14651 is updated to match the 2016
|
|
|
|
|
Edition 4 release of the standard, this matches data provided by
|
|
|
|
|
Unicode 9.0.0. This update introduces significant improvements to the
|
|
|
|
|
collation of Unicode characters. This release deviates slightly from
|
|
|
|
|
the standard in that the collation element ordering for lowercase and
|
|
|
|
|
uppercase LATIN script characters is adjusted to ensure that regular
|
|
|
|
|
expressions with ranges like [a-z] and [A-Z] don't interleave e.g. A
|
|
|
|
|
is not matched by [a-z]. With the update many locales have been
|
|
|
|
|
updated to take advantage of the new collation information. The new
|
|
|
|
|
collation information has increased the size of the compiled locale
|
|
|
|
|
archive or binary locales.
|
|
|
|
|
|
2018-07-18 16:52:40 +00:00
|
|
|
|
* The GNU C Library can now be compiled with support for Intel CET, AKA
|
|
|
|
|
Intel Control-flow Enforcement Technology. When the library is built
|
|
|
|
|
with --enable-cet, the resulting glibc is protected with indirect
|
|
|
|
|
branch tracking (IBT) and shadow stack (SHSTK). CET-enabled glibc is
|
|
|
|
|
compatible with all existing executables and shared libraries. This
|
|
|
|
|
feature is currently supported on i386, x86_64 and x32 with GCC 8 and
|
|
|
|
|
binutils 2.29 or later. Note that CET-enabled glibc requires CPUs
|
|
|
|
|
capable of multi-byte NOPs, like x86-64 processors as well as Intel
|
2018-07-19 19:04:56 +00:00
|
|
|
|
Pentium Pro or newer. NOTE: --enable-cet has been tested for i686,
|
|
|
|
|
x86_64 and x32 on non-CET processors. --enable-cet has been tested
|
|
|
|
|
for x86_64 and x32 on CET SDVs, but Intel CET support hasn't been
|
|
|
|
|
validated for i686.
|
2018-07-18 16:52:40 +00:00
|
|
|
|
|
2018-07-05 17:06:43 +00:00
|
|
|
|
* The GNU C Library now has correct support for ABSOLUTE symbols
|
|
|
|
|
(SHN_ABS-relative symbols). Previously such ABSOLUTE symbols were
|
|
|
|
|
relocated incorrectly or in some cases discarded. The GNU linker can
|
|
|
|
|
make use of the newer semantics, but it must communicate it to the
|
|
|
|
|
dynamic loader by setting the ELF file's identification (EI_ABIVERSION
|
|
|
|
|
field) to indicate such support is required.
|
|
|
|
|
|
2018-06-18 16:23:44 +00:00
|
|
|
|
* Unicode 11.0.0 Support: Character encoding, character type info, and
|
|
|
|
|
transliteration tables are all updated to Unicode 11.0.0, using
|
|
|
|
|
generator scripts contributed by Mike FABIAN (Red Hat).
|
|
|
|
|
|
Add narrowing add functions.
This patch adds the narrowing add functions from TS 18661-1 to glibc's
libm: fadd, faddl, daddl, f32addf64, f32addf32x, f32xaddf64 for all
configurations; f32addf64x, f32addf128, f64addf64x, f64addf128,
f32xaddf64x, f32xaddf128, f64xaddf128 for configurations with
_Float64x and _Float128; __nldbl_daddl for ldbl-opt. As discussed for
the build infrastructure patch, tgmath.h support is deliberately
deferred, and FP_FAST_* macros are not applicable without optimized
function implementations.
Function implementations are added for all relevant pairs of formats
(including certain cases of a format and itself where more than one
type has that format). The main implementations use round-to-odd, or
a trivial computation in the case where both formats are the same or
where the wider format is IBM long double (in which case we don't
attempt to be correctly rounding). The sysdeps/ieee754/soft-fp
implementations use soft-fp, and are used automatically for
configurations without exceptions and rounding modes by virtue of
existing Implies files. As previously discussed, optimized versions
for particular architectures are possible, but not included.
i386 gets a special version of f32xaddf64 to avoid problems with
double rounding (similar to the existing fdim version), since this
function must round just once without an intermediate rounding to long
double. (No such special version is needed for any other function,
because the nontrivial functions use round-to-odd, which does the
intermediate computation with the rounding mode set to round-to-zero,
and double rounding is OK except in round-to-nearest mode, so is OK
for that intermediate round-to-zero computation.) mul and div will
need slightly different special versions for i386 (using round-to-odd
on long double instead of precision control) because of the
possibility of inexact intermediate results in the subnormal range for
double.
To reduce duplication among the different function implementations,
math-narrow.h gets macros CHECK_NARROW_ADD, NARROW_ADD_ROUND_TO_ODD
and NARROW_ADD_TRIVIAL.
In the trivial cases and for any architecture-specific optimized
implementations, the overhead of the errno setting might be
significant, but I think that's best handled through compiler built-in
functions rather than providing separate no-errno versions in glibc
(and likewise there are no __*_finite entry points for these function
provided, __*_finite effectively being no-errno versions at present in
most cases).
Tested for x86_64 and x86, with both GCC 6 and GCC 7. Tested for
mips64 (all three ABIs, both hard and soft float) and powerpc with GCC
7. Tested with build-many-glibcs.py with both GCC 6 and GCC 7.
* math/Makefile (libm-narrow-fns): Add add.
(libm-test-funcs-narrow): Likewise.
* math/Versions (GLIBC_2.28): Add narrowing add functions.
* math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
* math/gen-auto-libm-tests.c (test_functions): Add add.
* math/math-narrow.h (CHECK_NARROW_ADD): New macro.
(NARROW_ADD_ROUND_TO_ODD): Likewise.
(NARROW_ADD_TRIVIAL): Likewise.
* sysdeps/ieee754/float128/float128_private.h (__faddl): New
macro.
(__daddl): Likewise.
* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
dadd.
(CFLAGS-nldbl-dadd.c): New variable.
(CFLAGS-nldbl-fadd.c): Likewise.
* sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
__nldbl_daddl.
* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
prototype.
* manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
* math/auto-libm-test-in: Add tests of add.
* math/auto-libm-test-out-narrow-add: New generated file.
* math/libm-test-narrow-add.inc: New file.
* sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
* sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
* sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
* sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
* sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
* sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
* sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
* sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
* sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
* sysdeps/mach/hurd/i386/libm.abilist: Likewise.
* 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/riscv/rv64/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/tilegx32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2018-02-10 02:08:43 +00:00
|
|
|
|
* <math.h> functions that round their results to a narrower type are added
|
|
|
|
|
from TS 18661-1:2014 and TS 18661-3:2015:
|
|
|
|
|
|
|
|
|
|
- fadd, faddl, daddl and corresponding fMaddfN, fMaddfNx, fMxaddfN and
|
|
|
|
|
fMxaddfNx functions.
|
2018-02-01 17:18:19 +00:00
|
|
|
|
|
Add narrowing subtract functions.
This patch adds the narrowing subtract functions from TS 18661-1 to
glibc's libm: fsub, fsubl, dsubl, f32subf64, f32subf32x, f32xsubf64
for all configurations; f32subf64x, f32subf128, f64subf64x,
f64subf128, f32xsubf64x, f32xsubf128, f64xsubf128 for configurations
with _Float64x and _Float128; __nldbl_dsubl for ldbl-opt.
The changes are essentially the same as for the narrowing add
functions, so the description of those generally applies to this patch
as well.
Tested for x86_64, x86, mips64 (all three ABIs, both hard and soft
float) and powerpc, and with build-many-glibcs.py.
* math/Makefile (libm-narrow-fns): Add sub.
(libm-test-funcs-narrow): Likewise.
* math/Versions (GLIBC_2.28): Add narrowing subtract functions.
* math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
* math/gen-auto-libm-tests.c (test_functions): Add sub.
* math/math-narrow.h (CHECK_NARROW_SUB): New macro.
(NARROW_SUB_ROUND_TO_ODD): Likewise.
(NARROW_SUB_TRIVIAL): Likewise.
* sysdeps/ieee754/float128/float128_private.h (__fsubl): New
macro.
(__dsubl): Likewise.
* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
dsub.
(CFLAGS-nldbl-dsub.c): New variable.
(CFLAGS-nldbl-fsub.c): Likewise.
* sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
__nldbl_dsubl.
* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
prototype.
* manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
* math/auto-libm-test-in: Add tests of sub.
* math/auto-libm-test-out-narrow-sub: New generated file.
* math/libm-test-narrow-sub.inc: New file.
* sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
* sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
* sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
* sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
* sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
* sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
* sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
* sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
* sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
* sysdeps/mach/hurd/i386/libm.abilist: Likewise.
* 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/riscv/rv64/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/tilegx32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2018-03-20 00:34:52 +00:00
|
|
|
|
- fsub, fsubl, dsubl and corresponding fMsubfN, fMsubfNx, fMxsubfN and
|
|
|
|
|
fMxsubfNx functions.
|
|
|
|
|
|
Add narrowing multiply functions.
This patch adds the narrowing multiply functions from TS 18661-1 to
glibc's libm: fmul, fmull, dmull, f32mulf64, f32mulf32x, f32xmulf64
for all configurations; f32mulf64x, f32mulf128, f64mulf64x,
f64mulf128, f32xmulf64x, f32xmulf128, f64xmulf128 for configurations
with _Float64x and _Float128; __nldbl_dmull for ldbl-opt.
The changes are mostly essentially the same as for the narrowing add
functions, so the description of those generally applies to this patch
as well. f32xmulf64 for i386 cannot use precision control as used for
add and subtract, because that would result in double rounding for
subnormal results, so that uses round-to-odd with long double
intermediate result instead. The soft-fp support involves adding a
new FP_TRUNC_COOKED since soft-fp multiplication uses cooked inputs
and outputs.
Tested for x86_64, x86, mips64 (all three ABIs, both hard and soft
float) and powerpc, and with build-many-glibcs.py.
* math/Makefile (libm-narrow-fns): Add mul.
(libm-test-funcs-narrow): Likewise.
* math/Versions (GLIBC_2.28): Add narrowing multiply functions.
* math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
* math/gen-auto-libm-tests.c (test_functions): Add mul.
* math/math-narrow.h (CHECK_NARROW_MUL): New macro.
(NARROW_MUL_ROUND_TO_ODD): Likewise.
(NARROW_MUL_TRIVIAL): Likewise.
* soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
* sysdeps/ieee754/float128/float128_private.h (__fmull): New
macro.
(__dmull): Likewise.
* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
dmul.
(CFLAGS-nldbl-dmul.c): New variable.
(CFLAGS-nldbl-fmul.c): Likewise.
* sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
__nldbl_dmull.
* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
prototype.
* manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
* math/auto-libm-test-in: Add tests of mul.
* math/auto-libm-test-out-narrow-mul: New generated file.
* math/libm-test-narrow-mul.inc: New file.
* sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
* sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
* sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
* sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
* sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
* sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
* sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
* sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
* sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
* sysdeps/mach/hurd/i386/libm.abilist: Likewise.
* 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/riscv/rv64/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/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2018-05-16 00:05:28 +00:00
|
|
|
|
- fmul, fmull, dmull and corresponding fMmulfN, fMmulfNx, fMxmulfN and
|
|
|
|
|
fMxmulfNx functions.
|
|
|
|
|
|
Add narrowing divide functions.
This patch adds the narrowing divide functions from TS 18661-1 to
glibc's libm: fdiv, fdivl, ddivl, f32divf64, f32divf32x, f32xdivf64
for all configurations; f32divf64x, f32divf128, f64divf64x,
f64divf128, f32xdivf64x, f32xdivf128, f64xdivf128 for configurations
with _Float64x and _Float128; __nldbl_ddivl for ldbl-opt.
The changes are mostly essentially the same as for the other narrowing
functions, so the description of those generally applies to this patch
as well.
Tested for x86_64, x86, mips64 (all three ABIs, both hard and soft
float) and powerpc, and with build-many-glibcs.py.
* math/Makefile (libm-narrow-fns): Add div.
(libm-test-funcs-narrow): Likewise.
* math/Versions (GLIBC_2.28): Add narrowing divide functions.
* math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
* math/gen-auto-libm-tests.c (test_functions): Add div.
* math/math-narrow.h (CHECK_NARROW_DIV): New macro.
(NARROW_DIV_ROUND_TO_ODD): Likewise.
(NARROW_DIV_TRIVIAL): Likewise.
* sysdeps/ieee754/float128/float128_private.h (__fdivl): New
macro.
(__ddivl): Likewise.
* sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
ddiv.
(CFLAGS-nldbl-ddiv.c): New variable.
(CFLAGS-nldbl-fdiv.c): Likewise.
* sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
__nldbl_ddivl.
* sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
prototype.
* manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
* math/auto-libm-test-in: Add tests of div.
* math/auto-libm-test-out-narrow-div: New generated file.
* math/libm-test-narrow-div.inc: New file.
* sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
* sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
* sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
* sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
* sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
* sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
* sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
* sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
* sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
* sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
* sysdeps/powerpc/fpu/libm-test-ulps: Update.
* sysdeps/mach/hurd/i386/libm.abilist: Likewise.
* 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/riscv/rv64/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/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2018-05-17 00:40:52 +00:00
|
|
|
|
- fdiv, fdivl, ddivl and corresponding fMdivfN, fMdivfNx, fMxdivfN and
|
|
|
|
|
fMxdivfNx functions.
|
|
|
|
|
|
2018-07-27 09:27:48 +00:00
|
|
|
|
* Two grammatical forms of month names are now supported for the following
|
oc_FR locale: Multiple updates (bug 23140, bug 23422).
Multiple updates for Occitan language including alternative month names,
update abday and abmon, fix typos in day, fix d_fmt, correct LC_NAME,
and use “copy "ca_ES"” as LC_COLLATE.
[BZ #23140]
* localedata/locales/oc_FR (mon): Rename to...
(alt_mon): This, then update October (typo fix).
(mon): New content (genitive case, month names preceded by
"de" or "d’").
[BZ #23422]
* localedata/locales/oc_FR (abday): Update all items.
(day): Update Wednesday and Saturday (typo fixes).
(abmon): Update all items, except May.
(d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
(LC_IDENTIFICATION): Bump the revision number and date.
Keep the "category" entries in alphabetic order.
(LC_ADDRESS): Remove no longer needed comment.
(LC_COLLATE): Use “copy "ca_ES"”.
(LC_NAME): Set the correct values of "name_fmt", "name_mr", and
"name_mrs".
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2018-05-19 15:59:08 +00:00
|
|
|
|
languages: Armenian, Asturian, Catalan, Czech, Kashubian, Occitan, Ossetian,
|
2018-01-30 11:31:12 +00:00
|
|
|
|
Scottish Gaelic, Upper Sorbian, and Walloon. The following languages now
|
2018-07-27 09:27:48 +00:00
|
|
|
|
support two grammatical forms in abbreviated month names: Catalan, Greek,
|
|
|
|
|
and Kashubian.
|
2018-03-16 21:55:11 +00:00
|
|
|
|
|
2018-07-06 05:46:13 +00:00
|
|
|
|
* Newly added locales: Lower Sorbian (dsb_DE) and Yakut (sah_RU) also
|
2018-07-27 09:27:48 +00:00
|
|
|
|
include the support for two grammatical forms of month names.
|
2018-06-07 23:26:43 +00:00
|
|
|
|
|
2018-04-02 14:45:44 +00:00
|
|
|
|
* Building and running on GNU/Hurd systems now works without out-of-tree
|
|
|
|
|
patches.
|
|
|
|
|
|
2018-07-05 16:59:02 +00:00
|
|
|
|
* The renameat2 function has been added, a variant of the renameat function
|
|
|
|
|
which has a flags argument. If the flags are zero, the renameat2 function
|
|
|
|
|
acts like renameat. If the flag is not zero and there is no kernel
|
|
|
|
|
support for renameat2, the function will fail with an errno value of
|
|
|
|
|
EINVAL. This is different from the existing gnulib function renameatu,
|
|
|
|
|
which performs a plain rename operation in case of a RENAME_NOREPLACE
|
|
|
|
|
flags and a non-existing destination (and therefore has a race condition
|
|
|
|
|
that can clobber the destination inadvertently).
|
|
|
|
|
|
2018-07-10 14:14:45 +00:00
|
|
|
|
* The statx function has been added, a variant of the fstatat64
|
|
|
|
|
function with an additional flags argument. If there is no direct
|
|
|
|
|
kernel support for statx, glibc provides basic stat support based on
|
|
|
|
|
the fstatat64 function.
|
|
|
|
|
|
2018-05-23 13:26:19 +00:00
|
|
|
|
* IDN domain names in getaddrinfo and getnameinfo now use the system libidn2
|
|
|
|
|
library if installed. libidn2 version 2.0.5 or later is recommended. If
|
|
|
|
|
libidn2 is not available, internationalized domain names are not encoded
|
|
|
|
|
or decoded even if the AI_IDN or NI_IDN flags are passed to getaddrinfo or
|
|
|
|
|
getnameinfo. (getaddrinfo calls with non-ASCII names and AI_IDN will fail
|
|
|
|
|
with an encoding error.) Flags which used to change the IDN encoding and
|
|
|
|
|
decoding behavior (AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES,
|
|
|
|
|
NI_IDN_ALLOW_UNASSIGNED, NI_IDN_USE_STD3_ASCII_RULES) have been
|
|
|
|
|
deprecated. They no longer have any effect.
|
|
|
|
|
|
Improve DST handling (Bug 23102, Bug 21942, Bug 18018, Bug 23259).
This commit improves DST handling significantly in the following
ways: firstly is_dst () is overhauled to correctly process DST
sequences that would be accepted given the ELF gABI. This means that
we actually now accept slightly more sequences than before. Now we
accept $ORIGIN$ORIGIN, but in the past we accepted only $ORIGIN\0 or
$ORIGIN/..., but this kind of behaviour results in unexpected
and uninterpreted DST sequences being used as literal search paths
leading to security defects. Therefore the first step in correcting
this defect is making is_dst () properly account for all DSTs
and making the function context free in the sense that it counts
DSTs without knowledge of path, or AT_SECURE. Next, _dl_dst_count ()
is also simplified to count all DSTs regardless of context.
Then in _dl_dst_substitute () we reintroduce context-dependent
processing for such things as AT_SECURE handling. At the level of
_dl_dst_substitute we can have access to things like the true start
of the string sequence to validate $ORIGIN-based paths rooted in
trusted directories. Lastly, we tighten up the accepted sequences
in AT_SECURE, and avoid leaving known unexpanded DSTs, this is
noted in the NEWS entry.
Verified with a sequence of 68 tests on x86_64 that cover
non-AT_SECURE and AT_SECURE testing using a sysroot (requires root
to run). The tests cover cases for bug 23102, bug 21942, bug 18018,
and bug 23259. These tests are not yet appropriate for the glibc
regression testsuite, but with the upcoming test-in-container testing
framework it should be possible to include these tests upstream soon.
See the mailing list for the tests:
https://www.sourceware.org/ml/libc-alpha/2018-06/msg00251.html
2018-06-06 03:55:17 +00:00
|
|
|
|
* Parsing of dynamic string tokens in DT_RPATH, DT_RUNPATH, DT_NEEDED,
|
|
|
|
|
DT_AUXILIARY, and DT_FILTER has been expanded to support the full
|
|
|
|
|
range of ELF gABI expressions including such constructs as
|
|
|
|
|
'$ORIGIN$ORIGIN' (if valid). For SUID/GUID applications the rules
|
|
|
|
|
have been further restricted, and where in the past a dynamic string
|
|
|
|
|
token sequence may have been interpreted as a literal string it will
|
|
|
|
|
now cause a load failure. These load failures were always considered
|
|
|
|
|
unspecified behaviour from the perspective of the dynamic loader, and
|
|
|
|
|
for safety are now load errors e.g. /foo/${ORIGIN}.so in DT_NEEDED
|
|
|
|
|
results in a load failure now.
|
|
|
|
|
|
2018-07-24 21:10:32 +00:00
|
|
|
|
* Support for ISO C threads (ISO/IEC 9899:2011) has been added. The
|
|
|
|
|
implementation includes all the standard functions provided by
|
|
|
|
|
<threads.h>:
|
|
|
|
|
|
|
|
|
|
- thrd_current, thrd_equal, thrd_sleep, thrd_yield, thrd_create,
|
|
|
|
|
thrd_detach, thrd_exit, and thrd_join for thread management.
|
|
|
|
|
|
|
|
|
|
- mtx_init, mtx_lock, mtx_timedlock, mtx_trylock, mtx_unlock, and
|
|
|
|
|
mtx_destroy for mutual exclusion.
|
|
|
|
|
|
|
|
|
|
- call_once for function call synchronization.
|
|
|
|
|
|
|
|
|
|
- cnd_broadcast, cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and
|
|
|
|
|
cnd_wait for conditional variables.
|
|
|
|
|
|
|
|
|
|
- tss_create, tss_delete, tss_get, and tss_set for thread-local storage.
|
|
|
|
|
|
|
|
|
|
Application developers must link against libpthread to use ISO C threads.
|
|
|
|
|
|
2018-02-01 17:18:19 +00:00
|
|
|
|
Deprecated and removed features, and other changes affecting compatibility:
|
|
|
|
|
|
2018-04-23 15:25:19 +00:00
|
|
|
|
* The nonstandard header files <libio.h> and <_G_config.h> are no longer
|
|
|
|
|
installed. Software that was using either header should be updated to
|
|
|
|
|
use standard <stdio.h> interfaces instead.
|
|
|
|
|
|
|
|
|
|
* The stdio functions 'getc' and 'putc' are no longer defined as macros.
|
|
|
|
|
This was never required by the C standard, and the macros just expanded
|
|
|
|
|
to call alternative names for the same functions. If you hoped getc and
|
|
|
|
|
putc would provide performance improvements over fgetc and fputc, instead
|
|
|
|
|
investigate using (f)getc_unlocked and (f)putc_unlocked, and, if
|
|
|
|
|
necessary, flockfile and funlockfile.
|
|
|
|
|
|
|
|
|
|
* All stdio functions now treat end-of-file as a sticky condition. If you
|
|
|
|
|
read from a file until EOF, and then the file is enlarged by another
|
|
|
|
|
process, you must call clearerr or another function with the same effect
|
|
|
|
|
(e.g. fseek, rewind) before you can read the additional data. This
|
|
|
|
|
corrects a longstanding C99 conformance bug. It is most likely to affect
|
|
|
|
|
programs that use stdio to read interactive input from a terminal.
|
|
|
|
|
(Bug #1190.)
|
|
|
|
|
|
|
|
|
|
* The macros 'major', 'minor', and 'makedev' are now only available from
|
|
|
|
|
the header <sys/sysmacros.h>; not from <sys/types.h> or various other
|
|
|
|
|
headers that happen to include <sys/types.h>. These macros are rarely
|
|
|
|
|
used, not part of POSIX nor XSI, and their names frequently collide with
|
|
|
|
|
user code; see https://sourceware.org/bugzilla/show_bug.cgi?id=19239 for
|
|
|
|
|
further explanation.
|
|
|
|
|
|
|
|
|
|
<sys/sysmacros.h> is a GNU extension. Portable programs that require
|
|
|
|
|
these macros should first include <sys/types.h>, and then include
|
|
|
|
|
<sys/sysmacros.h> if __GNU_LIBRARY__ is defined.
|
2018-02-07 20:45:58 +00:00
|
|
|
|
|
2018-04-27 19:11:24 +00:00
|
|
|
|
* The tilegx*-*-linux-gnu configurations are no longer supported.
|
|
|
|
|
|
2018-03-18 03:28:59 +00:00
|
|
|
|
* The obsolete function ustat is no longer available to newly linked
|
|
|
|
|
binaries; the headers <ustat.h> and <sys/ustat.h> have been removed. This
|
|
|
|
|
function has been deprecated in favor of fstatfs and statfs.
|
|
|
|
|
|
2018-05-18 16:50:44 +00:00
|
|
|
|
* The obsolete function nfsservctl is no longer available to newly linked
|
|
|
|
|
binaries. This function was specific to systems using the Linux kernel
|
|
|
|
|
and could not usefully be used with the GNU C Library on systems with
|
|
|
|
|
version 3.1 or later of the Linux kernel.
|
|
|
|
|
|
Make llseek a compat symbol (bug 18471).
The llseek function name is an obsolete, Linux-specific, unprototyped
name for lseek64 with a link-time warning. This patch completes the
obsoletion of this function name by making it into a compat symbol,
not available for newly linked programs and not included in the ABI
for new ports.
When a compat symbol is defined in syscalls.list, the code for that
function is not built at all for static linking unless some non-compat
symbol for that function is also defined with an explicit symbol
version, so an explicit symbol version for lseek64 is added to the
MIPS n32 syscalls.list. The case in make-syscalls.sh that handles
such explicit non-compat symbol versions then needs to be changed to
use weak_alias instead of strong_alias when the syscall is built
outside of libc, to avoid linknamespace failures from a strong lseek64
symbol in static libpthread.
The x32 llseek.S was as far as I could tell already unused (nothing
builds an llseek.* source file, at least since the lseek / lseek64 /
llseek consolidation), so is removed in this patch as well.
Tested for x86_64 and x86, and with build-many-glibcs.py.
[BZ #18471]
* sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
aliases for non-libc case of versioned symbols.
* sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
(llseek): Define as compat symbol if
[SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
with link warning.
* sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
Make into a compat symbol, disabled for minimum symbol version
GLIBC_2.28 and later.
* sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
2018-05-22 15:44:01 +00:00
|
|
|
|
* The obsolete function name llseek is no longer available to newly linked
|
|
|
|
|
binaries. This function was specific to systems using the Linux kernel
|
|
|
|
|
and was not declared in a header. Programs should use the lseek64 name
|
|
|
|
|
for this function instead.
|
|
|
|
|
|
2018-05-23 13:26:19 +00:00
|
|
|
|
* The AI_IDN_ALLOW_UNASSIGNED and NI_IDN_ALLOW_UNASSIGNED flags for the
|
|
|
|
|
getaddrinfo and getnameinfo functions have been deprecated. The behavior
|
|
|
|
|
previously selected by them is now always enabled.
|
|
|
|
|
|
|
|
|
|
* The AI_IDN_USE_STD3_ASCII_RULES and NI_IDN_USE_STD3_ASCII_RULES flags for
|
|
|
|
|
the getaddrinfo and getnameinfo functions have been deprecated. The STD3
|
|
|
|
|
restriction (rejecting '_' in host names, among other things) has been
|
|
|
|
|
removed, for increased compatibility with non-IDN name resolution.
|
|
|
|
|
|
Fix Linux fcntl OFD locks for non-LFS architectures (BZ#20251)
This patch fixes the OFD ("file private") locks for architectures that
support non-LFS flock definition (__USE_FILE_OFFSET64 not defined). The
issue in this case is both F_OFD_{GETLK,SETLK,SETLKW} and
F_{SET,GET}L{W}K64 expects a flock64 argument and when using old
F_OFD_* flags with a non LFS flock argument the kernel might interpret
the underlying data wrongly. Kernel idea originally was to avoid using
such flags in non-LFS syscall, but since GLIBC uses fcntl with LFS
semantic as default it is possible to provide the functionality and
avoid the bogus struct kernel passing by adjusting the struct manually
for the required flags.
The idea follows other LFS interfaces that provide two symbols:
1. A new LFS fcntl64 is added on default ABI with the usual macros to
select it for FILE_OFFSET_BITS=64.
2. The Linux non-LFS fcntl use a stack allocated struct flock64 for
F_OFD_{GETLK,SETLK,SETLKW} copy the results on the user provided
struct.
3. Keep a compat symbol with old broken semantic for architectures
that do not define __OFF_T_MATCHES_OFF64_T.
So for architectures which defines __USE_FILE_OFFSET64, fcntl64 will
aliased to fcntl and no adjustment would be required. So to actually
use F_OFD_* with LFS support the source must be built with LFS support
(_FILE_OFFSET_BITS=64).
Also F_OFD_SETLKW command is handled a cancellation point, as for
F_SETLKW{64}.
Checked on x86_64-linux-gnu and i686-linux-gnu.
[BZ #20251]
* NEWS: Mention fcntl64 addition.
* csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
* login/utmp_file.c: Likewise.
* sysdeps/posix/fdopendir.c: Likewise.
* sysdeps/posix/opendir.c: Likewise.
* sysdeps/unix/pt-fcntl.c: Likewise.
* include/fcntl.h (__libc_fcntl64, __fcntl64,
__fcntl64_nocancel_adjusted): New prototype.
(__fcntl_nocancel_adjusted): Remove prototype.
* io/Makefile (routines): Add fcntl64.
(CFLAGS-fcntl64.c): New rule.
* io/Versions [GLIBC_2.28] (fcntl64): New symbol.
[GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
* io/fcntl.h (fcntl64): Add prototype and redirect if
__USE_FILE_OFFSET64 is defined.
* io/fcntl64.c: New file.
* manual/llio.text: Add a note for which commands fcntl acts a
cancellation point.
* nptl/Makefile (CFLAGS-fcntl64.c): New rule.
* sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
* sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
New symbols.
* sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
non-LFS case.
* sysdeps/unix/sysv/linux/fcntl64.c: New file.
* sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
to __fcntl64_nocancel.
(__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
* sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
to __fcntl64_nocancel.
* sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
* sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
* sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
(tests-internal): Add tst-ofdlocks-compat.
* sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
(fcntl64): New symbol.
* sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/n64/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/riscv/rv64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
fcntl64): Likewise.
* sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libc.abilis: 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/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/s390/s390-32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2018-04-04 14:24:15 +00:00
|
|
|
|
* The fcntl function now have a Long File Support variant named fcntl64. It
|
|
|
|
|
is added to fix some Linux Open File Description (OFD) locks usage on non
|
|
|
|
|
LFS mode. As for others *64 functions, fcntl64 semantics are analogous with
|
|
|
|
|
fcntl and LFS support is handled transparently. Also for Linux, the OFD
|
|
|
|
|
locks act as a cancellation entrypoint.
|
|
|
|
|
|
Disallow use of DES encryption functions in new programs.
The functions encrypt, setkey, encrypt_r, setkey_r, cbc_crypt,
ecb_crypt, and des_setparity should not be used in new programs,
because they use the DES block cipher, which is unacceptably weak by
modern standards. Demote all of them to compatibility symbols, and
remove their prototypes from installed headers. cbc_crypt, ecb_crypt,
and des_setparity were already compat symbols when glibc was
configured with --disable-obsolete-rpc.
POSIX requires encrypt and setkey to be available when _XOPEN_CRYPT
is defined, so this change also removes the definition of X_OPEN_CRYPT
from <unistd.h>.
The entire "DES Encryption" section is dropped from the manual, as is
the mention of AUTH_DES and FIPS 140-2 in the introduction to
crypt.texi. The documentation of 'memfrob' cross-referenced the DES
Encryption section, which is replaced by a hyperlink to libgcrypt, and
while I was in there I spruced up the actual documentation of
'memfrob' and 'strfry' a little. It's still fairly jokey, because
those functions _are_ jokes, but they do also have real use cases, so
people trying to use them for real should have all the information
they need.
DES-based authentication for Sun RPC is also insecure and should be
deprecated or even removed, but maybe that can be left as TI-RPC's
problem.
2018-06-29 14:53:18 +00:00
|
|
|
|
* The obsolete functions encrypt, encrypt_r, setkey, setkey_r, cbc_crypt,
|
|
|
|
|
ecb_crypt, and des_setparity are no longer available to newly linked
|
|
|
|
|
binaries, and the headers <rpc/des_crypt.h> and <rpc/rpc_des.h> are no
|
|
|
|
|
longer installed. These functions encrypted and decrypted data with the
|
|
|
|
|
DES block cipher, which is no longer considered secure. Software that
|
|
|
|
|
still uses these functions should switch to a modern cryptography library,
|
|
|
|
|
such as libgcrypt.
|
|
|
|
|
|
|
|
|
|
* Reflecting the removal of the encrypt and setkey functions above, the
|
|
|
|
|
macro _XOPEN_CRYPT is no longer defined. As a consequence, the crypt
|
|
|
|
|
function is no longer declared unless _DEFAULT_SOURCE or _GNU_SOURCE is
|
|
|
|
|
enabled.
|
|
|
|
|
|
|
|
|
|
* The obsolete function fcrypt is no longer available to newly linked
|
|
|
|
|
binaries. It was just another name for the standard function crypt,
|
|
|
|
|
and it has not appeared in any header file in many years.
|
|
|
|
|
|
2018-06-29 14:53:47 +00:00
|
|
|
|
* We have tentative plans to hand off maintenance of the passphrase-hashing
|
|
|
|
|
library, libcrypt, to a separate development project that will, we hope,
|
|
|
|
|
keep up better with new passphrase-hashing algorithms. We will continue
|
|
|
|
|
to declare 'crypt' in <unistd.h>, and programs that use 'crypt' or
|
|
|
|
|
'crypt_r' should not need to change at all; however, distributions will
|
|
|
|
|
need to install <crypt.h> and libcrypt from a separate project.
|
|
|
|
|
|
|
|
|
|
In this release, if the configure option --disable-crypt is used, glibc
|
|
|
|
|
will not install <crypt.h> or libcrypt, making room for the separate
|
|
|
|
|
project's versions of these files. The plan is to make this the default
|
|
|
|
|
behavior in a future release.
|
|
|
|
|
|
2018-02-01 17:18:19 +00:00
|
|
|
|
Changes to build and runtime requirements:
|
|
|
|
|
|
2018-07-04 13:27:24 +00:00
|
|
|
|
GNU make 4.0 or later is now required to build glibc.
|
2018-02-01 17:18:19 +00:00
|
|
|
|
|
|
|
|
|
Security related changes:
|
|
|
|
|
|
2018-05-23 13:26:19 +00:00
|
|
|
|
CVE-2016-6261, CVE-2016-6263, CVE-2017-14062: Various vulnerabilities have
|
|
|
|
|
been fixed by removing the glibc-internal IDNA implementation and using
|
|
|
|
|
the system-provided libidn2 library instead. Originally reported by Hanno
|
|
|
|
|
Böck and Christian Weisgerber.
|
2018-02-01 17:18:19 +00:00
|
|
|
|
|
2018-05-24 10:19:11 +00:00
|
|
|
|
CVE-2017-18269: An SSE2-based memmove implementation for the i386
|
|
|
|
|
architecture could corrupt memory. Reported by Max Horn.
|
|
|
|
|
|
|
|
|
|
CVE-2018-11236: Very long pathname arguments to realpath function could
|
|
|
|
|
result in an integer overflow and buffer overflow. Reported by Alexey
|
|
|
|
|
Izbyshev.
|
|
|
|
|
|
|
|
|
|
CVE-2018-11237: The mempcpy implementation for the Intel Xeon Phi
|
|
|
|
|
architecture could write beyond the target buffer, resulting in a buffer
|
|
|
|
|
overflow. Reported by Andreas Schwab.
|
|
|
|
|
|
2018-02-01 17:18:19 +00:00
|
|
|
|
The following bugs are resolved with this release:
|
|
|
|
|
|
2018-08-01 05:10:47 +00:00
|
|
|
|
[1190] stdio: fgetc()/fread() behaviour is not POSIX compliant
|
|
|
|
|
[6889] manual: 'PWD' mentioned but not specified
|
|
|
|
|
[13575] libc: SSIZE_MAX defined as LONG_MAX is inconsistent with ssize_t,
|
|
|
|
|
when __WORDSIZE != 64
|
|
|
|
|
[13762] regex: re_search etc. should return -2 on memory exhaustion
|
|
|
|
|
[13888] build: /tmp usage during testing
|
|
|
|
|
[13932] math: dbl-64 pow unexpectedly slow for some inputs
|
|
|
|
|
[14092] nptl: Support C11 threads
|
|
|
|
|
[14095] localedata: Review / update collation data from Unicode / ISO
|
|
|
|
|
14651
|
|
|
|
|
[14508] libc: -Wformat warnings
|
|
|
|
|
[14553] libc: Namespace pollution loff_t in sys/types.h
|
|
|
|
|
[14890] libc: Make NT_PRFPREG canonical.
|
|
|
|
|
[15105] libc: Extra PLT references with -Os
|
|
|
|
|
[15512] libc: __bswap_constant_16 not compiled when -Werror -Wsign-
|
|
|
|
|
conversion is given
|
|
|
|
|
[16335] manual: Feature test macro documentation incomplete and out of
|
|
|
|
|
date
|
|
|
|
|
[16552] libc: Unify umount implementations in terms of umount2
|
|
|
|
|
[17082] libc: htons et al.: statement-expressions prevent use on global
|
|
|
|
|
scope with -O1 and higher
|
|
|
|
|
[17343] libc: Signed integer overflow in /stdlib/random_r.c
|
|
|
|
|
[17438] localedata: pt_BR: wrong d_fmt delimiter
|
|
|
|
|
[17662] libc: please implement binding for the new renameat2 syscall
|
|
|
|
|
[17721] libc: __restrict defined as /* Ignore */ even in c11
|
|
|
|
|
[17979] libc: inconsistency between uchar.h and stdint.h
|
|
|
|
|
[18018] dynamic-link: Additional $ORIGIN handling issues (CVE-2011-0536)
|
|
|
|
|
[18023] libc: extend_alloca is broken (questionable pointer comparison,
|
|
|
|
|
horrible machine code)
|
|
|
|
|
[18124] libc: hppa: setcontext erroneously returns -1 as exit code for
|
|
|
|
|
last constant.
|
|
|
|
|
[18471] libc: llseek should be a compat symbol
|
|
|
|
|
[18473] soft-fp: [powerpc-nofpu] __sqrtsf2, __sqrtdf2 should be compat
|
|
|
|
|
symbols
|
|
|
|
|
[18991] nss: nss_files skips large entry in database
|
|
|
|
|
[19239] libc: Including stdlib.h ends up with macros major and minor being
|
|
|
|
|
defined
|
|
|
|
|
[19463] libc: linknamespace failures when compiled with -Os
|
|
|
|
|
[19485] localedata: csb_PL: Update month translations + add yesstr/nostr
|
|
|
|
|
[19527] locale: Normalized charset name not recognized by setlocale
|
|
|
|
|
[19667] string: Missing Sanity Check for malloc calls in file 'testcopy.c'
|
|
|
|
|
[19668] libc: Missing Sanity Check for malloc() in file 'tst-setcontext-
|
|
|
|
|
fpscr.c'
|
|
|
|
|
[19728] network: out of bounds stack read in libidn function
|
|
|
|
|
idna_to_ascii_4i (CVE-2016-6261)
|
|
|
|
|
[19729] network: out of bounds heap read on invalid utf-8 inputs in
|
|
|
|
|
stringprep_utf8_nfkc_normalize (CVE-2016-6263)
|
|
|
|
|
[19818] dynamic-link: Absolute (SHN_ABS) symbols incorrectly relocated by
|
|
|
|
|
the base address
|
|
|
|
|
[20079] libc: Add SHT_X86_64_UNWIND to elf.h
|
|
|
|
|
[20251] libc: 32bit programs pass garbage in struct flock for OFD locks
|
|
|
|
|
[20419] dynamic-link: files with large allocated notes crash in
|
|
|
|
|
open_verify
|
|
|
|
|
[20530] libc: bswap_16 should use __builtin_bswap16() when available
|
|
|
|
|
[20890] dynamic-link: ldconfig: fsync the files before atomic rename
|
|
|
|
|
[20980] manual: CFLAGS environment variable replaces vital options
|
|
|
|
|
[21163] regex: Assertion failure in pop_fail_stack when executing a
|
|
|
|
|
malformed regexp (CVE-2015-8985)
|
|
|
|
|
[21234] manual: use of CFLAGS makes glibc detect no optimization
|
|
|
|
|
[21269] dynamic-link: i386 sigaction sa_restorer handling is wrong
|
|
|
|
|
[21313] build: Compile Error GCC 5.4.0 MIPS with -0S
|
|
|
|
|
[21314] build: Compile Error GCC 5.2.0 MIPS with -0s
|
|
|
|
|
[21508] locale: intl/tst-gettext failure with latest msgfmt
|
|
|
|
|
[21547] localedata: Tibetan script collation broken (Dzongkha and Tibetan)
|
|
|
|
|
[21812] network: getifaddrs() returns entries with ifa_name == NULL
|
|
|
|
|
[21895] libc: ppc64 setjmp/longjmp not fully interoperable with static
|
|
|
|
|
dlopen
|
|
|
|
|
[21942] dynamic-link: _dl_dst_substitute incorrectly handles $ORIGIN: with
|
|
|
|
|
AT_SECURE=1
|
|
|
|
|
[22241] localedata: New locale: Yakut (Sakha) locale for Russia (sah_RU)
|
|
|
|
|
[22247] network: Integer overflow in the decode_digit function in
|
|
|
|
|
puny_decode.c in libidn (CVE-2017-14062)
|
|
|
|
|
[22342] nscd: NSCD not properly caching netgroup
|
|
|
|
|
[22391] nptl: Signal function clear NPTL internal symbols inconsistently
|
|
|
|
|
[22550] localedata: es_ES locale (and other es_* locales): collation
|
|
|
|
|
should treat ñ as a primary different character, sync the collation
|
|
|
|
|
for Spanish with CLDR
|
|
|
|
|
[22638] dynamic-link: sparc: static binaries are broken if glibc is built
|
|
|
|
|
by gcc configured with --enable-default-pie
|
|
|
|
|
[22639] time: year 2039 bug for localtime etc. on 64-bit platforms
|
|
|
|
|
[22644] string: memmove-sse2-unaligned on 32bit x86 produces garbage when
|
|
|
|
|
crossing 2GB threshold (CVE-2017-18269)
|
|
|
|
|
[22646] localedata: redundant data (LC_TIME) for es_CL, es_CU, es_EC and
|
|
|
|
|
es_BO
|
|
|
|
|
[22735] time: Misleading typo in time.h source comment regarding
|
|
|
|
|
CLOCKS_PER_SECOND
|
|
|
|
|
[22753] libc: preadv2/pwritev2 fallback code should handle offset=-1
|
|
|
|
|
[22761] libc: No trailing `%n' conversion specifier in FMT passed from
|
|
|
|
|
`__assert_perror_fail ()' to `__assert_fail_base ()'
|
|
|
|
|
[22766] libc: all glibc internal dlopen should use RTLD_NOW for robust
|
|
|
|
|
dlopen failures
|
|
|
|
|
[22786] libc: Stack buffer overflow in realpath() if input size is close
|
|
|
|
|
to SSIZE_MAX (CVE-2018-11236)
|
|
|
|
|
[22787] dynamic-link: _dl_check_caller returns false when libc is linked
|
|
|
|
|
through an absolute DT_NEEDED path
|
|
|
|
|
[22792] build: tcb-offsets.h dependency dropped
|
|
|
|
|
[22797] libc: pkey_get() uses non-reserved name of argument
|
|
|
|
|
[22807] libc: PTRACE_* constants missing for powerpc
|
|
|
|
|
[22818] glob: posix/tst-glob_lstat_compat failure on alpha
|
|
|
|
|
[22827] dynamic-link: RISC-V ELF64 parser mis-reads flag in ldconfig
|
|
|
|
|
[22830] malloc: malloc_stats doesn't restore cancellation state on stderr
|
|
|
|
|
[22848] localedata: ca_ES: update date definitions from CLDR
|
|
|
|
|
[22862] build: _DEFAULT_SOURCE is defined even when _ISOC11_SOURCE is
|
|
|
|
|
[22884] math: RISCV fmax/fmin handle signalling NANs incorrectly
|
|
|
|
|
[22896] localedata: Update locale data for an_ES
|
|
|
|
|
[22902] math: float128 test failures with GCC 8
|
|
|
|
|
[22918] libc: multiple common of `__nss_shadow_database'
|
|
|
|
|
[22919] libc: sparc32: backtrace yields infinite backtrace with
|
|
|
|
|
makecontext
|
|
|
|
|
[22926] libc: FTBFS on powerpcspe
|
|
|
|
|
[22932] localedata: lt_LT: Update of abbreviated month names from CLDR
|
|
|
|
|
required
|
|
|
|
|
[22937] localedata: Greek (el_GR, el_CY) locales actually need ab_alt_mon
|
|
|
|
|
[22947] libc: FAIL: misc/tst-preadvwritev2
|
|
|
|
|
[22963] localedata: cs_CZ: Add alternative month names
|
|
|
|
|
[22987] math: [powerpc/sparc] fdim inlines errno, exceptions handling
|
|
|
|
|
[22996] localedata: change LC_PAPER to en_US in es_BO locale
|
|
|
|
|
[22998] dynamic-link: execstack tests are disabled when SELinux is
|
|
|
|
|
disabled
|
|
|
|
|
[23005] network: Crash in __res_context_send after memory allocation
|
|
|
|
|
failure
|
|
|
|
|
[23007] math: strtod cannot handle -nan
|
|
|
|
|
[23024] nss: getlogin_r is performing NSS lookups when loginid isn't set
|
|
|
|
|
[23036] regex: regex equivalence class regression
|
|
|
|
|
[23037] libc: initialize msg_flags to zero for sendmmsg() calls
|
|
|
|
|
[23069] libc: sigaction broken on riscv64-linux-gnu
|
|
|
|
|
[23094] localedata: hr_HR: wrong thousands_sep and mon_thousands_sep
|
|
|
|
|
[23102] dynamic-link: Incorrect parsing of multiple consecutive $variable
|
|
|
|
|
patterns in runpath entries (e.g. $ORIGIN$ORIGIN)
|
|
|
|
|
[23137] nptl: s390: pthread_join sometimes block indefinitely (on 31bit
|
|
|
|
|
and libc build with -Os)
|
|
|
|
|
[23140] localedata: More languages need two forms of month names
|
|
|
|
|
[23145] libc: _init/_fini aren't marked as hidden
|
|
|
|
|
[23152] localedata: gd_GB: Fix typo in "May" (abbreviated)
|
|
|
|
|
[23171] math: C++ iseqsig for long double converts arguments to double
|
|
|
|
|
[23178] nscd: sudo will fail when it is run in concurrent with commands
|
|
|
|
|
that changes /etc/passwd
|
|
|
|
|
[23196] string: __mempcpy_avx512_no_vzeroupper mishandles large copies
|
|
|
|
|
(CVE-2018-11237)
|
|
|
|
|
[23206] dynamic-link: static-pie + dlopen breaks debugger interaction
|
|
|
|
|
[23208] localedata: New locale - Lower Sorbian (dsb)
|
|
|
|
|
[23233] regex: Memory leak in build_charclass_op function in file
|
|
|
|
|
posix/regcomp.c
|
|
|
|
|
[23236] stdio: Harden function pointers in _IO_str_fields
|
|
|
|
|
[23250] nptl: Offset of __private_ss differs from GCC
|
|
|
|
|
[23253] math: tgamma test suite failures on i686 with -march=x86-64
|
|
|
|
|
-mtune=generic -mfpmath=sse
|
|
|
|
|
[23259] dynamic-link: Unsubstituted ${ORIGIN} remains in DT_NEEDED for
|
|
|
|
|
AT_SECURE
|
|
|
|
|
[23264] libc: posix_spawnp wrongly executes ENOEXEC in non compat mode
|
|
|
|
|
[23266] nis: stringop-truncation warning with new gcc8.1 in nisplus-
|
|
|
|
|
parser.c
|
|
|
|
|
[23272] math: fma(INFINITY,INFIITY,0.0) should be INFINITY
|
|
|
|
|
[23277] math: nan function should not have const attribute
|
|
|
|
|
[23279] math: scanf and strtod wrong for some hex floating-point
|
|
|
|
|
[23280] math: wscanf rounds wrong; wcstod is ok for negative numbers and
|
|
|
|
|
directed rounding
|
|
|
|
|
[23290] localedata: IBM273 is not equivalent to ISO-8859-1
|
|
|
|
|
[23303] build: undefined reference to symbol
|
|
|
|
|
'__parse_hwcap_and_convert_at_platform@@GLIBC_2.23'
|
|
|
|
|
[23307] dynamic-link: Absolute symbols whose value is zero ignored in
|
|
|
|
|
lookup
|
|
|
|
|
[23313] stdio: libio vtables validation and standard file object
|
|
|
|
|
interposition
|
|
|
|
|
[23329] libc: The __libc_freeres infrastructure is not properly run across
|
|
|
|
|
DSO boundaries.
|
|
|
|
|
[23349] libc: Various glibc headers no longer compatible with
|
|
|
|
|
<linux/time.h>
|
|
|
|
|
[23351] malloc: Remove unused code related to heap dumps and malloc
|
|
|
|
|
checking
|
|
|
|
|
[23363] stdio: stdio-common/tst-printf.c has non-free license
|
|
|
|
|
[23396] regex: Regex equivalence regression in single-byte locales
|
|
|
|
|
[23422] localedata: oc_FR: More updates of locale data
|
|
|
|
|
[23442] build: New warning with GCC 8
|
|
|
|
|
[23448] libc: Out of bounds access in IBM-1390 converter
|
|
|
|
|
[23456] libc: Wrong index_cpu_LZCNT
|
|
|
|
|
[23458] build: tst-get-cpu-features-static isn't added to tests
|
|
|
|
|
[23459] libc: COMMON_CPUID_INDEX_80000001 isn't populated for Intel
|
|
|
|
|
processors
|
|
|
|
|
[23467] dynamic-link: x86/CET: A property note parser bug
|
2018-02-01 17:18:19 +00:00
|
|
|
|
|
2017-08-02 13:53:16 +00:00
|
|
|
|
|
|
|
|
|
Version 2.27
|
|
|
|
|
|
|
|
|
|
Major new features:
|
|
|
|
|
|
Add --enable-static-pie configure option to build static PIE [BZ #19574]
Static PIE extends address space layout randomization to static
executables. It provides additional security hardening benefits at
the cost of some memory and performance.
Dynamic linker, ld.so, is a standalone program which can be loaded at
any address. This patch adds a configure option, --enable-static-pie,
to embed the part of ld.so in static executable to create static position
independent executable (static PIE). A static PIE is similar to static
executable, but can be loaded at any address without help from a dynamic
linker. When --enable-static-pie is used to configure glibc, libc.a is
built as PIE and all static executables, including tests, are built as
static PIE. The resulting libc.a can be used together with GCC 8 or
above to build static PIE with the compiler option, -static-pie. But
GCC 8 isn't required to build glibc with --enable-static-pie. Only GCC
with PIE support is needed. When an older GCC is used to build glibc
with --enable-static-pie, proper input files are passed to linker to
create static executables as static PIE, together with "-z text" to
prevent dynamic relocations in read-only segments, which are not allowed
in static PIE.
The following changes are made for static PIE:
1. Add a new function, _dl_relocate_static_pie, to:
a. Get the run-time load address.
b. Read the dynamic section.
c. Perform dynamic relocations.
Dynamic linker also performs these steps. But static PIE doesn't load
any shared objects.
2. Call _dl_relocate_static_pie at entrance of LIBC_START_MAIN in
libc.a. crt1.o, which is used to create dynamic and non-PIE static
executables, is updated to include a dummy _dl_relocate_static_pie.
rcrt1.o is added to create static PIE, which will link in the real
_dl_relocate_static_pie. grcrt1.o is also added to create static PIE
with -pg. GCC 8 has been updated to support rcrt1.o and grcrt1.o for
static PIE.
Static PIE can work on all architectures which support PIE, provided:
1. Target must support accessing of local functions without dynamic
relocations, which is needed in start.S to call __libc_start_main with
function addresses of __libc_csu_init, __libc_csu_fini and main. All
functions in static PIE are local functions. If PIE start.S can't reach
main () defined in a shared object, the code sequence:
pass address of local_main to __libc_start_main
...
local_main:
tail call to main via PLT
can be used.
2. start.S is updated to check PIC instead SHARED for PIC code path and
avoid dynamic relocation, when PIC is defined and SHARED isn't defined,
to support static PIE.
3. All assembly codes are updated check PIC instead SHARED for PIC code
path to avoid dynamic relocations in read-only sections.
4. All assembly codes are updated check SHARED instead PIC for static
symbol name.
5. elf_machine_load_address in dl-machine.h are updated to support static
PIE.
6. __brk works without TLS nor dynamic relocations in read-only section
so that it can be used by __libc_setup_tls to initializes TLS in static
PIE.
NB: When glibc is built with GCC defaulted to PIE, libc.a is compiled
with -fPIE, regardless if --enable-static-pie is used to configure glibc.
When glibc is configured with --enable-static-pie, libc.a is compiled
with -fPIE, regardless whether GCC defaults to PIE or not. The same
libc.a can be used to build both static executable and static PIE.
There is no need for separate PIE copy of libc.a.
On x86-64, the normal static sln:
text data bss dec hex filename
625425 8284 5456 639165 9c0bd elf/sln
the static PIE sln:
text data bss dec hex filename
657626 20636 5392 683654 a6e86 elf/sln
The code size is increased by 5% and the binary size is increased by 7%.
Linker requirements to build glibc with --enable-static-pie:
1. Linker supports --no-dynamic-linker to remove PT_INTERP segment from
static PIE.
2. Linker can create working static PIE. The x86-64 linker needs the
fix for
https://sourceware.org/bugzilla/show_bug.cgi?id=21782
The i386 linker needs to be able to convert "movl main@GOT(%ebx), %eax"
to "leal main@GOTOFF(%ebx), %eax" if main is defined locally.
Binutils 2.29 or above are OK for i686 and x86-64. But linker status for
other targets need to be verified.
3. Linker should resolve undefined weak symbols to 0 in static PIE:
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
4. Many ELF backend linkers incorrectly check bfd_link_pic for TLS
relocations, which should check bfd_link_executable instead:
https://sourceware.org/bugzilla/show_bug.cgi?id=22263
Tested on aarch64, i686 and x86-64.
Using GCC 7 and binutils master branch, build-many-glibcs.py with
--enable-static-pie with all patches for static PIE applied have the
following build successes:
PASS: glibcs-aarch64_be-linux-gnu build
PASS: glibcs-aarch64-linux-gnu build
PASS: glibcs-armeb-linux-gnueabi-be8 build
PASS: glibcs-armeb-linux-gnueabi build
PASS: glibcs-armeb-linux-gnueabihf-be8 build
PASS: glibcs-armeb-linux-gnueabihf build
PASS: glibcs-arm-linux-gnueabi build
PASS: glibcs-arm-linux-gnueabihf build
PASS: glibcs-arm-linux-gnueabihf-v7a build
PASS: glibcs-arm-linux-gnueabihf-v7a-disable-multi-arch build
PASS: glibcs-m68k-linux-gnu build
PASS: glibcs-microblazeel-linux-gnu build
PASS: glibcs-microblaze-linux-gnu build
PASS: glibcs-mips64el-linux-gnu-n32 build
PASS: glibcs-mips64el-linux-gnu-n32-nan2008 build
PASS: glibcs-mips64el-linux-gnu-n32-nan2008-soft build
PASS: glibcs-mips64el-linux-gnu-n32-soft build
PASS: glibcs-mips64el-linux-gnu-n64 build
PASS: glibcs-mips64el-linux-gnu-n64-nan2008 build
PASS: glibcs-mips64el-linux-gnu-n64-nan2008-soft build
PASS: glibcs-mips64el-linux-gnu-n64-soft build
PASS: glibcs-mips64-linux-gnu-n32 build
PASS: glibcs-mips64-linux-gnu-n32-nan2008 build
PASS: glibcs-mips64-linux-gnu-n32-nan2008-soft build
PASS: glibcs-mips64-linux-gnu-n32-soft build
PASS: glibcs-mips64-linux-gnu-n64 build
PASS: glibcs-mips64-linux-gnu-n64-nan2008 build
PASS: glibcs-mips64-linux-gnu-n64-nan2008-soft build
PASS: glibcs-mips64-linux-gnu-n64-soft build
PASS: glibcs-mipsel-linux-gnu build
PASS: glibcs-mipsel-linux-gnu-nan2008 build
PASS: glibcs-mipsel-linux-gnu-nan2008-soft build
PASS: glibcs-mipsel-linux-gnu-soft build
PASS: glibcs-mips-linux-gnu build
PASS: glibcs-mips-linux-gnu-nan2008 build
PASS: glibcs-mips-linux-gnu-nan2008-soft build
PASS: glibcs-mips-linux-gnu-soft build
PASS: glibcs-nios2-linux-gnu build
PASS: glibcs-powerpc64le-linux-gnu build
PASS: glibcs-powerpc64-linux-gnu build
PASS: glibcs-tilegxbe-linux-gnu-32 build
PASS: glibcs-tilegxbe-linux-gnu build
PASS: glibcs-tilegx-linux-gnu-32 build
PASS: glibcs-tilegx-linux-gnu build
PASS: glibcs-tilepro-linux-gnu build
and the following build failures:
FAIL: glibcs-alpha-linux-gnu build
elf/sln is failed to link due to:
assertion fail bfd/elf64-alpha.c:4125
This is caused by linker bug and/or non-PIC code in PIE libc.a.
FAIL: glibcs-hppa-linux-gnu build
elf/sln is failed to link due to:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
https://sourceware.org/bugzilla/show_bug.cgi?id=22537
FAIL: glibcs-ia64-linux-gnu build
elf/sln is failed to link due to:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
FAIL: glibcs-powerpc-linux-gnu build
FAIL: glibcs-powerpc-linux-gnu-soft build
FAIL: glibcs-powerpc-linux-gnuspe build
FAIL: glibcs-powerpc-linux-gnuspe-e500v1 build
elf/sln is failed to link due to:
ld: read-only segment has dynamic relocations.
This is caused by linker bug and/or non-PIC code in PIE libc.a. See:
https://sourceware.org/bugzilla/show_bug.cgi?id=22264
FAIL: glibcs-powerpc-linux-gnu-power4 build
elf/sln is failed to link due to:
findlocale.c:96:(.text+0x22c): @local call to ifunc memchr
This is caused by linker bug and/or non-PIC code in PIE libc.a.
FAIL: glibcs-s390-linux-gnu build
elf/sln is failed to link due to:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped
assertion fail bfd/elflink.c:14299
This is caused by linker bug and/or non-PIC code in PIE libc.a.
FAIL: glibcs-sh3eb-linux-gnu build
FAIL: glibcs-sh3-linux-gnu build
FAIL: glibcs-sh4eb-linux-gnu build
FAIL: glibcs-sh4eb-linux-gnu-soft build
FAIL: glibcs-sh4-linux-gnu build
FAIL: glibcs-sh4-linux-gnu-soft build
elf/sln is failed to link due to:
ld: read-only segment has dynamic relocations.
This is caused by linker bug and/or non-PIC code in PIE libc.a. See:
https://sourceware.org/bugzilla/show_bug.cgi?id=22263
Also TLS code sequence in SH assembly syscalls in glibc doesn't match TLS
code sequence expected by ld:
https://sourceware.org/bugzilla/show_bug.cgi?id=22270
FAIL: glibcs-sparc64-linux-gnu build
FAIL: glibcs-sparcv9-linux-gnu build
FAIL: glibcs-tilegxbe-linux-gnu build
FAIL: glibcs-tilegxbe-linux-gnu-32 build
FAIL: glibcs-tilegx-linux-gnu build
FAIL: glibcs-tilegx-linux-gnu-32 build
FAIL: glibcs-tilepro-linux-gnu build
elf/sln is failed to link due to:
ld: read-only segment has dynamic relocations.
This is caused by linker bug and/or non-PIC code in PIE libc.a. See:
https://sourceware.org/bugzilla/show_bug.cgi?id=22263
[BZ #19574]
* INSTALL: Regenerated.
* Makeconfig (real-static-start-installed-name): New.
(pic-default): Updated for --enable-static-pie.
(pie-default): New for --enable-static-pie.
(default-pie-ldflag): Likewise.
(+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
Replace $(static-start-installed-name) with
$(real-static-start-installed-name).
(+prectorT): Updated for --enable-static-pie.
(+postctorT): Likewise.
(CFLAGS-.o): Add $(pie-default).
(CFLAGS-.op): Likewise.
* NEWS: Mention --enable-static-pie.
* config.h.in (ENABLE_STATIC_PIE): New.
* configure.ac (--enable-static-pie): New configure option.
(have-no-dynamic-linker): New LIBC_CONFIG_VAR.
(have-static-pie): Likewise.
Enable static PIE if linker supports --no-dynamic-linker.
(ENABLE_STATIC_PIE): New AC_DEFINE.
(enable-static-pie): New LIBC_CONFIG_VAR.
* configure: Regenerated.
* csu/Makefile (omit-deps): Add r$(start-installed-name) and
gr$(start-installed-name) for --enable-static-pie.
(extra-objs): Likewise.
(install-lib): Likewise.
(extra-objs): Add static-reloc.o and static-reloc.os
($(objpfx)$(start-installed-name)): Also depend on
$(objpfx)static-reloc.o.
($(objpfx)r$(start-installed-name)): New.
($(objpfx)g$(start-installed-name)): Also depend on
$(objpfx)static-reloc.os.
($(objpfx)gr$(start-installed-name)): New.
* csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
in libc.a.
* csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
initimage.
* csu/static-reloc.c: New file.
* elf/Makefile (routines): Add dl-reloc-static-pie.
(elide-routines.os): Likewise.
(DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
(tst-tls1-static-non-pie-no-pie): New.
* elf/dl-reloc-static-pie.c: New file.
* elf/dl-support.c (_dl_get_dl_main_map): New function.
* elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
STATIC_PIE_BOOTSTRAP.
* elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
* gmon/Makefile (tests): Add tst-gmon-static-pie.
(tests-static): Likewise.
(DEFAULT-LDFLAGS-tst-gmon-static): Removed.
(tst-gmon-static-no-pie): New.
(CFLAGS-tst-gmon-static-pie.c): Likewise.
(CRT-tst-gmon-static-pie): Likewise.
(tst-gmon-static-pie-ENV): Likewise.
(tests-special): Likewise.
($(objpfx)tst-gmon-static-pie.out): Likewise.
(clean-tst-gmon-static-pie-data): Likewise.
($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
* gmon/tst-gmon-static-pie.c: New file.
* manual/install.texi: Document --enable-static-pie.
* sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
(_dl_get_dl_main_map): Likewise.
* sysdeps/i386/configure.ac: Check if linker supports static PIE.
* sysdeps/x86_64/configure.ac: Likewise.
* sysdeps/i386/configure: Regenerated.
* sysdeps/x86_64/configure: Likewise.
* sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
(ASFLAGS-.op): Likewise.
2017-12-16 00:59:33 +00:00
|
|
|
|
* The GNU C Library can now be compiled with support for building static
|
|
|
|
|
PIE executables (See --enable-static-pie in INSTALL). These static PIE
|
2018-01-23 20:31:13 +00:00
|
|
|
|
executables are like static executables but can be loaded at any address
|
Add --enable-static-pie configure option to build static PIE [BZ #19574]
Static PIE extends address space layout randomization to static
executables. It provides additional security hardening benefits at
the cost of some memory and performance.
Dynamic linker, ld.so, is a standalone program which can be loaded at
any address. This patch adds a configure option, --enable-static-pie,
to embed the part of ld.so in static executable to create static position
independent executable (static PIE). A static PIE is similar to static
executable, but can be loaded at any address without help from a dynamic
linker. When --enable-static-pie is used to configure glibc, libc.a is
built as PIE and all static executables, including tests, are built as
static PIE. The resulting libc.a can be used together with GCC 8 or
above to build static PIE with the compiler option, -static-pie. But
GCC 8 isn't required to build glibc with --enable-static-pie. Only GCC
with PIE support is needed. When an older GCC is used to build glibc
with --enable-static-pie, proper input files are passed to linker to
create static executables as static PIE, together with "-z text" to
prevent dynamic relocations in read-only segments, which are not allowed
in static PIE.
The following changes are made for static PIE:
1. Add a new function, _dl_relocate_static_pie, to:
a. Get the run-time load address.
b. Read the dynamic section.
c. Perform dynamic relocations.
Dynamic linker also performs these steps. But static PIE doesn't load
any shared objects.
2. Call _dl_relocate_static_pie at entrance of LIBC_START_MAIN in
libc.a. crt1.o, which is used to create dynamic and non-PIE static
executables, is updated to include a dummy _dl_relocate_static_pie.
rcrt1.o is added to create static PIE, which will link in the real
_dl_relocate_static_pie. grcrt1.o is also added to create static PIE
with -pg. GCC 8 has been updated to support rcrt1.o and grcrt1.o for
static PIE.
Static PIE can work on all architectures which support PIE, provided:
1. Target must support accessing of local functions without dynamic
relocations, which is needed in start.S to call __libc_start_main with
function addresses of __libc_csu_init, __libc_csu_fini and main. All
functions in static PIE are local functions. If PIE start.S can't reach
main () defined in a shared object, the code sequence:
pass address of local_main to __libc_start_main
...
local_main:
tail call to main via PLT
can be used.
2. start.S is updated to check PIC instead SHARED for PIC code path and
avoid dynamic relocation, when PIC is defined and SHARED isn't defined,
to support static PIE.
3. All assembly codes are updated check PIC instead SHARED for PIC code
path to avoid dynamic relocations in read-only sections.
4. All assembly codes are updated check SHARED instead PIC for static
symbol name.
5. elf_machine_load_address in dl-machine.h are updated to support static
PIE.
6. __brk works without TLS nor dynamic relocations in read-only section
so that it can be used by __libc_setup_tls to initializes TLS in static
PIE.
NB: When glibc is built with GCC defaulted to PIE, libc.a is compiled
with -fPIE, regardless if --enable-static-pie is used to configure glibc.
When glibc is configured with --enable-static-pie, libc.a is compiled
with -fPIE, regardless whether GCC defaults to PIE or not. The same
libc.a can be used to build both static executable and static PIE.
There is no need for separate PIE copy of libc.a.
On x86-64, the normal static sln:
text data bss dec hex filename
625425 8284 5456 639165 9c0bd elf/sln
the static PIE sln:
text data bss dec hex filename
657626 20636 5392 683654 a6e86 elf/sln
The code size is increased by 5% and the binary size is increased by 7%.
Linker requirements to build glibc with --enable-static-pie:
1. Linker supports --no-dynamic-linker to remove PT_INTERP segment from
static PIE.
2. Linker can create working static PIE. The x86-64 linker needs the
fix for
https://sourceware.org/bugzilla/show_bug.cgi?id=21782
The i386 linker needs to be able to convert "movl main@GOT(%ebx), %eax"
to "leal main@GOTOFF(%ebx), %eax" if main is defined locally.
Binutils 2.29 or above are OK for i686 and x86-64. But linker status for
other targets need to be verified.
3. Linker should resolve undefined weak symbols to 0 in static PIE:
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
4. Many ELF backend linkers incorrectly check bfd_link_pic for TLS
relocations, which should check bfd_link_executable instead:
https://sourceware.org/bugzilla/show_bug.cgi?id=22263
Tested on aarch64, i686 and x86-64.
Using GCC 7 and binutils master branch, build-many-glibcs.py with
--enable-static-pie with all patches for static PIE applied have the
following build successes:
PASS: glibcs-aarch64_be-linux-gnu build
PASS: glibcs-aarch64-linux-gnu build
PASS: glibcs-armeb-linux-gnueabi-be8 build
PASS: glibcs-armeb-linux-gnueabi build
PASS: glibcs-armeb-linux-gnueabihf-be8 build
PASS: glibcs-armeb-linux-gnueabihf build
PASS: glibcs-arm-linux-gnueabi build
PASS: glibcs-arm-linux-gnueabihf build
PASS: glibcs-arm-linux-gnueabihf-v7a build
PASS: glibcs-arm-linux-gnueabihf-v7a-disable-multi-arch build
PASS: glibcs-m68k-linux-gnu build
PASS: glibcs-microblazeel-linux-gnu build
PASS: glibcs-microblaze-linux-gnu build
PASS: glibcs-mips64el-linux-gnu-n32 build
PASS: glibcs-mips64el-linux-gnu-n32-nan2008 build
PASS: glibcs-mips64el-linux-gnu-n32-nan2008-soft build
PASS: glibcs-mips64el-linux-gnu-n32-soft build
PASS: glibcs-mips64el-linux-gnu-n64 build
PASS: glibcs-mips64el-linux-gnu-n64-nan2008 build
PASS: glibcs-mips64el-linux-gnu-n64-nan2008-soft build
PASS: glibcs-mips64el-linux-gnu-n64-soft build
PASS: glibcs-mips64-linux-gnu-n32 build
PASS: glibcs-mips64-linux-gnu-n32-nan2008 build
PASS: glibcs-mips64-linux-gnu-n32-nan2008-soft build
PASS: glibcs-mips64-linux-gnu-n32-soft build
PASS: glibcs-mips64-linux-gnu-n64 build
PASS: glibcs-mips64-linux-gnu-n64-nan2008 build
PASS: glibcs-mips64-linux-gnu-n64-nan2008-soft build
PASS: glibcs-mips64-linux-gnu-n64-soft build
PASS: glibcs-mipsel-linux-gnu build
PASS: glibcs-mipsel-linux-gnu-nan2008 build
PASS: glibcs-mipsel-linux-gnu-nan2008-soft build
PASS: glibcs-mipsel-linux-gnu-soft build
PASS: glibcs-mips-linux-gnu build
PASS: glibcs-mips-linux-gnu-nan2008 build
PASS: glibcs-mips-linux-gnu-nan2008-soft build
PASS: glibcs-mips-linux-gnu-soft build
PASS: glibcs-nios2-linux-gnu build
PASS: glibcs-powerpc64le-linux-gnu build
PASS: glibcs-powerpc64-linux-gnu build
PASS: glibcs-tilegxbe-linux-gnu-32 build
PASS: glibcs-tilegxbe-linux-gnu build
PASS: glibcs-tilegx-linux-gnu-32 build
PASS: glibcs-tilegx-linux-gnu build
PASS: glibcs-tilepro-linux-gnu build
and the following build failures:
FAIL: glibcs-alpha-linux-gnu build
elf/sln is failed to link due to:
assertion fail bfd/elf64-alpha.c:4125
This is caused by linker bug and/or non-PIC code in PIE libc.a.
FAIL: glibcs-hppa-linux-gnu build
elf/sln is failed to link due to:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
https://sourceware.org/bugzilla/show_bug.cgi?id=22537
FAIL: glibcs-ia64-linux-gnu build
elf/sln is failed to link due to:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
FAIL: glibcs-powerpc-linux-gnu build
FAIL: glibcs-powerpc-linux-gnu-soft build
FAIL: glibcs-powerpc-linux-gnuspe build
FAIL: glibcs-powerpc-linux-gnuspe-e500v1 build
elf/sln is failed to link due to:
ld: read-only segment has dynamic relocations.
This is caused by linker bug and/or non-PIC code in PIE libc.a. See:
https://sourceware.org/bugzilla/show_bug.cgi?id=22264
FAIL: glibcs-powerpc-linux-gnu-power4 build
elf/sln is failed to link due to:
findlocale.c:96:(.text+0x22c): @local call to ifunc memchr
This is caused by linker bug and/or non-PIC code in PIE libc.a.
FAIL: glibcs-s390-linux-gnu build
elf/sln is failed to link due to:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped
assertion fail bfd/elflink.c:14299
This is caused by linker bug and/or non-PIC code in PIE libc.a.
FAIL: glibcs-sh3eb-linux-gnu build
FAIL: glibcs-sh3-linux-gnu build
FAIL: glibcs-sh4eb-linux-gnu build
FAIL: glibcs-sh4eb-linux-gnu-soft build
FAIL: glibcs-sh4-linux-gnu build
FAIL: glibcs-sh4-linux-gnu-soft build
elf/sln is failed to link due to:
ld: read-only segment has dynamic relocations.
This is caused by linker bug and/or non-PIC code in PIE libc.a. See:
https://sourceware.org/bugzilla/show_bug.cgi?id=22263
Also TLS code sequence in SH assembly syscalls in glibc doesn't match TLS
code sequence expected by ld:
https://sourceware.org/bugzilla/show_bug.cgi?id=22270
FAIL: glibcs-sparc64-linux-gnu build
FAIL: glibcs-sparcv9-linux-gnu build
FAIL: glibcs-tilegxbe-linux-gnu build
FAIL: glibcs-tilegxbe-linux-gnu-32 build
FAIL: glibcs-tilegx-linux-gnu build
FAIL: glibcs-tilegx-linux-gnu-32 build
FAIL: glibcs-tilepro-linux-gnu build
elf/sln is failed to link due to:
ld: read-only segment has dynamic relocations.
This is caused by linker bug and/or non-PIC code in PIE libc.a. See:
https://sourceware.org/bugzilla/show_bug.cgi?id=22263
[BZ #19574]
* INSTALL: Regenerated.
* Makeconfig (real-static-start-installed-name): New.
(pic-default): Updated for --enable-static-pie.
(pie-default): New for --enable-static-pie.
(default-pie-ldflag): Likewise.
(+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
Replace $(static-start-installed-name) with
$(real-static-start-installed-name).
(+prectorT): Updated for --enable-static-pie.
(+postctorT): Likewise.
(CFLAGS-.o): Add $(pie-default).
(CFLAGS-.op): Likewise.
* NEWS: Mention --enable-static-pie.
* config.h.in (ENABLE_STATIC_PIE): New.
* configure.ac (--enable-static-pie): New configure option.
(have-no-dynamic-linker): New LIBC_CONFIG_VAR.
(have-static-pie): Likewise.
Enable static PIE if linker supports --no-dynamic-linker.
(ENABLE_STATIC_PIE): New AC_DEFINE.
(enable-static-pie): New LIBC_CONFIG_VAR.
* configure: Regenerated.
* csu/Makefile (omit-deps): Add r$(start-installed-name) and
gr$(start-installed-name) for --enable-static-pie.
(extra-objs): Likewise.
(install-lib): Likewise.
(extra-objs): Add static-reloc.o and static-reloc.os
($(objpfx)$(start-installed-name)): Also depend on
$(objpfx)static-reloc.o.
($(objpfx)r$(start-installed-name)): New.
($(objpfx)g$(start-installed-name)): Also depend on
$(objpfx)static-reloc.os.
($(objpfx)gr$(start-installed-name)): New.
* csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
in libc.a.
* csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
initimage.
* csu/static-reloc.c: New file.
* elf/Makefile (routines): Add dl-reloc-static-pie.
(elide-routines.os): Likewise.
(DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
(tst-tls1-static-non-pie-no-pie): New.
* elf/dl-reloc-static-pie.c: New file.
* elf/dl-support.c (_dl_get_dl_main_map): New function.
* elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
STATIC_PIE_BOOTSTRAP.
* elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
* gmon/Makefile (tests): Add tst-gmon-static-pie.
(tests-static): Likewise.
(DEFAULT-LDFLAGS-tst-gmon-static): Removed.
(tst-gmon-static-no-pie): New.
(CFLAGS-tst-gmon-static-pie.c): Likewise.
(CRT-tst-gmon-static-pie): Likewise.
(tst-gmon-static-pie-ENV): Likewise.
(tests-special): Likewise.
($(objpfx)tst-gmon-static-pie.out): Likewise.
(clean-tst-gmon-static-pie-data): Likewise.
($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
* gmon/tst-gmon-static-pie.c: New file.
* manual/install.texi: Document --enable-static-pie.
* sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
(_dl_get_dl_main_map): Likewise.
* sysdeps/i386/configure.ac: Check if linker supports static PIE.
* sysdeps/x86_64/configure.ac: Likewise.
* sysdeps/i386/configure: Regenerated.
* sysdeps/x86_64/configure: Likewise.
* sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
(ASFLAGS-.op): Likewise.
2017-12-16 00:59:33 +00:00
|
|
|
|
and provide additional security hardening benefits at the cost of some
|
|
|
|
|
memory and performance. When the library is built with --enable-static-pie
|
|
|
|
|
the resulting libc.a is usable with GCC 8 and above to create static PIE
|
|
|
|
|
executables using the GCC option '-static-pie'. This feature is currently
|
2018-01-22 15:54:02 +00:00
|
|
|
|
supported on i386, x86_64 and x32 with binutils 2.29 or later, and on
|
|
|
|
|
aarch64 with binutils 2.30 or later.
|
Add --enable-static-pie configure option to build static PIE [BZ #19574]
Static PIE extends address space layout randomization to static
executables. It provides additional security hardening benefits at
the cost of some memory and performance.
Dynamic linker, ld.so, is a standalone program which can be loaded at
any address. This patch adds a configure option, --enable-static-pie,
to embed the part of ld.so in static executable to create static position
independent executable (static PIE). A static PIE is similar to static
executable, but can be loaded at any address without help from a dynamic
linker. When --enable-static-pie is used to configure glibc, libc.a is
built as PIE and all static executables, including tests, are built as
static PIE. The resulting libc.a can be used together with GCC 8 or
above to build static PIE with the compiler option, -static-pie. But
GCC 8 isn't required to build glibc with --enable-static-pie. Only GCC
with PIE support is needed. When an older GCC is used to build glibc
with --enable-static-pie, proper input files are passed to linker to
create static executables as static PIE, together with "-z text" to
prevent dynamic relocations in read-only segments, which are not allowed
in static PIE.
The following changes are made for static PIE:
1. Add a new function, _dl_relocate_static_pie, to:
a. Get the run-time load address.
b. Read the dynamic section.
c. Perform dynamic relocations.
Dynamic linker also performs these steps. But static PIE doesn't load
any shared objects.
2. Call _dl_relocate_static_pie at entrance of LIBC_START_MAIN in
libc.a. crt1.o, which is used to create dynamic and non-PIE static
executables, is updated to include a dummy _dl_relocate_static_pie.
rcrt1.o is added to create static PIE, which will link in the real
_dl_relocate_static_pie. grcrt1.o is also added to create static PIE
with -pg. GCC 8 has been updated to support rcrt1.o and grcrt1.o for
static PIE.
Static PIE can work on all architectures which support PIE, provided:
1. Target must support accessing of local functions without dynamic
relocations, which is needed in start.S to call __libc_start_main with
function addresses of __libc_csu_init, __libc_csu_fini and main. All
functions in static PIE are local functions. If PIE start.S can't reach
main () defined in a shared object, the code sequence:
pass address of local_main to __libc_start_main
...
local_main:
tail call to main via PLT
can be used.
2. start.S is updated to check PIC instead SHARED for PIC code path and
avoid dynamic relocation, when PIC is defined and SHARED isn't defined,
to support static PIE.
3. All assembly codes are updated check PIC instead SHARED for PIC code
path to avoid dynamic relocations in read-only sections.
4. All assembly codes are updated check SHARED instead PIC for static
symbol name.
5. elf_machine_load_address in dl-machine.h are updated to support static
PIE.
6. __brk works without TLS nor dynamic relocations in read-only section
so that it can be used by __libc_setup_tls to initializes TLS in static
PIE.
NB: When glibc is built with GCC defaulted to PIE, libc.a is compiled
with -fPIE, regardless if --enable-static-pie is used to configure glibc.
When glibc is configured with --enable-static-pie, libc.a is compiled
with -fPIE, regardless whether GCC defaults to PIE or not. The same
libc.a can be used to build both static executable and static PIE.
There is no need for separate PIE copy of libc.a.
On x86-64, the normal static sln:
text data bss dec hex filename
625425 8284 5456 639165 9c0bd elf/sln
the static PIE sln:
text data bss dec hex filename
657626 20636 5392 683654 a6e86 elf/sln
The code size is increased by 5% and the binary size is increased by 7%.
Linker requirements to build glibc with --enable-static-pie:
1. Linker supports --no-dynamic-linker to remove PT_INTERP segment from
static PIE.
2. Linker can create working static PIE. The x86-64 linker needs the
fix for
https://sourceware.org/bugzilla/show_bug.cgi?id=21782
The i386 linker needs to be able to convert "movl main@GOT(%ebx), %eax"
to "leal main@GOTOFF(%ebx), %eax" if main is defined locally.
Binutils 2.29 or above are OK for i686 and x86-64. But linker status for
other targets need to be verified.
3. Linker should resolve undefined weak symbols to 0 in static PIE:
https://sourceware.org/bugzilla/show_bug.cgi?id=22269
4. Many ELF backend linkers incorrectly check bfd_link_pic for TLS
relocations, which should check bfd_link_executable instead:
https://sourceware.org/bugzilla/show_bug.cgi?id=22263
Tested on aarch64, i686 and x86-64.
Using GCC 7 and binutils master branch, build-many-glibcs.py with
--enable-static-pie with all patches for static PIE applied have the
following build successes:
PASS: glibcs-aarch64_be-linux-gnu build
PASS: glibcs-aarch64-linux-gnu build
PASS: glibcs-armeb-linux-gnueabi-be8 build
PASS: glibcs-armeb-linux-gnueabi build
PASS: glibcs-armeb-linux-gnueabihf-be8 build
PASS: glibcs-armeb-linux-gnueabihf build
PASS: glibcs-arm-linux-gnueabi build
PASS: glibcs-arm-linux-gnueabihf build
PASS: glibcs-arm-linux-gnueabihf-v7a build
PASS: glibcs-arm-linux-gnueabihf-v7a-disable-multi-arch build
PASS: glibcs-m68k-linux-gnu build
PASS: glibcs-microblazeel-linux-gnu build
PASS: glibcs-microblaze-linux-gnu build
PASS: glibcs-mips64el-linux-gnu-n32 build
PASS: glibcs-mips64el-linux-gnu-n32-nan2008 build
PASS: glibcs-mips64el-linux-gnu-n32-nan2008-soft build
PASS: glibcs-mips64el-linux-gnu-n32-soft build
PASS: glibcs-mips64el-linux-gnu-n64 build
PASS: glibcs-mips64el-linux-gnu-n64-nan2008 build
PASS: glibcs-mips64el-linux-gnu-n64-nan2008-soft build
PASS: glibcs-mips64el-linux-gnu-n64-soft build
PASS: glibcs-mips64-linux-gnu-n32 build
PASS: glibcs-mips64-linux-gnu-n32-nan2008 build
PASS: glibcs-mips64-linux-gnu-n32-nan2008-soft build
PASS: glibcs-mips64-linux-gnu-n32-soft build
PASS: glibcs-mips64-linux-gnu-n64 build
PASS: glibcs-mips64-linux-gnu-n64-nan2008 build
PASS: glibcs-mips64-linux-gnu-n64-nan2008-soft build
PASS: glibcs-mips64-linux-gnu-n64-soft build
PASS: glibcs-mipsel-linux-gnu build
PASS: glibcs-mipsel-linux-gnu-nan2008 build
PASS: glibcs-mipsel-linux-gnu-nan2008-soft build
PASS: glibcs-mipsel-linux-gnu-soft build
PASS: glibcs-mips-linux-gnu build
PASS: glibcs-mips-linux-gnu-nan2008 build
PASS: glibcs-mips-linux-gnu-nan2008-soft build
PASS: glibcs-mips-linux-gnu-soft build
PASS: glibcs-nios2-linux-gnu build
PASS: glibcs-powerpc64le-linux-gnu build
PASS: glibcs-powerpc64-linux-gnu build
PASS: glibcs-tilegxbe-linux-gnu-32 build
PASS: glibcs-tilegxbe-linux-gnu build
PASS: glibcs-tilegx-linux-gnu-32 build
PASS: glibcs-tilegx-linux-gnu build
PASS: glibcs-tilepro-linux-gnu build
and the following build failures:
FAIL: glibcs-alpha-linux-gnu build
elf/sln is failed to link due to:
assertion fail bfd/elf64-alpha.c:4125
This is caused by linker bug and/or non-PIC code in PIE libc.a.
FAIL: glibcs-hppa-linux-gnu build
elf/sln is failed to link due to:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
https://sourceware.org/bugzilla/show_bug.cgi?id=22537
FAIL: glibcs-ia64-linux-gnu build
elf/sln is failed to link due to:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
FAIL: glibcs-powerpc-linux-gnu build
FAIL: glibcs-powerpc-linux-gnu-soft build
FAIL: glibcs-powerpc-linux-gnuspe build
FAIL: glibcs-powerpc-linux-gnuspe-e500v1 build
elf/sln is failed to link due to:
ld: read-only segment has dynamic relocations.
This is caused by linker bug and/or non-PIC code in PIE libc.a. See:
https://sourceware.org/bugzilla/show_bug.cgi?id=22264
FAIL: glibcs-powerpc-linux-gnu-power4 build
elf/sln is failed to link due to:
findlocale.c:96:(.text+0x22c): @local call to ifunc memchr
This is caused by linker bug and/or non-PIC code in PIE libc.a.
FAIL: glibcs-s390-linux-gnu build
elf/sln is failed to link due to:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault], core dumped
assertion fail bfd/elflink.c:14299
This is caused by linker bug and/or non-PIC code in PIE libc.a.
FAIL: glibcs-sh3eb-linux-gnu build
FAIL: glibcs-sh3-linux-gnu build
FAIL: glibcs-sh4eb-linux-gnu build
FAIL: glibcs-sh4eb-linux-gnu-soft build
FAIL: glibcs-sh4-linux-gnu build
FAIL: glibcs-sh4-linux-gnu-soft build
elf/sln is failed to link due to:
ld: read-only segment has dynamic relocations.
This is caused by linker bug and/or non-PIC code in PIE libc.a. See:
https://sourceware.org/bugzilla/show_bug.cgi?id=22263
Also TLS code sequence in SH assembly syscalls in glibc doesn't match TLS
code sequence expected by ld:
https://sourceware.org/bugzilla/show_bug.cgi?id=22270
FAIL: glibcs-sparc64-linux-gnu build
FAIL: glibcs-sparcv9-linux-gnu build
FAIL: glibcs-tilegxbe-linux-gnu build
FAIL: glibcs-tilegxbe-linux-gnu-32 build
FAIL: glibcs-tilegx-linux-gnu build
FAIL: glibcs-tilegx-linux-gnu-32 build
FAIL: glibcs-tilepro-linux-gnu build
elf/sln is failed to link due to:
ld: read-only segment has dynamic relocations.
This is caused by linker bug and/or non-PIC code in PIE libc.a. See:
https://sourceware.org/bugzilla/show_bug.cgi?id=22263
[BZ #19574]
* INSTALL: Regenerated.
* Makeconfig (real-static-start-installed-name): New.
(pic-default): Updated for --enable-static-pie.
(pie-default): New for --enable-static-pie.
(default-pie-ldflag): Likewise.
(+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
Replace $(static-start-installed-name) with
$(real-static-start-installed-name).
(+prectorT): Updated for --enable-static-pie.
(+postctorT): Likewise.
(CFLAGS-.o): Add $(pie-default).
(CFLAGS-.op): Likewise.
* NEWS: Mention --enable-static-pie.
* config.h.in (ENABLE_STATIC_PIE): New.
* configure.ac (--enable-static-pie): New configure option.
(have-no-dynamic-linker): New LIBC_CONFIG_VAR.
(have-static-pie): Likewise.
Enable static PIE if linker supports --no-dynamic-linker.
(ENABLE_STATIC_PIE): New AC_DEFINE.
(enable-static-pie): New LIBC_CONFIG_VAR.
* configure: Regenerated.
* csu/Makefile (omit-deps): Add r$(start-installed-name) and
gr$(start-installed-name) for --enable-static-pie.
(extra-objs): Likewise.
(install-lib): Likewise.
(extra-objs): Add static-reloc.o and static-reloc.os
($(objpfx)$(start-installed-name)): Also depend on
$(objpfx)static-reloc.o.
($(objpfx)r$(start-installed-name)): New.
($(objpfx)g$(start-installed-name)): Also depend on
$(objpfx)static-reloc.os.
($(objpfx)gr$(start-installed-name)): New.
* csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
in libc.a.
* csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
initimage.
* csu/static-reloc.c: New file.
* elf/Makefile (routines): Add dl-reloc-static-pie.
(elide-routines.os): Likewise.
(DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
(tst-tls1-static-non-pie-no-pie): New.
* elf/dl-reloc-static-pie.c: New file.
* elf/dl-support.c (_dl_get_dl_main_map): New function.
* elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
STATIC_PIE_BOOTSTRAP.
* elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
* gmon/Makefile (tests): Add tst-gmon-static-pie.
(tests-static): Likewise.
(DEFAULT-LDFLAGS-tst-gmon-static): Removed.
(tst-gmon-static-no-pie): New.
(CFLAGS-tst-gmon-static-pie.c): Likewise.
(CRT-tst-gmon-static-pie): Likewise.
(tst-gmon-static-pie-ENV): Likewise.
(tests-special): Likewise.
($(objpfx)tst-gmon-static-pie.out): Likewise.
(clean-tst-gmon-static-pie-data): Likewise.
($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
* gmon/tst-gmon-static-pie.c: New file.
* manual/install.texi: Document --enable-static-pie.
* sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
(_dl_get_dl_main_map): Likewise.
* sysdeps/i386/configure.ac: Check if linker supports static PIE.
* sysdeps/x86_64/configure.ac: Likewise.
* sysdeps/i386/configure: Regenerated.
* sysdeps/x86_64/configure: Likewise.
* sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
(ASFLAGS-.op): Likewise.
2017-12-16 00:59:33 +00:00
|
|
|
|
|
2017-12-12 23:32:58 +00:00
|
|
|
|
* Optimized x86-64 asin, atan2, exp, expf, log, pow, atan, sin, cosf,
|
2018-01-08 16:04:26 +00:00
|
|
|
|
sinf, sincosf and tan with FMA, contributed by Arjan van de Ven and
|
|
|
|
|
H.J. Lu from Intel.
|
2017-08-16 16:17:34 +00:00
|
|
|
|
|
2017-09-20 16:54:05 +00:00
|
|
|
|
* Optimized x86-64 trunc and truncf for processors with SSE4.1.
|
|
|
|
|
|
2018-01-02 16:19:49 +00:00
|
|
|
|
* Optimized generic expf, exp2f, logf, log2f, powf, sinf, cosf and sincosf.
|
2017-09-06 16:42:00 +00:00
|
|
|
|
|
2017-08-30 14:39:41 +00:00
|
|
|
|
* In order to support faster and safer process termination the malloc API
|
|
|
|
|
family of functions will no longer print a failure address and stack
|
|
|
|
|
backtrace after detecting heap corruption. The goal is to minimize the
|
|
|
|
|
amount of work done after corruption is detected and to avoid potential
|
|
|
|
|
security issues in continued process execution. Reducing shutdown time
|
|
|
|
|
leads to lower overall process restart latency, so there is benefit both
|
|
|
|
|
from a security and performance perspective.
|
|
|
|
|
|
2017-10-05 12:48:16 +00:00
|
|
|
|
* The abort function terminates the process immediately, without flushing
|
|
|
|
|
stdio streams. Previous glibc versions used to flush streams, resulting
|
|
|
|
|
in deadlocks and further data corruption. This change also affects
|
|
|
|
|
process aborts as the result of assertion failures.
|
|
|
|
|
|
Add _Float128 function aliases.
This patch adds support for *f128 function aliases on platforms where
long double has the binary128 format (and thus GCC 7 provides the
_Float128 type with the same ABI as long double but as a distinct type
in terms of C type compatibility). This is the same API as provided
in glibc 2.26 for powerpc64le / x86_64 / x86 / ia64 where _Float128
has a different format from long double, with the bulk of the API
coming from TS 18661-3. All the functions alias the corresponding
long double functions, and __* function names are not provided since
those are only needed once for each floating-point format, not more
than once for different types with the same format (so for example,
-ffinite-math-only maps foof128 to __fool_finite, while type-generic
macros end up calling e.g. __issignalingl for _Float128 arguments on
such platforms).
The preparation for this feature was done in previous patches, so this
one just needs to add the relevant makefile and header definitions,
and update macro definitions of libm_alias_ldouble_other_r, to turn on
the feature, and update documentation and ABI baselines.
Tested (a) for x86_64, (b) for aarch64, (c) with build-many-glibcs.py
with both GCC 6 and GCC 7.
* sysdeps/ieee754/ldbl-128/Makeconfig: New file.
* sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
* sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
* sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
[__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
(libm_alias_ldouble_other_r): Also create _Float128 alias.
* sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
<bits/floatn.h>.
[__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
(libm_alias_ldouble_other_r): Also create _Float128 alias.
* manual/math.texi (Mathematics): Document additional architecture
support for _Float128.
* sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.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/s390/s390-32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2017-10-18 17:37:18 +00:00
|
|
|
|
* On platforms where long double has the IEEE binary128 format (aarch64,
|
2017-12-27 04:55:44 +00:00
|
|
|
|
alpha, mips64, riscv, s390 and sparc), the math library now implements
|
|
|
|
|
_Float128 interfaces for that type, as defined by ISO/IEC TS 18661-3:2015.
|
|
|
|
|
These are the same interfaces added in version 2.26 for some platforms where
|
Add _Float128 function aliases.
This patch adds support for *f128 function aliases on platforms where
long double has the binary128 format (and thus GCC 7 provides the
_Float128 type with the same ABI as long double but as a distinct type
in terms of C type compatibility). This is the same API as provided
in glibc 2.26 for powerpc64le / x86_64 / x86 / ia64 where _Float128
has a different format from long double, with the bulk of the API
coming from TS 18661-3. All the functions alias the corresponding
long double functions, and __* function names are not provided since
those are only needed once for each floating-point format, not more
than once for different types with the same format (so for example,
-ffinite-math-only maps foof128 to __fool_finite, while type-generic
macros end up calling e.g. __issignalingl for _Float128 arguments on
such platforms).
The preparation for this feature was done in previous patches, so this
one just needs to add the relevant makefile and header definitions,
and update macro definitions of libm_alias_ldouble_other_r, to turn on
the feature, and update documentation and ABI baselines.
Tested (a) for x86_64, (b) for aarch64, (c) with build-many-glibcs.py
with both GCC 6 and GCC 7.
* sysdeps/ieee754/ldbl-128/Makeconfig: New file.
* sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
* sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
* sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
[__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
(libm_alias_ldouble_other_r): Also create _Float128 alias.
* sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
<bits/floatn.h>.
[__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
(libm_alias_ldouble_other_r): Also create _Float128 alias.
* manual/math.texi (Mathematics): Document additional architecture
support for _Float128.
* sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.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/s390/s390-32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2017-10-18 17:37:18 +00:00
|
|
|
|
this format is supported but is not the format of long double.
|
|
|
|
|
|
Add _Float64x function aliases.
This patch continues filling out TS 18661-3 support by adding *f64x
function aliases on platforms with _Float64x support. (It so happens
the set of such platforms is exactly the same as the set of platforms
with _Float128 support, although on x86_64, x86 and ia32 the _Float64x
format is Intel extended rather than binary128.) The API provided
corresponds exactly to that provided for _Float128, mostly coming from
TS 18661-3. As these functions always alias those for another type
(long double, _Float128 or both), __* function names are not provided,
as in other cases of alias types.
Given the preparation done in previous patches, this one just enables
the feature via Makeconfig and bits/floatn.h, adds symbol versions,
and updates documentation and ABI baselines. The symbol versions are
present unconditionally as GLIBC_2.27 in the relevant Versions files,
as it's OK for those to specify versions for functions that may not be
present in some configurations; no additional complexity is needed
unless in future some configuration gains support for this type that
didn't have such support in 2.27. The Makeconfig additions for ia64
and x86 aren't strictly needed, as those configurations also get
float64x-alias-fcts definitions from
sysdeps/ieee754/float128/Makeconfig, but still seem appropriate given
that _Float64x is not _Float128 for those configurations.
A libm-test-ulps update for x86 is included. This is because
bits/mathinline.h does not have _Float64x support added and for two
functions the use of out-of-line functions results in increased ulps
(ifloat64x shares ulps with ildouble / ifloat128 as appropriate).
Given that we'd like generally to eliminate bits/mathinline.h
optimizations, preferring to have such optimizations in GCC instead,
it seems reasonable not to add such support there for new types. GCC
support for _FloatN / _FloatNx built-in functions is limited, but has
been improved in GCC 8, and at some point I hope the full set of libm
built-in functions in GCC, and other optimizations with
per-floating-type aspects, will be enabled for all _FloatN / _FloatNx
types.
Tested for x86_64 and x86, and with build-many-glibcs.py, with both
GCC 6 and GCC 7.
* sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
* sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
Likewise.
* sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
Likewise.
* sysdeps/x86/Makeconfig: New file.
* bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* bits/floatn.h (__HAVE_FLOAT64X): New macro.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
Likewise.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* manual/math.texi (Mathematics): Document support for _Float64x.
* math/Versions (GLIBC_2.27): Add _Float64x functions.
* stdlib/Versions (GLIBC_2.27): Likewise.
* wcsmbs/Versions (GLIBC_2.27): Likewise.
* sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.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/powerpc/powerpc64/libc-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
* sysdeps/i386/fpu/libm-test-ulps: Likewise.
* sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2017-11-27 14:16:47 +00:00
|
|
|
|
* On platforms with support for _Float64x (aarch64, alpha, i386, ia64,
|
2017-12-27 04:55:44 +00:00
|
|
|
|
mips64, powerpc64le, riscv, s390, sparc and x86_64), the math library now
|
Add _Float64x function aliases.
This patch continues filling out TS 18661-3 support by adding *f64x
function aliases on platforms with _Float64x support. (It so happens
the set of such platforms is exactly the same as the set of platforms
with _Float128 support, although on x86_64, x86 and ia32 the _Float64x
format is Intel extended rather than binary128.) The API provided
corresponds exactly to that provided for _Float128, mostly coming from
TS 18661-3. As these functions always alias those for another type
(long double, _Float128 or both), __* function names are not provided,
as in other cases of alias types.
Given the preparation done in previous patches, this one just enables
the feature via Makeconfig and bits/floatn.h, adds symbol versions,
and updates documentation and ABI baselines. The symbol versions are
present unconditionally as GLIBC_2.27 in the relevant Versions files,
as it's OK for those to specify versions for functions that may not be
present in some configurations; no additional complexity is needed
unless in future some configuration gains support for this type that
didn't have such support in 2.27. The Makeconfig additions for ia64
and x86 aren't strictly needed, as those configurations also get
float64x-alias-fcts definitions from
sysdeps/ieee754/float128/Makeconfig, but still seem appropriate given
that _Float64x is not _Float128 for those configurations.
A libm-test-ulps update for x86 is included. This is because
bits/mathinline.h does not have _Float64x support added and for two
functions the use of out-of-line functions results in increased ulps
(ifloat64x shares ulps with ildouble / ifloat128 as appropriate).
Given that we'd like generally to eliminate bits/mathinline.h
optimizations, preferring to have such optimizations in GCC instead,
it seems reasonable not to add such support there for new types. GCC
support for _FloatN / _FloatNx built-in functions is limited, but has
been improved in GCC 8, and at some point I hope the full set of libm
built-in functions in GCC, and other optimizations with
per-floating-type aspects, will be enabled for all _FloatN / _FloatNx
types.
Tested for x86_64 and x86, and with build-many-glibcs.py, with both
GCC 6 and GCC 7.
* sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
* sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
Likewise.
* sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
Likewise.
* sysdeps/x86/Makeconfig: New file.
* bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* bits/floatn.h (__HAVE_FLOAT64X): New macro.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
Likewise.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
(__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
* manual/math.texi (Mathematics): Document support for _Float64x.
* math/Versions (GLIBC_2.27): Add _Float64x functions.
* stdlib/Versions (GLIBC_2.27): Likewise.
* wcsmbs/Versions (GLIBC_2.27): Likewise.
* sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
* sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/mips/mips64/libm.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/powerpc/powerpc64/libc-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
* sysdeps/i386/fpu/libm-test-ulps: Likewise.
* sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
2017-11-27 14:16:47 +00:00
|
|
|
|
implements interfaces for that type, as defined by ISO/IEC TS
|
|
|
|
|
18661-3:2015. These are corresponding interfaces to those supported for
|
|
|
|
|
_Float128.
|
|
|
|
|
|
2017-12-07 00:48:31 +00:00
|
|
|
|
* The math library now implements interfaces for the _Float32, _Float64 and
|
|
|
|
|
_Float32x types, as defined by ISO/IEC TS 18661-3:2015. These are
|
|
|
|
|
corresponding interfaces to those supported for _Float128.
|
2017-12-06 00:58:03 +00:00
|
|
|
|
|
2017-11-27 16:14:29 +00:00
|
|
|
|
* glibc now implements the memfd_create and mlock2 functions on Linux.
|
2017-11-23 09:00:40 +00:00
|
|
|
|
|
2017-12-05 14:20:30 +00:00
|
|
|
|
* Support for memory protection keys was added. The <sys/mman.h> header now
|
|
|
|
|
declares the functions pkey_alloc, pkey_free, pkey_mprotect, pkey_set,
|
|
|
|
|
pkey_get.
|
|
|
|
|
|
2017-12-22 09:55:40 +00:00
|
|
|
|
* The copy_file_range function was added.
|
|
|
|
|
|
2017-12-13 20:14:17 +00:00
|
|
|
|
* Optimized memcpy, mempcpy, memmove, and memset for sparc M7.
|
|
|
|
|
|
2017-12-16 11:25:41 +00:00
|
|
|
|
* The ldconfig utility now processes `include' directives using the C/POSIX
|
|
|
|
|
collation ordering. Previous glibc versions used locale-specific
|
|
|
|
|
ordering, the change might break systems that relied on that.
|
|
|
|
|
|
2017-09-18 22:00:22 +00:00
|
|
|
|
* Support for two grammatical forms of month names has been added.
|
|
|
|
|
In a call to strftime, the "%B" and "%b" format specifiers will now
|
|
|
|
|
produce the grammatical form required when the month is used as part
|
|
|
|
|
of a complete date. New "%OB" and "%Ob" specifiers produce the form
|
|
|
|
|
required when the month is named by itself. For instance, in Greek
|
|
|
|
|
and in many Slavic and Baltic languages, "%B" will produce the month
|
|
|
|
|
in genitive case, and "%OB" will produce the month in nominative case.
|
|
|
|
|
|
|
|
|
|
In a call to strptime, "%B", "%b", "%h", "%OB", "%Ob", and "%Oh"
|
|
|
|
|
are all valid and will all accept any known form of month
|
|
|
|
|
name---standalone or complete, abbreviated or full. In a call to
|
|
|
|
|
nl_langinfo, the query constants MON_1..12 and ABMON_1..12 return
|
|
|
|
|
the strings used by "%B" and "%b", respectively. New query
|
|
|
|
|
constants ALTMON_1..12 and _NL_ABALTMON_1..12 return the strings
|
|
|
|
|
used by "%OB" and "%Ob", respectively.
|
|
|
|
|
|
|
|
|
|
In a locale definition file, use "alt_mon" and "ab_alt_mon" to
|
|
|
|
|
define the strings for %OB and %Ob, respectively; these have the
|
2018-02-01 00:45:43 +00:00
|
|
|
|
same syntax as "mon" and "abmon". These arrays are optional; if they
|
|
|
|
|
are not provided then they have the same content as "mon" and "abmon",
|
|
|
|
|
respectively.
|
|
|
|
|
|
|
|
|
|
These features are provided for locales which define "alt_mon" and/or
|
|
|
|
|
"ab_alt_mon" in their locale source data. This release includes such
|
|
|
|
|
alternative month name data for the following languages: Belarusian,
|
|
|
|
|
Croatian, Greek, Lithuanian, Polish, Russian, and Ukrainian.
|
2017-09-18 22:00:22 +00:00
|
|
|
|
|
|
|
|
|
This feature is currently a GNU extension, but it is expected to
|
|
|
|
|
be added to the next revision of POSIX, and it is also already
|
|
|
|
|
available on some BSD-derived operating systems.
|
|
|
|
|
|
2018-01-23 20:20:01 +00:00
|
|
|
|
This feature will cause existing statically compiled applications
|
|
|
|
|
to fail to load locales and fall back to the builtin C/POSIX locales.
|
2018-01-23 20:22:51 +00:00
|
|
|
|
See notes below for other changes affecting compatibility.
|
2018-01-23 20:20:01 +00:00
|
|
|
|
|
2017-12-27 04:55:44 +00:00
|
|
|
|
* Support for the RISC-V ISA running on Linux has been added. This port
|
|
|
|
|
requires at least binutils-2.30, gcc-7.3.0, and linux-4.15; and is supported
|
|
|
|
|
for the following ISA and ABI pairs:
|
|
|
|
|
|
|
|
|
|
- rv64imac lp64
|
|
|
|
|
- rv64imafdc lp64
|
|
|
|
|
- rv64imafdc lp64d
|
|
|
|
|
|
2017-08-02 13:53:16 +00:00
|
|
|
|
Deprecated and removed features, and other changes affecting compatibility:
|
|
|
|
|
|
2018-01-23 20:20:01 +00:00
|
|
|
|
* Statically compiled applications attempting to load locales compiled for the
|
|
|
|
|
GNU C Library version 2.27 will fail and fall back to the builtin C/POSIX
|
2018-01-23 21:52:39 +00:00
|
|
|
|
locale. The reason for this is that the addition of the new "%OB" and "%Ob",
|
2018-01-23 20:20:01 +00:00
|
|
|
|
support for two grammatical forms of the month names, also extends the locale
|
|
|
|
|
data binary format. Static applications needing locale support must be
|
|
|
|
|
recompiled to match the runtime and data they are deployed with. In some
|
|
|
|
|
distributions there is an upgrade window where dynamically linked applications
|
|
|
|
|
may use a new library but the old locale data and also fall back to the
|
|
|
|
|
builtin C/POSIX locales; restarting the application process is sufficient to
|
|
|
|
|
fix this.
|
|
|
|
|
|
2018-01-05 12:57:54 +00:00
|
|
|
|
* Support for statically linked applications which call dlopen is deprecated
|
|
|
|
|
and will be removed in a future version of glibc. Applications which call
|
|
|
|
|
dlopen need to be linked dynamically instead.
|
|
|
|
|
|
2018-01-05 12:57:48 +00:00
|
|
|
|
* Support for old programs which use internal stdio data structures and
|
|
|
|
|
functions is deprecated. This includes programs which use the C++ streams
|
|
|
|
|
provided by libstdc++ in GCC 2.95. Programs which use the internal
|
|
|
|
|
symbols _IO_adjust_wcolumn, _IO_default_doallocate, _IO_default_finish,
|
|
|
|
|
_IO_default_pbackfail, _IO_default_uflow, _IO_default_xsgetn,
|
|
|
|
|
_IO_default_xsputn, _IO_doallocbuf, _IO_do_write, _IO_file_attach,
|
|
|
|
|
_IO_file_close, _IO_file_close_it, _IO_file_doallocate, _IO_file_fopen,
|
|
|
|
|
_IO_file_init, _IO_file_jumps, _IO_fileno, _IO_file_open,
|
|
|
|
|
_IO_file_overflow, _IO_file_read, _IO_file_seek, _IO_file_seekoff,
|
|
|
|
|
_IO_file_setbuf, _IO_file_stat, _IO_file_sync, _IO_file_underflow,
|
|
|
|
|
_IO_file_write, _IO_file_xsputn, _IO_flockfile, _IO_flush_all,
|
|
|
|
|
_IO_flush_all_linebuffered, _IO_free_backup_area, _IO_free_wbackup_area,
|
|
|
|
|
_IO_init, _IO_init_marker, _IO_init_wmarker, _IO_iter_begin, _IO_iter_end,
|
|
|
|
|
_IO_iter_file, _IO_iter_next, _IO_least_wmarker, _IO_link_in,
|
|
|
|
|
_IO_list_all, _IO_list_lock, _IO_list_resetlock, _IO_list_unlock,
|
|
|
|
|
_IO_marker_delta, _IO_marker_difference, _IO_remove_marker, _IO_seekmark,
|
|
|
|
|
_IO_seekwmark, _IO_str_init_readonly, _IO_str_init_static,
|
|
|
|
|
_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff, _IO_str_underflow,
|
|
|
|
|
_IO_switch_to_main_wget_area, _IO_switch_to_wget_mode,
|
|
|
|
|
_IO_unsave_wmarkers, _IO_wdefault_doallocate, _IO_wdefault_finish,
|
|
|
|
|
_IO_wdefault_pbackfail, _IO_wdefault_setbuf, _IO_wdefault_uflow,
|
|
|
|
|
_IO_wdefault_xsgetn, _IO_wdefault_xsputn, _IO_wdoallocbuf, _IO_wdo_write,
|
|
|
|
|
_IO_wfile_jumps, _IO_wfile_overflow, _IO_wfile_sync, _IO_wfile_underflow,
|
|
|
|
|
_IO_wfile_xsputn, _IO_wmarker_delta, or _IO_wsetb may stop working with a
|
|
|
|
|
future version of glibc. Unlike other symbol removals, these old
|
|
|
|
|
applications will not be supported using compatibility symbols.
|
|
|
|
|
|
2017-07-18 09:23:38 +00:00
|
|
|
|
* On GNU/Linux, the obsolete Linux constant PTRACE_SEIZE_DEVEL is no longer
|
|
|
|
|
defined by <sys/ptrace.h>.
|
2017-08-02 13:53:16 +00:00
|
|
|
|
|
Obsolete matherr, _LIB_VERSION, libieee.a.
This patch obsoletes support for SVID libm error handling (the system
where a user-defined function matherr is called on a libm function
error; only enabled if you also set _LIB_VERSION = _SVID_ or
_LIB_VERSION = _XOPEN_) and the use of the _LIB_VERSION global
variable to control libm error handling. matherr and _LIB_VERSION are
made into compat symbols, not supported for new ports or for static
linking. The libieee.a object file (which sets _LIB_VERSION = _IEEE_,
so disabling errno setting for some functions) is also removed, and
all the related definitions are removed from math.h.
The manual already recommends against using matherr, and it's already
not supported for _Float128 functions (those use new wrappers that
don't support matherr, only errno) - this patch means that it becomes
possible to e.g. add sinf32 as an alias to sinf without that resulting
in undesired matherr support in sinf32 for existing glibc ports.
matherr support is not part of any standard supported by glibc (it was
removed in XPG4).
Because matherr is a function to be defined by the user, of course
user programs defining such a function will still continue to link; it
just quietly won't be used. If they try to write to the library's
copy of _LIB_VERSION to enable SVID error handling, however, they will
get a link error (but if they define their own _LIB_VERSION variable,
they won't).
I expect the most likely case of build failures from this patch to be
programs with unconditional cargo-culted uses of -lieee (based on a
notion of "I want IEEE floating point", not any actual requirement for
that library).
Ideally, the new-port-or-static-linking case would use the new
wrappers used for _Float128. This is not implemented in this patch,
because of the complication of architecture-specific (powerpc32 and
sparc) sqrt wrappers that use _LIB_VERSION and __kernel_standard
directly. Thus, the old wrappers and __kernel_standard are still
built unconditionally, and _LIB_VERSION still exists in static libm.
But when the old wrappers and __kernel_standard are built in the
non-compat case, _LIB_VERSION and matherr are defined as macros so
code to support those features isn't actually built into static libm
or new ports' shared libm after this patch.
I intend to move to the new wrappers for static libm and new ports in
followup patches. I believe the sqrt wrappers for powerpc32 and sparc
can reasonably be removed. GCC already optimizes the normal case of
sqrt by generating code that uses a hardware instruction and only
calls the sqrt function if the argument was negative (if
-fno-math-errno, of course, it just uses the hardware instruction
without any check for negative argument being needed). Thus those
wrappers will only actually get called in the case of negative
arguments, which is not a case it makes sense to optimize for. But
even without removing the powerpc32 and sparc wrappers it should still
be possible to move to the new wrappers for static libm and new ports,
just without having those dubious architecture-specific optimizations
in static libm.
Everything said about matherr equally applies to matherrf and matherrl
(IA64-specific, undocumented), except that the structure of IA64 libm
means it won't be converted to using the new wrappers (it doesn't use
the old ones either, but its own error-handling code instead).
As with other tests of compat symbols, I expect test-matherr and
test-matherr-2 to need to become appropriately conditional once we
have a system for disabling such tests for ports too new to have the
relevant symbols.
Tested for x86_64 and x86, and with build-many-glibcs.py.
* math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
[__USE_MISC] (_LIB_VERSION): Likewise.
[__USE_MISC] (struct exception): Likewise.
[__USE_MISC] (matherr): Likewise.
[__USE_MISC] (DOMAIN): Likewise.
[__USE_MISC] (SING): Likewise.
[__USE_MISC] (OVERFLOW): Likewise.
[__USE_MISC] (UNDERFLOW): Likewise.
[__USE_MISC] (TLOSS): Likewise.
[__USE_MISC] (PLOSS): Likewise.
[__USE_MISC] (HUGE): Likewise.
[__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
* math/math-svid-compat.h: New file.
* conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
and matherrl.
* include/math.h [!_ISOMAC] (__matherr): Remove.
* manual/arith.texi (FP Exceptions): Do not document matherr.
* math/Makefile (tests): Change test-matherr to test-matherr-3.
(tests-internal): New variable.
(install-lib): Do not add libieee.a.
(non-lib.a): Likewise.
(extra-objs): Do not add libieee.a and ieee-math.o.
(CPPFLAGS-s_lib_version.c): Remove variable.
($(objpfx)libieee.a): Remove rule.
($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
* math/ieee-math.c: Remove.
* math/libm-test-support.c (matherr): Remove.
* math/test-matherr.c: Use <support/test-driver.c>. Add copyright
and license notices. Include <math-svid-compat.h> and
<shlib-compat.h>.
(matherr): Undefine as macro. Use compat_symbol_reference.
(_LIB_VERSION): Likewise.
* math/test-matherr-2.c: New file.
* math/test-matherr-3.c: Likewise.
* sysdeps/generic/math_private.h (__kernel_standard): Remove
declaration.
(__kernel_standard_f): Likewise.
(__kernel_standard_l): Likewise.
* sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
<math_private.h>. Include <math-svid-compat.h>.
(_LIB_VERSION): Undefine as macro.
(_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
only if [LIBM_SVID_COMPAT || !defined SHARED]. If
[LIBM_SVID_COMPAT], use compat_symbol.
* sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
<math_private.h>. Include <math-svid-compat.h>.
(matherr): Undefine as macro.
(__matherr): Define only if [LIBM_SVID_COMPAT]. Use
compat_symbol.
* sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
[_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
compat_symbol_reference.
[_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
[_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
[_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
* sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
(MATHERR_D): Remove declaration.
[!_LIBC] (_LIB_VERSION_TYPE): Likewise
[!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
[LIBM_BUILD] (pmatherrf): Likewise.
[LIBM_BUILD] (pmatherr): Likewise.
[LIBM_BUILD] (pmatherrl): Likewise.
(DOMAIN): Likewise.
(SING): Likewise.
(OVERFLOW): Likewise.
(UNDERFLOW): Likewise.
(TLOSS): Likewise.
(PLOSS): Likewise.
* sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
(__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
compat_symbol.
* sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
(__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
compat_symbol.
* math/lgamma-compat.h: Include <math-svid-compat.h>.
* math/w_acos_compat.c: Likewise.
* math/w_acosf_compat.c: Likewise.
* math/w_acosh_compat.c: Likewise.
* math/w_acoshf_compat.c: Likewise.
* math/w_acoshl_compat.c: Likewise.
* math/w_acosl_compat.c: Likewise.
* math/w_asin_compat.c: Likewise.
* math/w_asinf_compat.c: Likewise.
* math/w_asinl_compat.c: Likewise.
* math/w_atan2_compat.c: Likewise.
* math/w_atan2f_compat.c: Likewise.
* math/w_atan2l_compat.c: Likewise.
* math/w_atanh_compat.c: Likewise.
* math/w_atanhf_compat.c: Likewise.
* math/w_atanhl_compat.c: Likewise.
* math/w_cosh_compat.c: Likewise.
* math/w_coshf_compat.c: Likewise.
* math/w_coshl_compat.c: Likewise.
* math/w_exp10_compat.c: Likewise.
* math/w_exp10f_compat.c: Likewise.
* math/w_exp10l_compat.c: Likewise.
* math/w_exp2_compat.c: Likewise.
* math/w_exp2f_compat.c: Likewise.
* math/w_exp2l_compat.c: Likewise.
* math/w_fmod_compat.c: Likewise.
* math/w_fmodf_compat.c: Likewise.
* math/w_fmodl_compat.c: Likewise.
* math/w_hypot_compat.c: Likewise.
* math/w_hypotf_compat.c: Likewise.
* math/w_hypotl_compat.c: Likewise.
* math/w_j0_compat.c: Likewise.
* math/w_j0f_compat.c: Likewise.
* math/w_j0l_compat.c: Likewise.
* math/w_j1_compat.c: Likewise.
* math/w_j1f_compat.c: Likewise.
* math/w_j1l_compat.c: Likewise.
* math/w_jn_compat.c: Likewise.
* math/w_jnf_compat.c: Likewise.
* math/w_jnl_compat.c: Likewise.
* math/w_lgamma_main.c: Likewise.
* math/w_lgamma_r_compat.c: Likewise.
* math/w_lgammaf_main.c: Likewise.
* math/w_lgammaf_r_compat.c: Likewise.
* math/w_lgammal_main.c: Likewise.
* math/w_lgammal_r_compat.c: Likewise.
* math/w_log10_compat.c: Likewise.
* math/w_log10f_compat.c: Likewise.
* math/w_log10l_compat.c: Likewise.
* math/w_log2_compat.c: Likewise.
* math/w_log2f_compat.c: Likewise.
* math/w_log2l_compat.c: Likewise.
* math/w_log_compat.c: Likewise.
* math/w_logf_compat.c: Likewise.
* math/w_logl_compat.c: Likewise.
* math/w_pow_compat.c: Likewise.
* math/w_powf_compat.c: Likewise.
* math/w_powl_compat.c: Likewise.
* math/w_remainder_compat.c: Likewise.
* math/w_remainderf_compat.c: Likewise.
* math/w_remainderl_compat.c: Likewise.
* math/w_scalb_compat.c: Likewise.
* math/w_scalbf_compat.c: Likewise.
* math/w_scalbl_compat.c: Likewise.
* math/w_sinh_compat.c: Likewise.
* math/w_sinhf_compat.c: Likewise.
* math/w_sinhl_compat.c: Likewise.
* math/w_sqrt_compat.c: Likewise.
* math/w_sqrtf_compat.c: Likewise.
* math/w_sqrtl_compat.c: Likewise.
* math/w_tgamma_compat.c: Likewise.
* math/w_tgammaf_compat.c: Likewise.
* math/w_tgammal_compat.c: Likewise.
* sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
* sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
* sysdeps/ieee754/k_standard.c: Likewise.
* sysdeps/ieee754/k_standardf.c: Likewise.
* sysdeps/ieee754/k_standardl.c: Likewise.
* sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
* sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
* sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
* sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
* sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
* sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
* sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
* sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
* sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
2017-08-21 17:45:10 +00:00
|
|
|
|
* libm no longer supports SVID error handling (calling a user-provided
|
|
|
|
|
matherr function on error) or the _LIB_VERSION variable to control error
|
|
|
|
|
handling. (SVID error handling and the _LIB_VERSION variable still work
|
|
|
|
|
for binaries linked against older versions of the GNU C Library.) The
|
|
|
|
|
libieee.a library is no longer provided. math.h no longer defines struct
|
|
|
|
|
exception, or the macros X_TLOSS, DOMAIN, SING, OVERFLOW, UNDERFLOW,
|
|
|
|
|
TLOSS, PLOSS and HUGE.
|
|
|
|
|
|
2017-09-01 21:13:18 +00:00
|
|
|
|
* The libm functions pow10, pow10f and pow10l are no longer supported for
|
|
|
|
|
new programs. Programs should use the standard names exp10, exp10f and
|
|
|
|
|
exp10l for these functions instead.
|
|
|
|
|
|
2017-08-30 22:02:04 +00:00
|
|
|
|
* The mcontext_t type is no longer the same as struct sigcontext. On
|
|
|
|
|
platforms where it was previously the same, this changes the C++ name
|
|
|
|
|
mangling for interfaces involving this type.
|
|
|
|
|
|
Remove add-ons mechanism.
glibc has an add-ons mechanism to allow additional software to be
integrated into the glibc build. Such add-ons may be within the glibc
source tree, or outside it at a path passed to the --enable-add-ons
configure option.
localedata and crypt were once add-ons, distributed in separate
release tarballs, but long since stopped using that mechanism.
Linuxthreads was always an add-on. Ports spent some time as an add-on
with separate release tarballs, then was first moved into the glibc
source tree, then had its sysdeps files moved into the main sysdeps
hierarchy so the add-ons mechanism was no longer used. NPTL spent
some time as an add-on in the main glibc tree before stopping using
the add-on mechanism. libidn used to have separate release tarballs
but no longer does so, but still uses the add-ons mechanism within the
glibc source tree. Various other software has supported building with
the add-ons mechanism at times in the past, but I don't think any is
still widely used.
Add-ons involve significant, little-used complexity in the glibc build
system, and make it hard to understand what the space of possible
glibc configurations is. This patch removes the add-ons mechanism.
libidn is now built via the Subdirs mechanism to cause any
configuration using sysdeps/unix/inet to build libidn; HAVE_LIBIDN
(which effectively means shared libraries are available) is now
defined via sysdeps/unix/inet/configure. Various references to
add-ons around the source tree are removed (in the case of maint.texi,
the example list of sysdeps directories is still very out of date).
Externally maintained ports should now put their files in the normal
sysdeps directory structure rather than being arranged as add-ons;
they probably need to change e.g. elf.h anyway, rather than actually
being able to work just as a drop-in subtree. Hurd libpthread should
be arranged similarly to NPTL, so some files might go in a
hurd-pthreads (or similar) top-level directory in glibc, while sysdeps
files should go in the normal sysdeps directory structure (possibly in
hurd or hurd-pthreads subdirectories, just as there are nptl
subdirectories in the sysdeps tree).
Tested for x86_64, and with build-many-glibcs.py.
* configure.ac (--enable-add-ons): Remove option.
(machine): Do not mention add-ons in comment.
(LIBC_PRECONFIGURE): Likewise.
(add_ons): Remove variable and sanity checks and logic to locate
add-ons.
(add_ons_automatic): Remove variable.
(configured_add_ons): Likewise.
(add_ons_sfx): Likewise.
(add_ons_pfx): Likewise.
(add_on_subdirs): Likewise.
(sysnames_add_ons): Likewise. Remove loop over add-ons and
consideration of add-ons in Implies handling.
(sysdeps_add_ons): Likewise.
* configure: Regenerated.
* libidn/configure.ac: Remove.
* libidn/configure: Likewise.
* sysdeps/unix/inet/configure.ac: New file.
* sysdeps/unix/inet/configure: New generated file.
* sysdeps/unix/inet/Subdirs: Add libidn.
* Makeconfig (sysdeps-srcdirs): Remove variable.
(+sysdep_dirs): Do not include $(sysdeps-srcdirs).
($(common-objpfx)config.status): Do not depend on add-on files.
($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
comment.
(all-subdirs): Do not include $(add-on-subdirs).
* Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
* config.make.in (add-ons): Remove variable.
(add-on-subdirs): Likewise.
(sysdeps-add-ons): Likewise.
* manual/Makefile (add-chapters): Remove.
($(objpfx)texis): Do not depend on $(add-chapters).
(nonexamples): Do not handle $(add-chapters).
(examples): Do not handle $(add-ons).
(chapters.% top-menu.%): Do not pass '$(add-chapters)' to
libc-texinfo.sh.
* manual/install.texi (Installation): Do not mention add-ons.
(--enable-add-ons): Do not document configure option.
* INSTALL: Regenerated.
* manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
* manual/maint.texi (Hierarchy Conventions): Do not mention
add-ons.
* scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
--enable-add-ons.
* scripts/gen-sorted.awk: Do not handle Subdirs files from
add-ons.
* scripts/test-installation.pl: Do not handle glibc-compat add-on.
* sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
2017-10-05 15:58:13 +00:00
|
|
|
|
* The add-ons mechanism for building additional packages at the same time as
|
|
|
|
|
glibc has been removed. The --enable-add-ons configure option is now
|
|
|
|
|
ignored.
|
|
|
|
|
|
Remove --with-fp / --without-fp.
There is a configure option --without-fp that specifies that nofpu
sysdeps directories should be used instead of fpu directories.
For most glibc configurations, this option is of no use: either there
is no valid nofpu variant of that configuration, or there are no fpu
or nofpu sysdeps directories for that processor and so the option does
nothing. For a few configurations, if you are using a soft-float
compiler this option is required, and failing to use it generally
results in compilation errors from inline asm using unavailable
floating-point instructions.
We're moving away from --with-cpu to configuring glibc based on how
the compiler generates code, and it is natural to do so for
--without-fp as well; in most cases the soft-float and hard-float ABIs
are incompatible so you have no hope of building a working glibc with
an inappropriately configured compiler or libgcc.
This patch eliminates --without-fp, replacing it entirely by automatic
configuration based on the compiler. Configurations for which this is
relevant (coldfire / mips / powerpc32 / sh) define a variable
with_fp_cond in their preconfigure fragments (under the same
conditions under which those fragments do anything); this is a
preprocessor conditional which the toplevel configure script then uses
in a test to determine which sysdeps directories to use.
The config.make with-fp variable remains. It's used only by powerpc
(sysdeps/powerpc/powerpc32/Makefile) to add -mhard-float to various
flags variables. For powerpc, -mcpu= options can imply use of
soft-float. That could be an issue if you want to build for
e.g. 476fp, but are using --with-cpu=476 because there isn't a 476fp
sysdeps directory. If in future we eliminate --with-cpu and replace
it entirely by testing the compiler, it would be natural at that point
to eliminate that code as well (as the user should then just use a
compiler defaulting to 476fp and the 476 sysdeps directory would be
used automatically).
Tested for x86_64, and tested with build-many-glibcs.py that installed
shared libraries are unchanged by this patch.
* configure.ac (--with-fp): Remove configure option.
(with_fp_cond): New variable.
(libc_cv_with_fp): New configure test. Use this variable instead
of with_fp.
* configure: Regenerated.
* config.make.in (with-fp): Use @libc_cv_with_fp@.
* manual/install.texi (Configuring and compiling): Remove
--without-fp.
* INSTALL: Regenerated.
* sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
* sysdeps/mips/preconfigure (with_fp_cond): Define.
* sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
* sysdeps/sh/preconfigure (with_fp_cond): Define.
* scripts/build-many-glibcs.py (Context.add_all_configs): Do not
use --without-fp to configure glibc.
2017-12-12 13:56:47 +00:00
|
|
|
|
* The --without-fp configure option is now ignored. Whether hardware
|
|
|
|
|
floating-point instructions are used is now configured based on whether
|
|
|
|
|
the compiler used at configure time (without any options implied by a
|
|
|
|
|
--with-cpu= configure option) uses such instructions.
|
|
|
|
|
|
2017-11-11 10:51:08 +00:00
|
|
|
|
* The res_hnok, res_dnok, res_mailok and res_ownok functions now check that
|
|
|
|
|
the specified string can be parsed as a domain name.
|
|
|
|
|
|
2017-11-15 10:40:41 +00:00
|
|
|
|
* In the malloc_info output, the <heap> element may contain another <aspace>
|
|
|
|
|
element, "subheaps", which contains the number of sub-heaps.
|
|
|
|
|
|
Obsolete p_secstodate.
This patch, relative to a tree with
<https://sourceware.org/ml/libc-alpha/2017-11/msg00797.html> (pending
review) applied, obsoletes p_secstodate, making the underlying
function __p_secstodate into a compat symbol not available for new
binaries or ports. The calls in ns_print.c (part of incomplete
handling of TKEY) are changed to use %lu to print times instead of
trying to pretty-print the times any more.
Tested for x86_64.
* resolv/res_debug.c (p_secstodate): Condition definition on
[SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
directly as __p_secstodate, and as a compat symbol. Do not use
libresolv_hidden_def.
* resolv/resolv.h (p_secstodate): Remove macro and function
declaration.
* resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
using p_secstodate.
* include/resolv.h (__p_secstodate): Do not use
libresolv_hidden_proto.
* resolv/Makefile (tests): Move tst-p_secstodate to ....
(tests-internal): ... here.
* resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
and declare and use __p_secstodate and use compat_symbol_reference
in that case.
[!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
implementation returning 77.
2017-11-22 22:21:10 +00:00
|
|
|
|
* The libresolv function p_secstodate is no longer supported for new
|
|
|
|
|
programs.
|
|
|
|
|
|
Remove tilepro-*-linux-gnu support
As from previous discussions [1] this patch removes tileprox-*-linux-gnu
support from GLIBC. This patch is a straigthfoward one, which just remove
tilepro specific implementation and configurations (no sysdep simplfication
or reorganization is done).
* README: Remove tilepro-*-linux-gnu from supported architecture.
* scripts/build-many-glibcs.py: Likewise.
* sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
* sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
* sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
elf_machine_matches_host, elf_machine_dynamic,
elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
howto, elf_machine_rela): Likewise
* sysdeps/tile/dl-start.S (_start): Likewise.
* sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
* sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
* sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
* sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
* sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
Likewise.
* sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
* sysdeps/tile/preconfigure: Likewise.
* sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
POINTER_CHK_GUARD): Likewise.
* sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
* sysdeps/tile/start.S (_start): Likewise.
* sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
Likewise.
* sysdeps/tile/sysdep.h (REGSIZE): Likewise.
(LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
CMOVNEZ): Remove.
* sysdeps/unix/sysv/linux/tile/bits/environments.h
(__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
__ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
Likewise.
* sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
* sysdeps/tile/tilepro/Implies: Remove file.
* sysdeps/tile/tilepro/atomic-machine.h: Likewise.
* sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
* sysdeps/tile/tilepro/memchr.c: Likewise.
* sysdeps/tile/tilepro/memcpy.S: Likewise.
* sysdeps/tile/tilepro/memset.c: Likewise.
* sysdeps/tile/tilepro/memusage.h: Likewise.
* sysdeps/tile/tilepro/rawmemchr.c: Likewise.
* sysdeps/tile/tilepro/strchr.c: Likewise.
* sysdeps/tile/tilepro/strchrnul.c: Likewise.
* sysdeps/tile/tilepro/strlen.c: Likewise.
* sysdeps/tile/tilepro/strrchr.c: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
* sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
* sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
tilepro mention in comment.
[1] https://sourceware.org/ml/libc-alpha/2017-12/msg00038.html
2017-12-12 21:15:45 +00:00
|
|
|
|
* The tilepro-*-linux-gnu configuration is no longer supported.
|
|
|
|
|
|
Deprecate external use of libio.h and _G_config.h.
libio.h was originally the header for a set of supported GNU
extensions, but they have not been maintained as such in many years,
they are now standing in the way of improvements to stdio, and we
don't think there are any remaining external users. _G_config.h was
never intended for public use, but predates the bits convention.
Move both of these headers into the bits directory and provide stubs
at top level which issue deprecation warnings.
The contents of (bits/)libio.h and (bits/)_G_config.h are still
exposed to external software via stdio.h; changing that requires more
complex surgery than I have time to attempt right now.
* libio/libio.h, libio/_G_config.h: New stub headers which issue a
deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
respectively.
* libio/libio.h: Rename the original version of this file to
libio/bits/libio.h. Error out if not included by stdio.h or the
stub libio.h.
* include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
* sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
if not included by bits/libio.h or the stub _G_config.h.
* sysdeps/unix/sysv/linux/_G_config.h: Move to
sysdeps/unix/sysv/linux/bits. Error out if not included by
bits/libio.h or the stub _G_config.h.
* libio/stdio.h: Include bits/libio.h, not libio.h.
* libio/Makefile: Install bits/libio.h and bits/_G_config.h as
well as libio.h and _G_config.h.
* csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
* libio/strfile.h, stdio-common/vfscanf.c
* sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
Include stdio.h, not _G_config.h nor libio.h.
* libio/iofgetpos.c: Also rename fgetpos64 out of the way.
* libio/iofsetpos.c: Also rename fsetpos64 out of the way.
* scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
2017-12-23 05:06:03 +00:00
|
|
|
|
* The nonstandard header files <libio.h> and <_G_config.h> are deprecated
|
|
|
|
|
and will be removed in a future release. Software that is still using
|
|
|
|
|
either header should be updated to use standard <stdio.h> interfaces
|
|
|
|
|
instead.
|
|
|
|
|
|
|
|
|
|
libio.h was originally the header for a set of supported GNU extensions,
|
|
|
|
|
but they have not been maintained as such in many years, they are now
|
|
|
|
|
standing in the way of improvements to stdio, and we don't think there are
|
|
|
|
|
any remaining external users. _G_config.h was never intended for public
|
|
|
|
|
use, but predates the bits convention.
|
|
|
|
|
|
2017-08-02 13:53:16 +00:00
|
|
|
|
Changes to build and runtime requirements:
|
|
|
|
|
|
2017-11-30 21:21:15 +00:00
|
|
|
|
* bison version 2.7 or later is required to generate code in the 'intl'
|
|
|
|
|
subdirectory.
|
2017-08-02 13:53:16 +00:00
|
|
|
|
|
|
|
|
|
Security related changes:
|
|
|
|
|
|
2017-08-16 14:47:20 +00:00
|
|
|
|
CVE-2009-5064: The ldd script would sometimes run the program under
|
|
|
|
|
examination directly, without preventing code execution through the
|
|
|
|
|
dynamic linker. (The glibc project disputes that this is a security
|
|
|
|
|
vulnerability; only trusted binaries must be examined using the ldd
|
|
|
|
|
script.)
|
2017-08-02 13:53:16 +00:00
|
|
|
|
|
2017-10-20 17:28:44 +00:00
|
|
|
|
CVE-2017-15670: The glob function, when invoked with GLOB_TILDE,
|
|
|
|
|
suffered from a one-byte overflow during ~ operator processing (either
|
|
|
|
|
on the stack or the heap, depending on the length of the user name).
|
|
|
|
|
Reported by Tim Rühsen.
|
2017-10-20 16:41:14 +00:00
|
|
|
|
|
2017-10-22 07:29:52 +00:00
|
|
|
|
CVE-2017-15671: The glob function, when invoked with GLOB_TILDE,
|
|
|
|
|
would sometimes fail to free memory allocated during ~ operator
|
|
|
|
|
processing, leading to a memory leak and, potentially, to a denial
|
|
|
|
|
of service.
|
|
|
|
|
|
2017-12-01 20:53:51 +00:00
|
|
|
|
CVE-2017-15804: The glob function, when invoked with GLOB_TILDE and
|
|
|
|
|
without GLOB_NOESCAPE, could write past the end of a buffer while
|
2017-10-22 08:00:57 +00:00
|
|
|
|
unescaping user names. Reported by Tim Rühsen.
|
|
|
|
|
|
2017-12-06 06:39:25 +00:00
|
|
|
|
CVE-2017-17426: The malloc function, when called with an object size near
|
|
|
|
|
the value SIZE_MAX, would return a pointer to a buffer which is too small,
|
|
|
|
|
instead of NULL. This was a regression introduced with the new malloc
|
|
|
|
|
thread cache in glibc 2.26. Reported by Iain Buclaw.
|
|
|
|
|
|
2017-12-14 14:18:38 +00:00
|
|
|
|
CVE-2017-1000408: Incorrect array size computation in _dl_init_paths leads
|
|
|
|
|
to the allocation of too much memory. (This is not a security bug per se,
|
|
|
|
|
it is mentioned here only because of the CVE assignment.) Reported by
|
|
|
|
|
Qualys.
|
|
|
|
|
|
2017-12-14 14:05:57 +00:00
|
|
|
|
CVE-2017-1000409: Buffer overflow in _dl_init_paths due to miscomputation
|
|
|
|
|
of the number of search path components. (This is not a security
|
|
|
|
|
vulnerability per se because no trust boundary is crossed if the fix for
|
|
|
|
|
CVE-2017-1000366 has been applied, but it is mentioned here only because
|
|
|
|
|
of the CVE assignment.) Reported by Qualys.
|
|
|
|
|
|
2017-12-30 09:54:23 +00:00
|
|
|
|
CVE-2017-16997: Incorrect handling of RPATH or RUNPATH containing $ORIGIN
|
|
|
|
|
for AT_SECURE or SUID binaries could be used to load libraries from the
|
|
|
|
|
current directory.
|
|
|
|
|
|
2018-01-07 02:03:41 +00:00
|
|
|
|
CVE-2018-1000001: Buffer underflow in realpath function when getcwd function
|
|
|
|
|
succeeds without returning an absolute path due to unexpected behaviour
|
|
|
|
|
of the Linux kernel getcwd syscall. Reported by halfdog.
|
|
|
|
|
|
2018-02-01 14:00:44 +00:00
|
|
|
|
CVE-2018-6485: The posix_memalign and memalign functions, when called with
|
|
|
|
|
an object size near the value of SIZE_MAX, would return a pointer to a
|
|
|
|
|
buffer which is too small, instead of NULL. Reported by Jakub Wilk.
|
|
|
|
|
|
2018-02-06 08:19:03 +00:00
|
|
|
|
CVE-2018-6551: The malloc function, when called with an object size near
|
|
|
|
|
the value of SIZE_MAX, would return a pointer to a buffer which is too
|
|
|
|
|
small, instead of NULL.
|
|
|
|
|
|
2017-08-02 13:53:16 +00:00
|
|
|
|
The following bugs are resolved with this release:
|
|
|
|
|
|
2018-02-01 16:17:18 +00:00
|
|
|
|
[866] glob: glob should match dangling symlinks
|
|
|
|
|
[1062] glob: sysdeps/generic/glob.c merge from gnulib (part 3 of 3)
|
|
|
|
|
[2522] localedata: ca_ES@valencia: new Valencian (meridional Catalan)
|
|
|
|
|
locale
|
|
|
|
|
[5997] math: Very slow execution of sinf function
|
|
|
|
|
[10580] localedata: hr_HR: updated locale
|
|
|
|
|
[10871] locale: 'mon' array should contain both nominative and genitive
|
|
|
|
|
cases
|
|
|
|
|
[12349] localedata: eu_ES: incorrect thousands separator
|
|
|
|
|
[13605] localedata: shn_MM: new Shan locale
|
|
|
|
|
[13805] localedata: ru_RU: currency should use ',' as radix point
|
|
|
|
|
[13953] localedata: km_KH: locale update
|
|
|
|
|
[13994] localedata: mjw_IN: new locale
|
|
|
|
|
[14121] build: make writes .mo files in po directory
|
|
|
|
|
[14333] libc: Fix the race between atexit() and exit()
|
|
|
|
|
[14681] dynamic-link: _dl_get_origin leaks memory via executable link map.
|
|
|
|
|
[14925] localedata: bn_*: LC_IDENTIFICATION.language key should be
|
|
|
|
|
"Bangla"
|
|
|
|
|
[15260] localedata: LC_MESSAGES.{yes,no}{str,expr}: various errors
|
|
|
|
|
[15261] localedata: LC_MESSAGES.yesexpr/noexpr: inconsistent use of full-
|
|
|
|
|
width Latin characters
|
|
|
|
|
[15332] localedata: es_CU: locale update
|
|
|
|
|
[15436] stdio: Don't close or flush stdio streams on abort
|
|
|
|
|
[15537] localedata: lv_LV: invalid collation for Latvian diacritical
|
|
|
|
|
letters
|
|
|
|
|
[16148] localedata: ca_ES: incorrect thousands separator
|
|
|
|
|
[16750] dynamic-link: ldd should not try to execute the binaries
|
|
|
|
|
(CVE-2009-5064)
|
|
|
|
|
[16777] localedata: pl_PL: incorrect thousands separator in locale
|
|
|
|
|
[16905] localedata: hanzi: new collation
|
|
|
|
|
[17563] localedata: cmn_TW: add hanzi collation
|
|
|
|
|
[17750] localedata: wrong collation order of diacritics in most locales
|
|
|
|
|
[17804] libc: scandirat fails with ENOMEM because it checks for errno even
|
|
|
|
|
if malloc succeeded
|
|
|
|
|
[17956] build: Build fails on missing definitions from header file
|
|
|
|
|
nss/nss.h when Mozilla NSS is used for cryptography
|
|
|
|
|
[18203] libc: realpath() does not handle unreachable paths correctly
|
|
|
|
|
[18572] dynamic-link: [arm] Lazy TLSDESC relocation has data race
|
|
|
|
|
[18812] localedata: kab_DZ: new Kabyle Algeria locale
|
|
|
|
|
[18822] libc: Internal functions are called via PLT
|
|
|
|
|
[18858] string: _HAVE_STRING_ARCH_xxx aren't defined for i386 nor x86_64
|
|
|
|
|
[19170] libc: __gmon_start__ defined in hppa in crtn.S
|
|
|
|
|
[19574] libc: glibc should support building static PIE binaries
|
|
|
|
|
[19852] localedata: charmaps/UTF-8: incorrect wcwidth for U+3099 and
|
|
|
|
|
U+309A
|
|
|
|
|
[19971] glob: glob: Do not skip entries with zero d_ino values
|
|
|
|
|
[19982] localedata: fr.po: spelling mistake for error code EXDEV
|
|
|
|
|
[20008] localedata: km_KH: convert to translit_neutral
|
|
|
|
|
[20009] localedata: tr_TR: convert LC_CTYPE to i18n
|
|
|
|
|
[20142] math: [x86_64] Add SSE4.1 trunc, truncf
|
|
|
|
|
[20204] dynamic-link: _dl_open_hook and _dlfcn_hook hardening
|
|
|
|
|
[20482] localedata: de_CH: abbreviated weekdays should be two letters
|
|
|
|
|
[20498] localedata: miq_NI: new Mískitu / Miskito (miq) language locale
|
|
|
|
|
for Nicaragua
|
|
|
|
|
[20532] nss: getaddrinfo uses errno and h_errno without guaranteeing
|
|
|
|
|
they're set, wrong errors returned by gaih_inet when lookup functions
|
|
|
|
|
are not found.
|
|
|
|
|
[20756] localedata: [PATCH] Use Unicode wise thousands separator
|
|
|
|
|
[20826] network: posix/tst-getaddrinfo5 fails on hosts without network
|
|
|
|
|
access
|
|
|
|
|
[20952] localedata: yuw_PG: new locale
|
|
|
|
|
[21084] localedata: charmaps/IBM858: new codepage
|
|
|
|
|
[21161] manual: [PATCH] fix typo in manual/arith.texi on strtoul prototype
|
|
|
|
|
[21242] libc: assert gives pedantic warning in old gcc versions
|
|
|
|
|
[21265] dynamic-link: _dl_runtime_resolve isn't compatible with Intel C++
|
|
|
|
|
__regcall calling convention
|
|
|
|
|
[21309] math: signed integer overflow in sysdeps/ieee754/dbl-64/e_pow.c
|
|
|
|
|
[21326] libc: C99 functions are not declared for C++11 and later if
|
|
|
|
|
_GNU_SOURCE is not predefined by g++
|
|
|
|
|
[21457] libc: sys/ucontext.h namespace
|
|
|
|
|
[21530] libc: tmpfile() should be implemented using O_TMPFILE
|
|
|
|
|
[21660] math: GCC fails to compile a formula with tgmath.h
|
|
|
|
|
[21672] nptl: sys-libs/glibc on ia64 crashes on thread exit: signal
|
|
|
|
|
SIGSEGV, Segmentation fault: pthread_create.c:432: __madvise
|
|
|
|
|
(pd->stackblock, freesize - PTHREAD_STACK_MIN, MADV_DONTNEED);
|
|
|
|
|
[21684] math: tgmath.h handling of complex integers
|
|
|
|
|
[21685] math: tgmath.h handling of bit-fields
|
|
|
|
|
[21686] math: tgmath.h handling of __int128
|
|
|
|
|
[21706] localedata: yesstr and nostr are missing for Breton [LC_MESSAGES]
|
|
|
|
|
locale
|
|
|
|
|
[21745] libc: [powerpc64le] Extra PLT reference with --enable-stack-
|
|
|
|
|
protector=all
|
|
|
|
|
[21750] localedata: column width of characters incompatible with classical
|
|
|
|
|
wcwidth
|
|
|
|
|
[21754] malloc: malloc: Perform as little work as possible after heap
|
|
|
|
|
consistency check failures
|
|
|
|
|
[21780] libc: hppa: p{read,write}v2 does not set ENOSUP on invalid flag
|
|
|
|
|
[21790] libc: Missing __memset_zero_constant_len_parameter in libc.so
|
|
|
|
|
[21791] string: Unused XXX_chk_XXX functions in libc.a
|
|
|
|
|
[21815] dynamic-link: FAIL: elf/tst-prelink-cmp with GCC is defaulted to
|
|
|
|
|
PIE
|
|
|
|
|
[21836] localedata: Removed redundant data (LC_MONETARY) in various Indian
|
|
|
|
|
locales
|
|
|
|
|
[21845] localedata: Added new Locale bho_NP
|
|
|
|
|
[21853] localedata: Fix abday Which looks same as day in zh_SG
|
|
|
|
|
[21854] localedata: Added New Locale en_SC
|
|
|
|
|
[21864] libc: xmalloc.o is compiled with -DMODULE_NAME=libc
|
|
|
|
|
[21871] dynamic-link: _dl_runtime_resolve_avx_opt is slower than
|
|
|
|
|
_dl_runtime_resolve_avx_slow
|
|
|
|
|
[21885] network: getaddrinfo: gethosts does not release resolver context
|
|
|
|
|
on memory allocation failure
|
|
|
|
|
[21899] libc: XPG4.2 sigaction namespace
|
|
|
|
|
[21908] dynamic-link: dynamic linker broke on ia64 (mmap2 consolidation is
|
|
|
|
|
the suspect)
|
|
|
|
|
[21913] libc: static binaries SIGSEGV in __brk when host's gcc is pie-by-
|
|
|
|
|
default (i386)
|
|
|
|
|
[21915] nss: nss_files can return with NSS_STATUS_SUCCESS and a clobbered
|
|
|
|
|
errno value, causing getaddrinfo to fail
|
|
|
|
|
[21920] localedata: Fix p_cs_precedes/n_cs_precedes for mt_MT
|
|
|
|
|
[21922] network: getaddrinfo with AF_INET/AF_INET6 returns EAI_NONAME
|
|
|
|
|
instead of EAI_NODATA
|
|
|
|
|
[21928] libc: sys/ptrace.h: remove obsolete temporary development Linux
|
|
|
|
|
constant PTRACE_SEIZE_DEVEL
|
|
|
|
|
[21930] math: C-only gcc builtins used in <math.h> isinf
|
|
|
|
|
[21932] network: Unpaired __resolv_context_get in generic get*_r
|
|
|
|
|
implementation
|
|
|
|
|
[21941] math: powerpc: Wrong register constraint for xssqrtqp in sqrtf128
|
|
|
|
|
[21944] libc: sigval namespace
|
|
|
|
|
[21951] localedata: Update hanzi collation by stroke
|
|
|
|
|
[21955] math: Wrong alignment of L(SP_RANGE)/L(SP_INF_0) in
|
|
|
|
|
sysdeps/x86_64/fpu/e_expf.S
|
|
|
|
|
[21956] libc: Stack allocation in MIPS syscall impl (ubounded stack
|
|
|
|
|
allocation in syscall loops)
|
|
|
|
|
[21959] localedata: Fix Country name for xh_ZA
|
|
|
|
|
[21960] localedata: Fix abmon for bem_ZM
|
|
|
|
|
[21966] math: AVX2 mathvec functions use FMA without checking
|
|
|
|
|
[21967] math: When 512-bit AVX2 wrapper functions in mathvec are used?
|
|
|
|
|
[21971] localedata: Added New Locale for mfe_MU
|
|
|
|
|
[21972] libc: assert macro requires operator== (int) for its argument type
|
|
|
|
|
[21973] math: [sparc] libm missing sqrtl compat symbol
|
|
|
|
|
[21974] libc: Remove __bb_init_func and __bb_exit_func
|
|
|
|
|
[21982] string: stratcliff.c: error: assuming signed overflow does not
|
|
|
|
|
occur with -O3
|
|
|
|
|
[21986] stdio: __guess_grouping is called incorrectly
|
|
|
|
|
[21987] math: [sparc32] wrong bits/long-double.h installed
|
|
|
|
|
[22019] localedata: Wrong placement of monetary symbol in el_GR (negative
|
|
|
|
|
amounts)
|
|
|
|
|
[22022] localedata: Missing country_name for mni_IN
|
|
|
|
|
[22023] localedata: Removed redundant data (LC_TIME and LC_MESSAGES) for
|
|
|
|
|
niu_NZ
|
|
|
|
|
[22025] locale: iconv: Inconsistency between pointer mangling and NULL
|
|
|
|
|
checks
|
|
|
|
|
[22026] locale: iconv_open: heap overflow on gconv_init failure
|
|
|
|
|
[22028] math: bits/math-finite.h _MSUF_ expansion namespace
|
|
|
|
|
[22035] math: [m68k] bits/math-inline.h macro namespace
|
|
|
|
|
[22038] localedata: Fix abbreviated weeks and months for Somali
|
|
|
|
|
[22044] localedata: Remove redundant data for Limburgish Language
|
|
|
|
|
[22050] malloc: Linking with -lmcheck does not hook
|
|
|
|
|
__malloc_initialize_hook correctly
|
|
|
|
|
[22051] libc: zero terminator in the middle of glibc's .eh_frame
|
|
|
|
|
[22052] malloc: malloc failed to compile with GCC 7 and -O3
|
|
|
|
|
[22070] localedata: charmaps/UTF-8: wcwidth for
|
|
|
|
|
Prepended_Concatenation_Mark codepoints set to 0 (should be 1)
|
|
|
|
|
[22074] localedata: charmaps/UTF-8: wcwidth for U+1160-U+11FF (Hangul
|
|
|
|
|
Jungseong and Jongseong) should be 0
|
|
|
|
|
[22078] nss: nss_files performance issue in multi mode
|
|
|
|
|
[22082] math: bits/math-finite.h exp10 condition
|
|
|
|
|
[22086] libc: pcprofiledump incorrect cross-endian condition
|
|
|
|
|
[22093] dynamic-link: ld.so no longer searches in .../x86_64
|
|
|
|
|
[22095] network: Name server address allocation memory leak in resolv.conf
|
|
|
|
|
parsing after OOM
|
|
|
|
|
[22096] network: __resolv_conf_attach can incorrectly free passed conf
|
|
|
|
|
object
|
|
|
|
|
[22100] localedata: om_KE: LC_TIME: copy redundant data from om_ET
|
|
|
|
|
[22101] dynamic-link: Dynamic loader must ignore "debug" shared objects
|
|
|
|
|
e.g. ET_GNU_DEBUG_*
|
|
|
|
|
[22111] malloc: malloc: per thread cache is not returned when thread exits
|
|
|
|
|
[22112] localedata: Fix LC_TELEPHONE/LC_NAME for az_AZ
|
|
|
|
|
[22134] libc: [linux] implement fexecve with execveat
|
2020-11-02 07:53:13 +00:00
|
|
|
|
[22142] libc: [powerpc] printf outputs a wrong value of DBL_MAX on ppc64 and
|
2018-02-01 16:17:18 +00:00
|
|
|
|
ppc64le
|
|
|
|
|
[22145] libc: ttyname() gives up too early in the face of namespaces
|
|
|
|
|
[22146] math: C++ build issue with float128 on x86_64
|
|
|
|
|
[22153] nptl: nptl: save error code before process termination
|
|
|
|
|
[22156] libc: [hppa,ia64,microblaze] Executable stack default
|
|
|
|
|
[22159] malloc: malloc: MALLOC_CHECK_ broken with --enable-tunables=no
|
|
|
|
|
[22161] nscd: nscd cache prune for netgroups hangs after timeout bump
|
|
|
|
|
[22165] libc: [hppa] Text relocations in libc.so
|
|
|
|
|
[22180] libc: destructor registered via __cxa_atexit is called twice
|
|
|
|
|
[22183] glob: commit 5554304f0ddd ("posix: Allow glob to match dangling
|
|
|
|
|
symlinks") cause "make" segfaults
|
|
|
|
|
[22189] math: [powerpc] math_private.h definitions of math_opt_barrier and
|
|
|
|
|
math_force_eval
|
|
|
|
|
[22207] libc: FAIL: stdlib/test-atexit-race
|
|
|
|
|
[22225] math: nearbyint arithmetic moved before feholdexcept
|
|
|
|
|
[22229] math: [sparc32] missing copysignl, fabsl, fmal compat symbols
|
|
|
|
|
[22235] math: iscanonical in C++ and float128
|
|
|
|
|
[22243] math: log2(0) and log10(0) are wrong in downward rounding without
|
|
|
|
|
the svid compat wrapper
|
|
|
|
|
[22244] math: ynf and yn are wrong without the svid compat wrapper
|
|
|
|
|
[22273] libc: Improper assert in Linux posix_spawn implementation
|
|
|
|
|
[22284] libc: -pg -pie doesn't work
|
|
|
|
|
[22292] locale: localedef exits with error 4 when it should be error 1
|
|
|
|
|
[22294] locale: Allow "" for int_currency_symbol definition in locales.
|
|
|
|
|
[22295] locale: Don't warn on non-symbolic characters in locale sources in
|
|
|
|
|
--verbose.
|
|
|
|
|
[22296] math: glibc 2.26: signbit build issue with Gcc 5.5.0 on x86_64
|
|
|
|
|
[22298] nptl: x32: lockups on recursive pthread_mutex_lock after upgrade
|
|
|
|
|
to 2.26
|
|
|
|
|
[22299] dynamic-link: Problem with $PLATFORM on x86_64 platform
|
|
|
|
|
[22320] glob: Buffer overflow in glob with GLOB_TILDE (CVE-2017-15670)
|
|
|
|
|
[22321] libc: sysconf(_SC_IOV_MAX) returns -1 on Linux
|
|
|
|
|
[22322] libc: [mips64] wrong bits/long-double.h installed
|
|
|
|
|
[22325] glob: Memory leak in glob with GLOB_TILDE (CVE-2017-15671)
|
|
|
|
|
[22332] glob: Buffer overflow in glob with GLOB_TILDE in unescaping
|
|
|
|
|
(CVE-2017-15804)
|
|
|
|
|
[22336] localedata: cs_CZ LC_COLLATE does not use i18n
|
|
|
|
|
[22343] malloc: Integer overflow in posix_memalign
|
|
|
|
|
[22347] libc: getrandom() returns the number of bytes that were copied to
|
|
|
|
|
the buffer even though the comments say "Return 0 on success and -1 on
|
|
|
|
|
failure."
|
|
|
|
|
[22353] string: sysdeps/i386/i586/strcpy.S isn't maintainable
|
|
|
|
|
[22362] libc: Installed crt1.o, crti,.o and crtn.o files are used with
|
|
|
|
|
-m32
|
|
|
|
|
[22370] dynamic-link: Incorrect note padding check
|
|
|
|
|
[22375] libc: malloc returns pointer from tcache_get when should return
|
|
|
|
|
NULL (CVE-2017-17426)
|
|
|
|
|
[22377] math: iseqsig, float128 and C++
|
|
|
|
|
[22382] localedata: Error in tpi_PG locale
|
|
|
|
|
[22387] localedata: Replace unicode sequences <Uxxxx> for characters
|
|
|
|
|
inside the ASCII printable range
|
|
|
|
|
[22402] math: [powerpc64le] __MATH_TG does not support _Float128 for
|
|
|
|
|
-mlong-double-64
|
|
|
|
|
[22403] localedata: Slash needs escaping in some locales
|
|
|
|
|
[22408] malloc: malloc_info access heaps without arena lock, ignores heaps
|
|
|
|
|
[22409] network: res_hnok does not accept some host names used on the
|
|
|
|
|
Internet
|
|
|
|
|
[22412] network: res_dnok, res_hnok should perform syntax checks
|
|
|
|
|
[22413] network: ns_name_pton ignores syntactically invalid trailing
|
|
|
|
|
backslash
|
|
|
|
|
[22415] stdio: setvbuf can lead to invalid free/segfault
|
|
|
|
|
[22432] build: Non-deterministic build
|
|
|
|
|
[22439] malloc: malloc_info should compute summary statistics for all sub-
|
|
|
|
|
heaps in an arena
|
|
|
|
|
[22442] network: if_nametoindex could report index for the wrong
|
|
|
|
|
networking interface
|
|
|
|
|
[22446] build: aliasing violation calling readlink in handle_request
|
|
|
|
|
[22447] build: unsafe call to strlen with a non-string in getlogin_r.c
|
|
|
|
|
[22457] libc: Generic preadv/pwritev incorrectly calls __posix_memalign
|
|
|
|
|
[22459] libc: FAIL: elf/check-localplt with __stack_chk_fail related to
|
|
|
|
|
__nscd_hash/__nss_hash
|
|
|
|
|
[22463] network: p_secstodate overflow handling
|
|
|
|
|
[22469] localedata: pl_PL LC_COLLATE does not use i18n
|
|
|
|
|
[22478] libc: sigwait can fail with EINTR
|
|
|
|
|
[22505] libc: ldconfig processes include directive in locale-specific
|
|
|
|
|
order
|
|
|
|
|
[22515] localedata: hsb_DE LC_COLLATE does not use copy "iso14651_t1"
|
|
|
|
|
[22517] localedata: et_EE LC_COLLATE does not use copy "iso14651_t1"
|
|
|
|
|
[22519] localedata: is_IS LC_COLLATE does not use copy "iso14651_t1"
|
|
|
|
|
[22524] localedata: lt_LT LC_COLLATE does not use copy "iso14651_t1"
|
|
|
|
|
[22527] localedata: tr_TR LC_COLLATE does not use copy "iso14651_t1"
|
|
|
|
|
[22534] localedata: Collation rules for Serbian and Bosnian should be the
|
|
|
|
|
same as for Croatian
|
|
|
|
|
[22561] math: [DR#471] cacosh (0 + iNaN) should return NaN +/- i pi/2
|
|
|
|
|
[22568] math: [DR#471] ctanh (0 + iNaN), ctanh (0 + i Inf)
|
|
|
|
|
[22577] libc: missing newline after "cannot allocate TLS data structures
|
|
|
|
|
for initial thread"
|
|
|
|
|
[22588] manual: manual/conf.texi: missing underscore in front of
|
|
|
|
|
SC_SSIZE_MAX
|
|
|
|
|
[22593] math: nextafter and nexttoward are declared with const attribute
|
|
|
|
|
[22596] manual: manual: finite(nan) wrongly described as returning nonzero
|
|
|
|
|
[22603] string: ia64 memchr overflows internal pointer check
|
|
|
|
|
[22605] libc: SH clone does not set the exit code correctly
|
|
|
|
|
[22606] dynamic-link: Incorrect array size computation in _dl_init_paths
|
|
|
|
|
(CVE-2017-1000408)
|
|
|
|
|
[22607] dynamic-link: Buffer Overflow in _dl_init_paths (CVE-2017-1000409)
|
|
|
|
|
[22611] malloc: malloc/tst-realloc wrongly assumes that errno must not be
|
|
|
|
|
modified in case of success
|
|
|
|
|
[22614] build: gcc: error: unrecognized command line option ‘-no-pie’
|
|
|
|
|
[22615] manual: manual: ambiguous wording about errno value in case of
|
|
|
|
|
success
|
|
|
|
|
[22624] libc: MIPS setjmp() saves incorrect 'o0' register in --enable-
|
|
|
|
|
stack-protector=all
|
|
|
|
|
[22625] dynamic-link: RPATH $ORIGIN replaced by PWD for AT_SECURE/SUID
|
|
|
|
|
binaries or if /proc is not mounted (CVE-2017-16997)
|
|
|
|
|
[22627] dynamic-link: $ORIGIN in $LD_LIBRARY_PATH is substituted twice
|
|
|
|
|
[22630] build: $(no-pie-ldflag) is no longer effective
|
|
|
|
|
[22631] math: [m68k] Bad const attributes in bits/mathinline.h
|
|
|
|
|
[22635] nptl: pthread_self returns NULL before libpthread is loaded
|
|
|
|
|
[22636] nptl: PTHREAD_STACK_MIN is too small on x86-64
|
|
|
|
|
[22637] nptl: guard size is subtracted from thread stack size instead of
|
|
|
|
|
adding it on top
|
|
|
|
|
[22648] libc: getrlimit/setrlimit with RLIM_INFINITY broken on alpha
|
|
|
|
|
[22657] localedata: hu_HU: Avoid double space in date
|
|
|
|
|
[22660] math: fmax, fmin sNaN handling on alpha
|
|
|
|
|
[22664] libc: New warning of GCC8
|
|
|
|
|
[22665] math: alpha: ceil and floor raise inexact exceptions
|
|
|
|
|
[22666] math: alpha: trunc raise inexact exceptions
|
|
|
|
|
[22667] libc: makecontext lacks stack alignment on i386
|
|
|
|
|
[22678] libc: prlimit fails for RLIM_INFINITY values on 32-bit machines
|
|
|
|
|
[22679] libc: getcwd(3) can succeed without returning an absolute path
|
|
|
|
|
(CVE-2018-1000001)
|
|
|
|
|
[22685] libc: PowerPC: Static AT_SECURE binaries segfault with lock-
|
|
|
|
|
elision and tunables
|
|
|
|
|
[22687] math: [powerpc-nofpu] complex long double functions spurious
|
|
|
|
|
"invalid" exception
|
|
|
|
|
[22688] math: [powerpc-nofpu] remainderl wrong sign of zero result
|
|
|
|
|
[22690] math: [ldbl-128ibm] lrintl, lroundl missing "invalid" exceptions
|
|
|
|
|
[22691] math: [powerpc-nofpu] fmaxmagl, fminmagl spurious "invalid"
|
|
|
|
|
exception
|
|
|
|
|
[22693] math: [ldbl-128ibm] log1pl (-qNaN) spurious "invalid" exception
|
|
|
|
|
[22697] math: [powerpc] llround spurious "inexact" exceptions on 32-bit
|
|
|
|
|
power4
|
|
|
|
|
[22701] nis: Incomplete removal of libnsl
|
|
|
|
|
[22702] math: [powerpc-nofpu] nearbyintl traps with trapping "inexact"
|
|
|
|
|
[22707] libc: Missing defines in elf.h for DF_1_STUB and DF_1_PIE.
|
|
|
|
|
[22715] dynamic-link: FAIL: elf/tst-audit10
|
|
|
|
|
[22719] libc: Backtrace tests fail on hppa
|
|
|
|
|
[22742] libc: [aarch64] mcontext_t __reserved field got renamed
|
|
|
|
|
[22743] nptl: __pthread_register_cancel corrupts stack after f81ddabffd
|
|
|
|
|
[22765] crypt: (struct crypt_data *data)->initialized is not set to zero
|
|
|
|
|
before the first call to crypt_r () in crypt/badsalttest.c
|
2017-08-02 13:53:16 +00:00
|
|
|
|
|
2017-02-05 15:57:52 +00:00
|
|
|
|
|
|
|
|
|
Version 2.26
|
|
|
|
|
|
2017-07-05 13:03:00 +00:00
|
|
|
|
Major new features:
|
|
|
|
|
|
2017-07-06 17:37:30 +00:00
|
|
|
|
* A per-thread cache has been added to malloc. Access to the cache requires
|
|
|
|
|
no locks and therefore significantly accelerates the fast path to allocate
|
|
|
|
|
and free small amounts of memory. Refilling an empty cache requires locking
|
|
|
|
|
the underlying arena. Performance measurements show significant gains in a
|
|
|
|
|
wide variety of user workloads. Workloads were captured using a special
|
|
|
|
|
instrumented malloc and analyzed with a malloc simulator. Contributed by
|
|
|
|
|
DJ Delorie with the help of Florian Weimer, and Carlos O'Donell.
|
|
|
|
|
|
2017-05-31 09:10:25 +00:00
|
|
|
|
* Unicode 10.0.0 Support: Character encoding, character type info, and
|
|
|
|
|
transliteration tables are all updated to Unicode 10.0.0, using
|
2017-02-21 11:30:38 +00:00
|
|
|
|
generator scripts contributed by Mike FABIAN (Red Hat).
|
2017-07-26 06:15:01 +00:00
|
|
|
|
These updates cause user visible changes, especially the changes in
|
|
|
|
|
wcwidth for many emoji characters cause problems when emoji sequences
|
|
|
|
|
are rendered with pango, see for example:
|
|
|
|
|
https://bugzilla.gnome.org/show_bug.cgi?id=780669#c5
|
2017-02-05 15:57:52 +00:00
|
|
|
|
|
2017-07-05 13:03:00 +00:00
|
|
|
|
* Collation of Hungarian has been overhauled and is now consistent with "The
|
|
|
|
|
Rules of Hungarian Orthography, 12th edition" (Bug 18934). Contributed by
|
|
|
|
|
Egmont Koblinger.
|
2017-04-07 11:01:21 +00:00
|
|
|
|
|
2017-07-05 13:03:00 +00:00
|
|
|
|
* Improvements to the DNS stub resolver, contributed by Florian Weimer:
|
2017-04-18 09:50:58 +00:00
|
|
|
|
|
2017-07-05 13:46:57 +00:00
|
|
|
|
- The GNU C Library will now detect when /etc/resolv.conf has been
|
|
|
|
|
modified and reload the changed configuration. The new resolver option
|
|
|
|
|
“no-reload” (RES_NORELOAD) disables this behavior.
|
2017-04-21 13:40:56 +00:00
|
|
|
|
|
2017-07-05 13:46:57 +00:00
|
|
|
|
- The GNU C Library now supports an arbitrary number of search domains
|
|
|
|
|
(configured using the “search” directive in /etc/resolv.conf);
|
|
|
|
|
previously, there was a hard limit of six domains. For backward
|
|
|
|
|
compatibility, applications that directly modify the ‘_res’ global
|
|
|
|
|
object are still limited to six search domains.
|
2017-05-08 10:45:20 +00:00
|
|
|
|
|
2017-07-05 13:46:57 +00:00
|
|
|
|
- When the “rotate” (RES_ROTATE) resolver option is active, the GNU C
|
|
|
|
|
Library will now randomly pick a name server from the configuration as a
|
|
|
|
|
starting point. (Previously, the second name server was always used.)
|
2017-05-08 12:59:21 +00:00
|
|
|
|
|
2017-07-05 13:03:00 +00:00
|
|
|
|
* The tunables feature is now enabled by default. This allows users to tweak
|
|
|
|
|
behavior of the GNU C Library using the GLIBC_TUNABLES environment variable.
|
2017-06-20 12:31:18 +00:00
|
|
|
|
|
2017-07-05 13:03:00 +00:00
|
|
|
|
* New function reallocarray, which resizes an allocated block (like realloc)
|
|
|
|
|
to the product of two sizes, with a guaranteed clean failure upon integer
|
|
|
|
|
overflow in the multiplication. Originally from OpenBSD, contributed by
|
|
|
|
|
Dennis Wölfing and Rüdiger Sonderfeld.
|
Rename xlocale.h to bits/types/__locale_t.h.
xlocale.h is already a single-type micro-header, defining struct
__locale_struct and the typedefs __locale_t and locale_t. This patch
brings it into the bits/types/ scheme: there are now
bits/types/__locale_t.h which defines only __locale_struct and
__locale_t, and bits/types/locale_t.h which defines locale_t as well
as the other two. None of *our* headers need __locale_t.h, but it
appears to me that libstdc++ could make use of it.
There are a lot of external uses of xlocale.h, but all the uses I
checked had an autoconf test or equivalent for its existence. It has
never been available from other C libraries, and it has always
contained a comment reading "This file is not standardized, don't rely
on it, it can go away without warning" so I think dropping it is
pretty safe.
I also took the opportunity to clean up comments in various public
header files that still talk about the *_l interfaces as though they
were completely nonstandard. There are a few of them, notably the
strtoX_l and wcstoX_l families, that haven't been standardized, but
the bulk are in POSIX.1-2008.
* locale/xlocale.h: Rename to...
* locale/bits/types/__locale_t.h: ...here. Adjust commentary.
Only define struct __locale_struct and __locale_t, not locale_t.
* locale/bits/types/locale_t.h: New file; define locale_t here.
* locale/Makefile (headers): Update to match.
* include/xlocale.h: Delete wrapper.
* include/bits/types/__locale_t.h: New wrapper.
* include/bits/types/locale_t.h: New wrapper.
* ctype/ctype.h, include/printf.h, include/time.h
* locale/langinfo.h, locale/locale.h, stdlib/monetary.h
* stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
* wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
Correct outdated comments regarding the standardization status of
the functions that take locale_t arguments.
* stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
* stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
* sysdeps/ieee754/ldbl-128ibm/strtold_l.c
* sysdeps/ieee754/ldbl-64-128/strtold_l.c
* wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
* wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
Don't include xlocale.h. If necessary, include locale.h instead.
* stdlib/strtold_l.c: Unconditionally include wchar.h.
2017-06-09 16:02:06 +00:00
|
|
|
|
|
2017-07-05 13:03:00 +00:00
|
|
|
|
* New wrappers for the Linux-specific system calls preadv2 and pwritev2.
|
|
|
|
|
These are extended versions of preadv and pwritev, respectively, taking an
|
|
|
|
|
additional flags argument. The set of supported flags depends on the
|
|
|
|
|
running kernel; full support currently requires kernel 4.7 or later.
|
Factor out shared definitions from bits/signum.h.
Many of the things defined by bits/signum.h are invariant across all
supported operating systems. This patch factors out all of them to a
new header bits/signum-generic.h, which each bits/signum.h will include
and then override whichever things need adjustment. Normally that will
mean, at most, adding or changing a few signal numbers.
A user-visible side effect is that the obsolete signal constant SIGUNUSED
(which is an alias for SIGSYS on all platforms that define it) is no
longer exposed by any version of bits/signum.h.
A side effect only relevant to glibc hackers is that _NSIG is now defined
in terms of __SIGRTMAX, instead of the other way around. This is because
__SIGRTMAX varies from platform to platform, but _NSIG==__SIGRTMAX+1 is
true universally. If your platform doesn't support realtime signals,
leave __SIGRTMAX equal to __SIGRTMIN.
I also added a Linux-specific test to make sure that our signal constants
match the ones in <asm/signal.h>, since we can't use that header (it's
not even vaguely namespace-clean).
* bits/signum-generic.h: Renamed from bits/signum.h.
Add proper multiple include guard and misuse check.
Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
Move definition of SIGIO to "archaic names for compatibility" section.
* bits/signum.h: New file which just includes bits/signum-generic.h.
* sysdeps/unix/bsd/bits/signum.h
* sysdeps/unix/sysv/linux/bits/signum.h
* sysdeps/unix/sysv/linux/alpha/bits/signum.h
* sysdeps/unix/sysv/linux/hppa/bits/signum.h
* sysdeps/unix/sysv/linux/mips/bits/signum.h
* sysdeps/unix/sysv/linux/sparc/bits/signum.h
Just include <bits/signum-generic.h> and then add or adjust
signal constants. Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
* signal/Makefile: Install bits/signum-generic.h.
* signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
* sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
universal. Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
* sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
* sysdeps/unix/sysv/linux/Makefile: Run it.
2017-06-03 20:22:24 +00:00
|
|
|
|
|
2017-07-05 13:03:00 +00:00
|
|
|
|
* posix_spawnattr_setflags now supports the flag POSIX_SPAWN_SETSID, to
|
|
|
|
|
create a new session ID for the spawned process. This feature is
|
|
|
|
|
scheduled to be added to the next major revision of POSIX; for the time
|
|
|
|
|
being, it is available under _GNU_SOURCE.
|
2017-05-30 21:26:19 +00:00
|
|
|
|
|
2017-07-05 13:03:00 +00:00
|
|
|
|
* errno.h is now safe to use from C-preprocessed assembly language on all
|
|
|
|
|
supported operating systems. In this context, it will only define the
|
|
|
|
|
Exxxx constants, as preprocessor macros expanding to integer literals.
|
2017-06-06 07:41:56 +00:00
|
|
|
|
|
2017-07-05 13:03:00 +00:00
|
|
|
|
* On ia64, powerpc64le, x86-32, and x86-64, the math library now implements
|
2017-07-05 17:43:58 +00:00
|
|
|
|
128-bit floating point as defined by ISO/IEC/IEEE 60559:2011 (IEEE
|
|
|
|
|
754-2008) and ISO/IEC TS 18661-3:2015. Contributed by Paul E. Murphy,
|
|
|
|
|
Gabriel F. T. Gomes, Tulio Magno Quites Machado Filho, and Joseph Myers.
|
2017-06-15 09:42:54 +00:00
|
|
|
|
|
2017-07-05 13:03:00 +00:00
|
|
|
|
To compile programs that use this feature, the compiler must support
|
2017-07-05 17:43:58 +00:00
|
|
|
|
128-bit floating point with the type name _Float128 (as defined by TS
|
|
|
|
|
18661-3) or __float128 (the nonstandard name used by GCC for C++, and for
|
|
|
|
|
C prior to version 7). _GNU_SOURCE or __STDC_WANT_IEC_60559_TYPES_EXT__
|
|
|
|
|
must be defined to make the new interfaces visible.
|
|
|
|
|
|
|
|
|
|
The new functions and macros correspond to those present for other
|
|
|
|
|
floating-point types (except for a few obsolescent interfaces not
|
|
|
|
|
supported for the new type), with F128 or f128 suffixes; for example,
|
|
|
|
|
strtof128, HUGE_VAL_F128 and cosf128. Following TS 18661-3, there are no
|
|
|
|
|
printf or scanf formats for the new type; the strfromf128 and strtof128
|
|
|
|
|
interfaces should be used instead.
|
2016-08-09 21:48:54 +00:00
|
|
|
|
|
2017-07-05 13:03:00 +00:00
|
|
|
|
Deprecated and removed features, and other changes affecting compatibility:
|
|
|
|
|
|
|
|
|
|
* The synchronization that pthread_spin_unlock performs has been changed to
|
|
|
|
|
now be equivalent to a C11 atomic store with release memory order to the
|
|
|
|
|
spin lock's memory location. Previously, several (but not all)
|
|
|
|
|
architectures used stronger synchronization (e.g., containing what is
|
|
|
|
|
often called a full barrier). This change can improve performance, but
|
|
|
|
|
may affect odd fringe uses of spin locks that depend on the previous
|
|
|
|
|
behavior (e.g., using spin locks as atomic variables to try to implement
|
|
|
|
|
Dekker's mutual exclusion algorithm).
|
|
|
|
|
|
|
|
|
|
* The port to Native Client running on ARMv7-A (--host=arm-nacl) has been
|
|
|
|
|
removed.
|
|
|
|
|
|
|
|
|
|
* Sun RPC is deprecated. The rpcgen program, librpcsvc, and Sun RPC headers
|
2017-07-05 13:46:57 +00:00
|
|
|
|
will only be built and installed when the GNU C Library is configured with
|
2017-07-05 13:03:00 +00:00
|
|
|
|
--enable-obsolete-rpc. This allows alternative RPC implementations, such
|
|
|
|
|
as TIRPC or rpcsvc-proto, to be used.
|
|
|
|
|
|
|
|
|
|
* The NIS(+) name service modules, libnss_nis, libnss_nisplus, and
|
|
|
|
|
libnss_compat, are deprecated, and will not be built or installed by
|
|
|
|
|
default.
|
|
|
|
|
|
|
|
|
|
The NIS(+) support library, libnsl, is also 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
|
2017-07-05 13:46:57 +00:00
|
|
|
|
library. (In particular, the GNU C Library has never required programs
|
|
|
|
|
that use 'gethostbyname' to be linked with libnsl.)
|
2017-07-05 13:03:00 +00:00
|
|
|
|
|
|
|
|
|
Replacement implementations based on TIRPC, which additionally support
|
|
|
|
|
IPv6, are available from <https://github.com/thkukuk/>. The configure
|
|
|
|
|
option --enable-obsolete-nsl will cause libnsl's headers, and the NIS(+)
|
|
|
|
|
name service modules, to be built and installed.
|
|
|
|
|
|
|
|
|
|
* 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.)
|
|
|
|
|
|
|
|
|
|
* res_mkquery and res_nmkquery no longer support the IQUERY opcode. DNS
|
|
|
|
|
servers have not supported this opcode for a long time.
|
2017-06-30 08:43:33 +00:00
|
|
|
|
|
2017-06-30 09:31:41 +00:00
|
|
|
|
* The _res_opcodes variable has been removed from libresolv. It had been
|
|
|
|
|
exported by accident.
|
|
|
|
|
|
2017-07-05 13:03:00 +00:00
|
|
|
|
* <string.h> no longer includes inline versions of any string functions,
|
|
|
|
|
as this kind of optimization is better done by the compiler. The macros
|
|
|
|
|
__USE_STRING_INLINES and __NO_STRING_INLINES no longer have any effect.
|
|
|
|
|
|
|
|
|
|
* The nonstandard header <xlocale.h> has been removed. Most programs should
|
|
|
|
|
use <locale.h> instead. If you have a specific need for the definition of
|
|
|
|
|
locale_t with no other declarations, please contact
|
|
|
|
|
libc-alpha@sourceware.org and explain.
|
|
|
|
|
|
|
|
|
|
* The obsolete header <sys/ultrasound.h> has been removed.
|
|
|
|
|
|
|
|
|
|
* The obsolete signal constant SIGUNUSED is no longer defined by <signal.h>.
|
|
|
|
|
|
|
|
|
|
* The obsolete function cfree has been removed. Applications should use
|
|
|
|
|
free instead.
|
|
|
|
|
|
|
|
|
|
* The stack_t type no longer has the name struct sigaltstack. This changes
|
|
|
|
|
the C++ name mangling for interfaces involving this type.
|
|
|
|
|
|
|
|
|
|
* The ucontext_t type no longer has the name struct ucontext. This changes
|
|
|
|
|
the C++ name mangling for interfaces involving this type.
|
|
|
|
|
|
|
|
|
|
* On M68k GNU/Linux and MIPS GNU/Linux, the fpregset_t type no longer has
|
|
|
|
|
the name struct fpregset. On Nios II GNU/Linux, the mcontext_t type no
|
|
|
|
|
longer has the name struct mcontext. On SPARC GNU/Linux, the struct
|
|
|
|
|
mc_fq, struct rwindow, struct fpq and struct fq types are no longer
|
|
|
|
|
defined in sys/ucontext.h, the mc_fpu_t type no longer has the name struct
|
|
|
|
|
mc_fpu, the gwindows_t type no longer has the name struct gwindows and the
|
|
|
|
|
fpregset_t type no longer has the name struct fpu. This changes the C++
|
|
|
|
|
name mangling for interfaces involving those types.
|
|
|
|
|
|
|
|
|
|
* On S/390 GNU/Linux, the constants defined by <sys/ptrace.h> have been
|
|
|
|
|
synced with the kernel:
|
|
|
|
|
|
|
|
|
|
- PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS and PTRACE_SETFPREGS
|
|
|
|
|
are not supported on this architecture and have been removed.
|
|
|
|
|
|
|
|
|
|
- PTRACE_SINGLEBLOCK, PTRACE_SECCOMP_GET_FILTER, PTRACE_PEEKUSR_AREA,
|
|
|
|
|
PTRACE_POKEUSR_AREA, PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE,
|
|
|
|
|
PTRACE_DISABLE_TE and PTRACE_TE_ABORT_RAND have been added.
|
|
|
|
|
|
|
|
|
|
Programs that assume the GET/SETREGS ptrace requests are universally
|
|
|
|
|
available will now fail to build, instead of malfunctioning at runtime.
|
|
|
|
|
|
|
|
|
|
Changes to build and runtime requirements:
|
|
|
|
|
|
|
|
|
|
* Linux kernel 3.2 or later is required at runtime, on all architectures
|
|
|
|
|
supported by that kernel. (This is a change from version 2.25 only for
|
|
|
|
|
x86-32 and x86-64.)
|
|
|
|
|
|
2017-07-05 13:46:57 +00:00
|
|
|
|
* GNU Binutils 2.25 or later is now required to build the GNU C Library.
|
2017-07-05 13:03:00 +00:00
|
|
|
|
|
2017-07-05 13:46:57 +00:00
|
|
|
|
* On most architectures, GCC 4.9 or later is required to build the GNU C
|
|
|
|
|
Library. On powerpc64le, GCC 6.2 or later is required.
|
2017-07-05 13:03:00 +00:00
|
|
|
|
|
|
|
|
|
Older GCC versions and non-GNU compilers are still supported when
|
2017-07-05 13:46:57 +00:00
|
|
|
|
compiling programs that use the GNU C Library. (We do not know exactly
|
|
|
|
|
how old, and some GNU extensions to C may be _de facto_ required. If you
|
|
|
|
|
are interested in helping us make this statement less vague, please
|
2017-07-05 13:03:00 +00:00
|
|
|
|
contact libc-alpha@sourceware.org.)
|
2017-07-03 19:06:23 +00:00
|
|
|
|
|
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,
|
2017-08-02 02:37:16 +00:00
|
|
|
|
to avoid fragmentation-based spoofing attacks (CVE-2017-12132).
|
|
|
|
|
|
|
|
|
|
* LD_LIBRARY_PATH is now ignored in binaries running in privileged AT_SECURE
|
|
|
|
|
mode to guard against local privilege escalation attacks (CVE-2017-1000366).
|
|
|
|
|
|
|
|
|
|
* Avoid printing a backtrace from the __stack_chk_fail function since it is
|
|
|
|
|
called on a corrupt stack and a backtrace is unreliable on a corrupt stack
|
|
|
|
|
(CVE-2010-3192).
|
|
|
|
|
|
|
|
|
|
* A use-after-free vulnerability in clntudp_call in the Sun RPC system has been
|
|
|
|
|
fixed (CVE-2017-12133).
|
2017-02-05 15:57:52 +00:00
|
|
|
|
|
|
|
|
|
The following bugs are resolved with this release:
|
|
|
|
|
|
2017-08-02 02:56:45 +00:00
|
|
|
|
[984] network: Respond to changed resolv.conf in gethostbyname
|
|
|
|
|
[5010] network: sunrpc service cleanup causes unwanted port mapper traffic
|
|
|
|
|
[12068] localedata: sc_IT: misspelled yesexpr/day/abday/mon/abmon/date_fmt
|
|
|
|
|
fields
|
|
|
|
|
[12189] libc: __stack_chk_fail should not attempt a backtrace
|
|
|
|
|
(CVE-2010-3192)
|
|
|
|
|
[14096] time: Race condition on timezone/tst-timezone.out
|
|
|
|
|
[14172] localedata: az_IR: new locale
|
|
|
|
|
[14995] build: glibc fails to build if gold is the default linker, even if
|
|
|
|
|
ld.bfd is available
|
|
|
|
|
[15998] build: [powerpc] Set arch_minimum_kernel for powerpc LE
|
|
|
|
|
[16637] network: inet_pton function is accepting IPv6 with bad format
|
|
|
|
|
[16640] string: string/strtok.c: undefined behaviour inconsistent between
|
|
|
|
|
x86 and other generic code
|
|
|
|
|
[16875] localedata: ko_KR: fix lang_name
|
|
|
|
|
[17225] localedata: ar_SY: localized month names for May and June are
|
|
|
|
|
incorrect
|
|
|
|
|
[17297] localedata: da_DK: wrong date_fmt string
|
|
|
|
|
[18907] stdio: Incorrect order of __wur __THROW in <printf.h>
|
|
|
|
|
[18934] localedata: hu_HU: collate: fix multiple bugs and add tests
|
|
|
|
|
[18988] nptl: pthread wastes memory with mlockall(MCL_FUTURE)
|
|
|
|
|
[19066] localedata: ar_SA abbreviated day and month names are in English
|
|
|
|
|
[19569] network: resolv: Support an arbitrary number of search domains
|
|
|
|
|
[19570] network: Implement random DNS server selection in the stub
|
|
|
|
|
resolver
|
|
|
|
|
[19838] locale: localedef fails on PA-RISC
|
|
|
|
|
[19919] localedata: iso14651_t1_common: Correct the Malayalam sorting
|
|
|
|
|
order of 0D36 and 0D37
|
|
|
|
|
[19922] localedata: iso14651_t1_common: Define collation for Malayalam
|
|
|
|
|
chillu characters
|
|
|
|
|
[20098] libc: FAIL: debug/backtrace-tst on hppa
|
|
|
|
|
[20257] network: sunrpc: clntudp_call does not enforce timeout when
|
|
|
|
|
receiving data
|
|
|
|
|
[20275] localedata: locale day/abday/mon/abmon should not have trailing
|
|
|
|
|
whitespace
|
|
|
|
|
[20313] localedata: Update locale data to Unicode 9.0
|
|
|
|
|
[20424] manual: Document how to provide a malloc replacement
|
|
|
|
|
[20496] localedata: agr_PE: new language locale Awajún / Aguaruna (agr)
|
|
|
|
|
for Peru
|
|
|
|
|
[20686] locale: Add el_GR@euro to SUPPORTED.
|
|
|
|
|
[20831] dynamic-link: _dl_map_segments does not test for __mprotect
|
|
|
|
|
failures consistently
|
|
|
|
|
[21015] dynamic-link: Document and fix --enable-bind-now
|
|
|
|
|
[21016] nptl: pthread_cond support is broken on hppa
|
|
|
|
|
[21029] libc: glibc-2.23 (and later) fails to compile with -fno-omit-
|
|
|
|
|
frame-pointer on i386
|
|
|
|
|
[21049] libc: segfault in longjmp_chk() due to clobbered processor
|
|
|
|
|
register
|
|
|
|
|
[21075] libc: unused assigment to %g4 in sparc/sparc{64,32}/clone.S
|
|
|
|
|
[21088] libc: Build fails with --enable-static-nss
|
|
|
|
|
[21094] math: cosf(1.57079697) has 3 ulp error on targets where the
|
|
|
|
|
generic c code is used
|
|
|
|
|
[21109] libc: Tunables broken on big-endian
|
|
|
|
|
[21112] math: powf has large ulp errors with base close to 1 and exponent
|
|
|
|
|
around 4000
|
|
|
|
|
[21115] network: sunrpc: Use-after-free in error path in clntudp_call
|
|
|
|
|
(CVE-2017-12133)
|
|
|
|
|
[21120] malloc: glibc malloc is incompatible with GCC 7
|
|
|
|
|
[21130] math: Incorrect return from y0l (-inf) and y1l (-inf) when linking
|
|
|
|
|
with -lieee
|
|
|
|
|
[21134] math: Exception (divide by zero) not set for y0/y1 (0.0) and y0/y1
|
|
|
|
|
(-0.0) when linking with -lieee
|
|
|
|
|
[21171] math: log10, log2 and lgamma return incorrect results
|
|
|
|
|
[21179] libc: handle R_SPARC_DISP64 and R_SPARC_REGISTER relocs
|
|
|
|
|
[21182] libc: __memchr_sse2: regression in glibc-2.25 on i686
|
|
|
|
|
[21207] localedata: ce_RU: update weekdays from CLDR
|
|
|
|
|
[21209] dynamic-link: LD_HWCAP_MASK read in setuid binaries
|
|
|
|
|
[21217] localedata: Update months from CLDR-31
|
|
|
|
|
[21232] libc: miss posix_fadvise64 on MIPS64 when static linking
|
|
|
|
|
[21243] libc: support_delete_temp_file should issue warning for failed
|
|
|
|
|
remove()
|
|
|
|
|
[21244] libc: support resolv_test_start() socket fd close should be
|
|
|
|
|
checked for errors.
|
|
|
|
|
[21253] libc: localedef randomly segfaults when using -fstack-check due to
|
|
|
|
|
new posix_spawn implementation
|
|
|
|
|
[21258] dynamic-link: Branch predication in _dl_runtime_resolve_avx512_opt
|
|
|
|
|
leads to lower CPU frequency
|
|
|
|
|
[21259] libc: [alpha] termios.h missing IXANY for POSIX
|
|
|
|
|
[21261] libc: [sparc64] bits/setjmp.h namespace
|
|
|
|
|
[21267] network: [mips] bits/socket.h IOC* namespace
|
|
|
|
|
[21268] libc: [alpha] termios.h NL2, NL3 namespace
|
|
|
|
|
[21270] libc: mmap64 silently truncates large offset values
|
|
|
|
|
[21275] libc: posix_spawn always crashes on ia64 now
|
|
|
|
|
[21277] libc: [alpha] termios.h missing IUCLC for UNIX98 and older
|
|
|
|
|
[21280] math: [powerpc] logbl for POWER7 return incorrect results
|
|
|
|
|
[21289] libc: Incorrect declaration for 32-bit platforms with
|
|
|
|
|
_FILE_OFFSET_BITS=64 causes build error
|
|
|
|
|
[21295] network: GETAI(AF_UNSPEC) drops IPv6 addresses if nss module does
|
|
|
|
|
not support gethostbyname4_r
|
|
|
|
|
[21298] nptl: rwlock can deadlock on frequent reader/writer phase
|
|
|
|
|
switching
|
|
|
|
|
[21338] malloc: mallopt M_ARENA_MAX doesn't set the maximum number of
|
|
|
|
|
arenas
|
|
|
|
|
[21340] libc: Support POSIX_SPAWN_SETSID
|
|
|
|
|
[21357] libc: unwind-dw2-fde deadlock when using AddressSanitizer
|
|
|
|
|
[21359] network: ns_name_pack needs additional byte in destination buffer
|
|
|
|
|
[21361] network: resolv: Reduce advertised EDNS0 buffer size to guard
|
|
|
|
|
against fragmentation attacks (CVE-2017-12132)
|
|
|
|
|
[21369] network: resolv: Remove EDNS fallback
|
|
|
|
|
[21371] libc: Missing timespec definition when compiled with _XOPEN_SOURCE
|
|
|
|
|
and _POSIX_C_SOURCE
|
|
|
|
|
[21386] nptl: Assertion in fork for distinct parent PID is incorrect
|
|
|
|
|
[21391] dynamic-link: x86: Set dl_platform and dl_hwcap from CPU features
|
|
|
|
|
[21393] stdio: Missing dup3 error check in freopen, freopen64
|
|
|
|
|
[21396] libc: Use AVX2 memcpy/memset on Skylake server
|
|
|
|
|
[21399] localedata: Bad description for U00EC in
|
|
|
|
|
localedata/charmaps/CP1254
|
|
|
|
|
[21411] malloc: realloc documentation error
|
|
|
|
|
[21426] network: sys/socket.h uio.h namespace
|
|
|
|
|
[21428] libc: [aarch64] tst-backtrace5 testsuite failure
|
|
|
|
|
[21445] libc: signal.h bsd_signal namespace
|
|
|
|
|
[21455] network: Network headers stdint.h namespace
|
|
|
|
|
[21474] network: resolv: res_init does not use RES_DFLRETRY (2) but 4 for
|
|
|
|
|
retry value
|
|
|
|
|
[21475] network: resolv: Overlong search path is truncated mid-label
|
|
|
|
|
[21511] libc: sigstack namespace
|
|
|
|
|
[21512] libc: clone() ends up calling exit_group() through _exit() wrapper
|
|
|
|
|
[21514] libc: sysdeps/unix/sysv/linux/sys/syscall.h:31:27: fatal error:
|
|
|
|
|
bits/syscall.h: No such file or directory
|
|
|
|
|
[21517] libc: struct sigaltstack namespace
|
|
|
|
|
[21528] dynamic-link: Duplicated minimal strtoul implementations in ld.so
|
|
|
|
|
[21533] localedata: Update locale data to Unicode 10.0
|
|
|
|
|
[21537] libc:
|
|
|
|
|
../sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:44: Error:
|
|
|
|
|
junk at end of line, first unrecognized character is `@'
|
|
|
|
|
[21538] libc: SIG_HOLD missing for XPG4
|
|
|
|
|
[21539] libc: S390: Mismatch between kernel and glibc ptrace.h with
|
|
|
|
|
request 12: PTRACE_SINGLEBLOCK vs PTRACE_GETREGS.
|
|
|
|
|
[21542] libc: Use conservative default for sysconf (_SC_NPROCESSORS_ONLN)
|
|
|
|
|
[21543] libc: sigevent namespace
|
|
|
|
|
[21548] libc: [mips] get/set/make/swap context for MIPS O32 assume wrong
|
|
|
|
|
size for general purpose registers in mcontext_t structure
|
|
|
|
|
[21550] libc: sigwait namespace
|
|
|
|
|
[21552] libc: XPG4 bsd_signal namespace
|
|
|
|
|
[21554] libc: sigpause namespace
|
|
|
|
|
[21560] libc: sys/wait.h signal.h namespace
|
|
|
|
|
[21561] libc: waitid namespace
|
|
|
|
|
[21573] nptl: GCC 7: /usr/bin/install: cannot remove
|
|
|
|
|
'/usr/include/stdlib.h': Permission denied
|
|
|
|
|
[21575] libc: sys/wait.h missing struct rusage definition
|
|
|
|
|
[21584] libc: sigaltstack etc namespace
|
|
|
|
|
[21597] libc: siginterrupt namespace
|
|
|
|
|
[21607] math: hppa: FAIL: math/test-tgmath
|
|
|
|
|
[21609] dynamic-link: Incomplete workaround for GCC __tls_get_addr ABI
|
|
|
|
|
issue on x86-64
|
|
|
|
|
[21622] libc: [tile] missing SA_* for POSIX.1:2008
|
|
|
|
|
[21624] dynamic-link: ld.so: Unsafe alloca allows local attackers to alias
|
|
|
|
|
stack and heap (CVE-2017-1000366)
|
|
|
|
|
[21625] libc: wait3 namespace
|
|
|
|
|
[21654] nss: Incorrect pointer alignment in NSS group merge result
|
|
|
|
|
construction
|
|
|
|
|
[21657] network: Parse interface zone id for node-local multicast
|
|
|
|
|
[21662] string: memcmp-avx2-movbe.S lacks saturating subtraction for
|
|
|
|
|
between_2_3
|
|
|
|
|
[21666] libc: .symver is used on common symbol
|
|
|
|
|
[21668] network: resolv: res_init cross-thread broadcast introduces race
|
|
|
|
|
conditions
|
|
|
|
|
[21687] math: tgmath.h totalorder, totalordermag return type
|
|
|
|
|
[21694] locale: Current Glibc Locale Does Not Support Tok-Pisin and Fiji
|
|
|
|
|
Hindi Locale
|
|
|
|
|
[21696] libc: Incorrect assumption of of __cpu_mask in
|
|
|
|
|
posix/sched_cpucount.c
|
|
|
|
|
[21697] libc: sysdeps/posix/spawni.c: 2 * suspicious condition ?
|
|
|
|
|
[21706] localedata: yesstr and nostr are missing for Breton [LC_MESSAGES]
|
|
|
|
|
locale
|
|
|
|
|
[21707] math: ppc64le: Invalid IFUNC resolver from libgcc calls getauxval,
|
|
|
|
|
leading to relocation crash
|
|
|
|
|
[21709] libc: resolv_conf.c:552: update_from_conf: Assertion
|
|
|
|
|
`resolv_conf_matches (resp, conf)' failed.
|
|
|
|
|
[21710] localedata: Added Samoan language locale for Samoa
|
|
|
|
|
[21711] localedata: Pashto yesstr/nostr locale are missing
|
|
|
|
|
[21715] nptl: sysdeps/nptl/bits/pthreadtypes.h: typedef guard
|
|
|
|
|
__have_pthread_attr_t can cause redefinition of typedef ‘pthread_attr_t’
|
|
|
|
|
[21721] localedata: Incorrect Full Weekday names for ks_IN@devanagari
|
|
|
|
|
[21723] localedata: yesstr/nostr missing for Chinese language locale
|
|
|
|
|
[21724] localedata: yesstr and nostr are missing for Xhosa [LC_MESSAGES]
|
|
|
|
|
locale
|
|
|
|
|
[21727] localedata: yesstr and nostr are missing for Tsonga [LC_MESSAGES]
|
|
|
|
|
locale
|
|
|
|
|
[21728] localedata: New Locale for Tongan language
|
|
|
|
|
[21729] localedata: incorrect LC_NAME fields for hi_IN
|
|
|
|
|
[21733] localedata: yesstr and nostr are missing for zh_HK
|
|
|
|
|
[21734] localedata: Missing yesstr and nostr are for kw_GB
|
|
|
|
|
[21738] libc: misc/tst-preadvwritev2 and misc/tst-preadvwritev64v2 fail
|
|
|
|
|
[21741] libc: Undefined __memmove_chk_XXX and __memset_chk_XXX in libc.a
|
|
|
|
|
[21742] libc: _dl_num_cache_relocations is undefined in libc.a
|
|
|
|
|
[21743] localedata: ks_IN@devanagari: abday strings mismatch the day
|
|
|
|
|
strings
|
|
|
|
|
[21744] libc: Tests failing on --enable-tunables --enable-stack-
|
|
|
|
|
protector=all
|
|
|
|
|
[21749] localedata: Wrong abbreviated day name (“abday”) for
|
|
|
|
|
ar_JO/ar_LB/ar_SY
|
|
|
|
|
[21756] localedata: missing yesstr, nostr for nds_DE and nds_NL
|
|
|
|
|
[21757] localedata: missing yesstr, nostr for pap_AW and pap_CW
|
|
|
|
|
[21759] localedata: missing yesstr and nostr for Tigrinya
|
|
|
|
|
[21760] localedata: Fix LC_MESSAGES and LC_ADDRESS for anp_IN
|
|
|
|
|
[21766] localedata: Wrong LC_MESSAGES for om_ET Locale
|
|
|
|
|
[21767] localedata: Missing Bislama locales
|
|
|
|
|
[21768] localedata: Missing yesstr and nostr for aa_ET
|
|
|
|
|
[21770] localedata: Missing Field in li_NL
|
|
|
|
|
[21778] nptl: Robust mutex may deadlock
|
|
|
|
|
[21779] libc: MicroBlaze segfaults when loading libpthread
|
|
|
|
|
[21783] localedata: Fix int_select international_call_prefixes
|
|
|
|
|
[21784] localedata: Inconsistency in country_isbn
|
|
|
|
|
[21788] localedata: Missing Country Postal Abbreviations
|
|
|
|
|
[21794] localedata: Added-country_isbn-for-Italy
|
|
|
|
|
[21795] localedata: Add/Fix country_isbn for France
|
|
|
|
|
[21796] localedata: Added country_isbn for Republic of Korea
|
|
|
|
|
[21797] localedata: Fix inconsistency in country_isbn and missing prefixes
|
|
|
|
|
[21799] localedata: Added int_select international_call_prefixes
|
|
|
|
|
[21801] localedata: Added int_select international_call_prefixes
|
|
|
|
|
[21804] nptl: Double semicolon in thread-shared-types.h
|
|
|
|
|
[21807] localedata: LC_ADDRESS fix for pap_CW
|
|
|
|
|
[21808] localedata: Fix LC_ADDRESS for pap_AW
|
|
|
|
|
[21821] localedata: Added country_name in mai_IN
|
|
|
|
|
[21822] localedata: Fix LC_TIME for mai_IN
|
|
|
|
|
[21823] localedata: missing yesstr, nostr for sa_IN
|
|
|
|
|
[21825] localedata: Fix name_mrs for mag_IN
|
|
|
|
|
[21828] localedata: 2.26 changelog should mention user visible changes
|
|
|
|
|
with unicode 9.0
|
|
|
|
|
[21835] localedata: Added Maithili language locale for Nepal
|
|
|
|
|
[21838] localedata: Removed redundant data for the_NP
|
|
|
|
|
[21839] localedata: Fix LC_MONETARY for ta_LK
|
|
|
|
|
[21844] localedata: Fix Latin characters and Months Sequence.
|
|
|
|
|
[21848] localedata: Fix mai_NP Title Name
|
2017-02-05 15:57:52 +00:00
|
|
|
|
|
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:
|
|
|
|
|
|
2020-11-02 07:53:13 +00:00
|
|
|
|
[4099] stdio: Overly aggressive caching by stream i/o functions.
|
2017-02-05 13:15:21 +00:00
|
|
|
|
[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'
|
2020-02-17 15:49:40 +00:00
|
|
|
|
Visit <https://sites.google.com/site/x32abi/> for more x32 ABI info.
|
2012-05-30 17:34:33 +00:00
|
|
|
|
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:
|
|
|
|
|
|
2021-02-23 12:35:34 +00:00
|
|
|
|
2447, 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
|
2010-04-09 03:28:05 +00:00
|
|
|
|
|
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
|
|
|
|
|
|
Prefer https to http for gnu.org and fsf.org URLs
Also, change sources.redhat.com to sourceware.org.
This patch was automatically generated by running the following shell
script, which uses GNU sed, and which avoids modifying files imported
from upstream:
sed -ri '
s,(http|ftp)(://(.*\.)?(gnu|fsf|sourceware)\.org($|[^.]|\.[^a-z])),https\2,g
s,(http|ftp)(://(.*\.)?)sources\.redhat\.com($|[^.]|\.[^a-z]),https\2sourceware.org\4,g
' \
$(find $(git ls-files) -prune -type f \
! -name '*.po' \
! -name 'ChangeLog*' \
! -path COPYING ! -path COPYING.LIB \
! -path manual/fdl-1.3.texi ! -path manual/lgpl-2.1.texi \
! -path manual/texinfo.tex ! -path scripts/config.guess \
! -path scripts/config.sub ! -path scripts/install-sh \
! -path scripts/mkinstalldirs ! -path scripts/move-if-change \
! -path INSTALL ! -path locale/programs/charmap-kw.h \
! -path po/libc.pot ! -path sysdeps/gnu/errlist.c \
! '(' -name configure \
-execdir test -f configure.ac -o -f configure.in ';' ')' \
! '(' -name preconfigure \
-execdir test -f preconfigure.ac ';' ')' \
-print)
and then by running 'make dist-prepare' to regenerate files built
from the altered files, and then executing the following to cleanup:
chmod a+x sysdeps/unix/sysv/linux/riscv/configure
# Omit irrelevant whitespace and comment-only changes,
# perhaps from a slightly-different Autoconf version.
git checkout -f \
sysdeps/csky/configure \
sysdeps/hppa/configure \
sysdeps/riscv/configure \
sysdeps/unix/sysv/linux/csky/configure
# Omit changes that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/powerpc/powerpc64/ppc-mcount.S: trailing lines
git checkout -f \
sysdeps/powerpc/powerpc64/ppc-mcount.S \
sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
# Omit change that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: last line does not end in newline
git checkout -f sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S
2019-09-07 05:40:42 +00:00
|
|
|
|
Visit <https://sourceware.org/bugzilla/> for the details of each bug.
|
2005-11-04 01:52:16 +00:00
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
Prefer https to http for gnu.org and fsf.org URLs
Also, change sources.redhat.com to sourceware.org.
This patch was automatically generated by running the following shell
script, which uses GNU sed, and which avoids modifying files imported
from upstream:
sed -ri '
s,(http|ftp)(://(.*\.)?(gnu|fsf|sourceware)\.org($|[^.]|\.[^a-z])),https\2,g
s,(http|ftp)(://(.*\.)?)sources\.redhat\.com($|[^.]|\.[^a-z]),https\2sourceware.org\4,g
' \
$(find $(git ls-files) -prune -type f \
! -name '*.po' \
! -name 'ChangeLog*' \
! -path COPYING ! -path COPYING.LIB \
! -path manual/fdl-1.3.texi ! -path manual/lgpl-2.1.texi \
! -path manual/texinfo.tex ! -path scripts/config.guess \
! -path scripts/config.sub ! -path scripts/install-sh \
! -path scripts/mkinstalldirs ! -path scripts/move-if-change \
! -path INSTALL ! -path locale/programs/charmap-kw.h \
! -path po/libc.pot ! -path sysdeps/gnu/errlist.c \
! '(' -name configure \
-execdir test -f configure.ac -o -f configure.in ';' ')' \
! '(' -name preconfigure \
-execdir test -f preconfigure.ac ';' ')' \
-print)
and then by running 'make dist-prepare' to regenerate files built
from the altered files, and then executing the following to cleanup:
chmod a+x sysdeps/unix/sysv/linux/riscv/configure
# Omit irrelevant whitespace and comment-only changes,
# perhaps from a slightly-different Autoconf version.
git checkout -f \
sysdeps/csky/configure \
sysdeps/hppa/configure \
sysdeps/riscv/configure \
sysdeps/unix/sysv/linux/csky/configure
# Omit changes that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/powerpc/powerpc64/ppc-mcount.S: trailing lines
git checkout -f \
sysdeps/powerpc/powerpc64/ppc-mcount.S \
sysdeps/unix/sysv/linux/s390/s390-64/syscall.S
# Omit change that caused a pre-commit check to fail like this:
# remote: *** error: sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: last line does not end in newline
git checkout -f sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S
2019-09-07 05:40:42 +00:00
|
|
|
|
Visit <https://sourceware.org/bugzilla/> for the details of each bug.
|
2005-04-06 03:07:37 +00:00
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
2021-01-02 19:47:54 +00:00
|
|
|
|
Copying conditions:
|
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
|
2020-02-07 02:27:04 +00:00
|
|
|
|
fill-column: 72
|
2001-10-31 09:32:37 +00:00
|
|
|
|
End:
|